aboutsummaryrefslogtreecommitdiff
path: root/tests/cyclictest/root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cyclictest/root/GNUmakefile')
-rw-r--r--tests/cyclictest/root/GNUmakefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/cyclictest/root/GNUmakefile b/tests/cyclictest/root/GNUmakefile
index 7ad6850..3b45403 100644
--- a/tests/cyclictest/root/GNUmakefile
+++ b/tests/cyclictest/root/GNUmakefile
@@ -1,4 +1,5 @@
# Automatically generated by /home/wsh/students/kocikare/linux-conf-perf/buildroot/support/scripts/mkmakefile: don't edit
+export SRCARCH=$(CONF_KERNEL_ARCH)
lastword = $(word $(words $(1)),$(1))
makedir := $(dir $(call lastword,$(MAKEFILE_LIST)))
@@ -10,11 +11,22 @@ MAKEFLAGS += --no-print-directory
.PHONY: all $(MAKECMDGOALS)
-all := $(filter-out Makefile,$(MAKECMDGOALS))
+all := $(filter-out Makefile .config,$(MAKECMDGOALS))
_all:
$(MAKE) $(MAKEARGS) $(all)
+-include ../../../.conf.mk
+
+../../../.conf.mk:
+ $(MAKE) -C ../../../ .conf.mk
+
+_all: .config
+.config: config_base ../../../$(CONF_TEST_CONFIG_CYCLICTEST)
+ cp config_base .config
+ cat ../../../$(CONF_TEST_CONFIG_CYCLICTEST) >> .config
+ yes "" | make oldconfig
+
Makefile:;
$(all): _all