aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-19 18:46:58 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-19 18:52:39 +0200
commit1795249adccda89f671ac243681beeb601b7c85a (patch)
treed9afa97ff32955aa24566fe47634bb3e390f6de0 /Makefile
parentec27706bdefc834d1470f3b7ad7e2e24b69b5c5f (diff)
downloadlinux-conf-perf-1795249adccda89f671ac243681beeb601b7c85a.tar.gz
linux-conf-perf-1795249adccda89f671ac243681beeb601b7c85a.tar.bz2
linux-conf-perf-1795249adccda89f671ac243681beeb601b7c85a.zip
Change makefile linux paths to configured Linux source path
Also remove unused buildroot targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 8c58f1f..d1bba9a 100644
--- a/Makefile
+++ b/Makefile
@@ -35,14 +35,18 @@ mbuildroot: buildroot/.config buildroot/system/skeleton/usr/bin/linux-conf-perf
$(MAKE) -C buildroot menuconfig
mlinux:
- ARCH=$(CONF_KERNEL_ARCH) $(MAKE) -C linux menuconfig
+ ARCH=$(CONF_KERNEL_ARCH) $(MAKE) -C $(CONF_LINUX_SOURCES) menuconfig
deflinux:
- ARCH=$(CONF_KERNEL_ARCH) $(MAKE) -C linux defconfig
+ ARCH=$(CONF_KERNEL_ARCH) $(MAKE) -C $(CONF_LINUX_SOURCES) defconfig
dot_config: allconfig
- cd linux && SRCARCH=$(CONF_KERNEL_ARCH) ARCH=$(CONF_KERNEL_ARCH) KERNELVERSION=$(CONF_KERNEL_ARCH) \
- ../scripts/allconfig/allconfig Kconfig .config ../$(CONF_DOT_CONFIG)
+ cd $(CONF_LINUX_SOURCES) && \
+ SRCARCH=$(CONF_KERNEL_ARCH) \
+ ARCH=$(CONF_KERNEL_ARCH) \
+ KERNELVERSION=$(CONF_KERNEL_ARCH) \
+ $(CONF_ABSROOT)/scripts/allconfig/allconfig \
+ Kconfig .config $(CONF_ABSROOT)/$(CONF_DOT_CONFIG)
init: initialize
initialize: all
@@ -82,10 +86,10 @@ clean_database:
distclean: clean distclean_linux distclean_buildroot clean_measure
clean_linux:
- @$(MAKE) -C linux clean
+ @$(MAKE) -C $(CONF_LINUX_SOURCES) clean
distclean_linux:
- @$(MAKE) -C linux distclean
+ @$(MAKE) -C $(CONF_LINUX_SOURCES) distclean
clean_buildroot:
@$(MAKE) -C buildroot clean
@@ -115,10 +119,3 @@ picosat:
cd scripts/picosat-959 && ./configure; fi
@if [ `$(MAKE) -C scripts/picosat-959 -q; echo $$?` != "0" ]; then \
$(MAKE) -C scripts/picosat-959; fi
-
-buildroot/.config:
- cp $(CONF_BUILDROOT_DEF_CONFIG) $@
-
-buildroot/system/skeleton/usr/bin/linux-conf-perf:
- cp $(CONF_BUILDROOT_INITSCRIPT) $@
- cat $(CONF_BUILDROOT_INITTAB_DIRECTIVE) >> buildroot/system/skeleton/etc/inittab