summaryrefslogtreecommitdiff
path: root/sampler
diff options
context:
space:
mode:
authorNikita Kalyazin <n.kalyazin@samsung.com>2013-11-08 10:15:39 +0400
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>2013-11-08 08:39:06 +0000
commit263d0af6cb0c368e64e3b53e446af88bf536fbae (patch)
tree217fa5cc5b1b4e5129e888a0342e68219ed56464 /sampler
parenta6711d43dc0f08430c152f0e1e04d4dc8455f2ab (diff)
downloadswap-modules-263d0af6cb0c368e64e3b53e446af88bf536fbae.tar.gz
swap-modules-263d0af6cb0c368e64e3b53e446af88bf536fbae.tar.bz2
swap-modules-263d0af6cb0c368e64e3b53e446af88bf536fbae.zip
[CLEAN] remove unnecessary Makefiles
Change-Id: I4c837bdd9885ee0465c34242ddc3191423c7315b Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Diffstat (limited to 'sampler')
-rw-r--r--sampler/Makefile8
-rw-r--r--sampler/Makefile.am23
2 files changed, 0 insertions, 31 deletions
diff --git a/sampler/Makefile b/sampler/Makefile
deleted file mode 100644
index 45b55411..00000000
--- a/sampler/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-KERNEL_OBJECTS := swap_sampler.o swap_sampler_module.o
-MODULE_NAME=sampler
-
-all:
- make ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KERNEL) SUBDIRS=$(TOP)/$(MODULE_NAME) extra_cflags=-I$(TOP) modules
-
-clean:
- @for f in $(KERNEL_OBJECTS) ; do rm $(TOP)/$(MODULE_NAME)/$$f ; done
diff --git a/sampler/Makefile.am b/sampler/Makefile.am
deleted file mode 100644
index 583dd167..00000000
--- a/sampler/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-board_opt = -DBOARD_@BOARD@
-target_kernel_src = @KERNEL@
-target_arch = @ARCH@
-module_dir = $(realpath $(top_srcdir)/src/modules/sampler)
-module_name = swap_sampler
-cross_compiler = $(subst gcc,,$(CC))
-
-inlude_opt = -I$(realpath $(top_srcdir)/src/modules/)
-extra_cflags = "$(inlude_opt) $(board_opt)"
-
-all-local:
- $(MAKE) CROSS_COMPILE=$(cross_compiler) ARCH=$(target_arch) extra_cflags=$(extra_cflags) \
- $(AM_MAKEFLAGS) -C $(target_kernel_src) M=$(module_dir) modules
-
- echo "generate data for version patching <$(OBJDUMP)><$(READELF)>"
- PATH=$(PATH) $(top_srcdir)/src/modules/driver/patchko.sh -g $(module_dir)/$(module_name).ko $(OBJDUMP) $(READELF)
-
-clean-local:
- $(MAKE) CROSS_COMPILE=$(cross_compiler) ARCH=$(target_arch) $(AM_MAKEFLAGS) -C $(target_kernel_src) M=$(module_dir) clean
-
-install-exec-local:
- install -m 644 $(module_dir)/$(module_name).ko $(prefix)
- install -m 644 $(module_dir)/$(module_name).ko.addr $(prefix)