aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-06 17:10:16 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-06 17:10:16 +0200
commitb9ff681e3ed5efc0f8f76ce75d89b2214a6e68c9 (patch)
tree124f397a5b42bca85cad84cb48a4e2b1a883818f /Makefile
parent86777e27fcb6870694cd166866a37360b7591f5f (diff)
downloadlinux-conf-perf-b9ff681e3ed5efc0f8f76ce75d89b2214a6e68c9.tar.gz
linux-conf-perf-b9ff681e3ed5efc0f8f76ce75d89b2214a6e68c9.tar.bz2
linux-conf-perf-b9ff681e3ed5efc0f8f76ce75d89b2214a6e68c9.zip
Separate initialisation
Initialisation now can be executed without loop it self.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5692342..c471c75 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,8 @@ help:
@echo " configuration."
@echo "deflinux - Executes 'make defconfig' in linux folder. This generates default"
@echo " linux configuration for architecture specified in conf.py"
+ @echo "initialize - Executes only initialization. Depending on configuration this"
+ @echo " can take various amount of time."
@echo "test - Executes boot and benchmark test. You should use this before"
@echo " target run. This target is for testing if initial kernel"
@echo " configuration, buildroot configuration and benchmark are"
@@ -38,6 +40,10 @@ mlinux:
deflinux:
ARCH=$(SRCARCH) $(MAKE) -C linux defconfig
+init: initialize
+initialize:
+ scripts/initialize.py
+
test: $(BUILDROOT_INITRAM) parse_kconfig
scripts/test.py
@@ -51,6 +57,7 @@ clean:
@$(MAKE) -C scripts/parse_kconfig clean
@$(MAKE) -C scripts/write_config clean
@if [ -e scripts/picosat-959/makefile ]; then $(MAKE) -C scripts/picosat-959 clean; fi
+ $(RM) .conf.mk
$(RM) -r build
$(RM) $(NBSCRIPT)
@@ -94,3 +101,10 @@ picosat: scripts/picosat-959/picosat
scripts/picosat-959/picosat:
cd scripts/picosat-959 && ./configure
$(MAKE) -C scripts/picosat-959
+
+#######################################
+
+$(PHASE_FILE): initialize
+$(SYMBOL_MAP_FILE): initialize
+$(RULES_FILE): initialize
+$(VARIABLE_COUNT_FILE): initialize