summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-23 08:41:52 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-03-14 22:49:25 +0100
commit0a513103bf2a80787ec4c7064570d08ad36881aa (patch)
treea58d228984212042f8b5480ebcc2374680bd2c8e /test
parent7598eeaa1defa2884adaa890bb115c493d69cc35 (diff)
buildsys: tweak KCONFIG_CONFIG export
0c3eb2da578bc7ba2e74d240e3249dce62ec725e moved KCONFIG_CONFIG around and that broke propagation of config-settings to the testsuite. Fix that. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/Rules.mak8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index d5a9b1f79..ed72db246 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -12,7 +12,13 @@ abs_top_builddir ?= $(shell cd $(top_builddir); pwd)/
TESTDIR=$(top_builddir)test/
-include $(top_builddir)/Rules.mak
+include $(top_srcdir)Rules.mak
+ifeq ($(filter $(clean_targets) CLEAN_%,$(MAKECMDGOALS)),)
+ifeq ($(HAVE_DOT_CONFIG),)
+$(error no HAVE_DOT_CONFIG, failed to read .config)
+endif
+endif
+
ifdef UCLIBC_LDSO
ifeq (,$(findstring /,$(UCLIBC_LDSO)))
UCLIBC_LDSO := $(UCLIBC_LDSO)