HELP=""
include .conf.mk
+include .stamp/empty
HELP+="all - Builds basic programs and prints message about next steps.\n"
.PHONY: all
-all: parse_kconfig write_config allconfig picosat initram_cyclictest
+all: parse_kconfig write_config allconfig picosat .stamp/initram_cyclictest
.PHONY: help
help:
HELP+=" configuration, buildroot configuration and benchmark are\n"
HELP+=" configured right.\n"
.PHONY: test
-test: parse_kconfig initram_cyclictest
+test: parse_kconfig .stamp/initram_cyclictest
scripts/test.py
HELP+="run - Executes loop of kernel building, booting and benchmark execution.\n"
@if ! $(MAKE) -C scripts/picosat-959 -q; then \
$(MAKE) -C scripts/picosat-959; fi
-.PHONY: initram_cyclictest
-initram_cyclictest:
+.stamp/initram_cyclictest: .conf.mk
$(MAKE) -C tests/cyclictest/root
+ touch $@
+
+.stamp/empty:
+ mkdir -p $(dir $@)
+ touch $@