diff options
Diffstat (limited to 'test/Rules.mak')
-rw-r--r-- | test/Rules.mak | 8 |
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) |