]> rtime.felk.cvut.cz Git - linux-conf-perf.git/blobdiff - Makefile
Move parse_kconfig invocation from .py to Makefile
[linux-conf-perf.git] / Makefile
index 70e1a7828ac17a766e402fdd81dd734afc35a7a5..c5e6507ce2c8f980564ff259033951fdc64d2b08 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -64,11 +64,14 @@ test: scripts/parse_kconfig/parse .stamp/initram_cyclictest
 
 HELP+="run         - Executes loop of kernel building, booting and benchmark execution.\n"
 .PHONY: run
-run: all
-       mkdir -p $(CONF_BUILD_FOLDER)
+run: all $(CONF_BUILD_FOLDER)/rules
        mkdir -p $(CONF_LOG_FOLDER)
        scripts/loop.py
 
+$(CONF_BUILD_FOLDER)/rules: .conf.mk $(CONF_LINUX_SOURCES)/Kconfig .target
+       mkdir -p $(dir $@)
+       scripts/parse_kconfig/parse -v -v --env .conf.mk $(CONF_LINUX_SOURCES)/Kconfig $(dir $@)
+
 .PHONY: evaluate
 evaluate:
        scripts/evaluate.py