From 95aa970ccd291dfb86365ca5433ea3e423f01941 Mon Sep 17 00:00:00 2001 From: Dan Streetman Date: Mon, 24 Nov 2014 17:18:28 -0500 Subject: use $(wildcard ) in test Makefiles The core/test/ and libc/test/ Makefile.check files both contain: -include core/test/*.d (or libc/test/*d) which is incorrect, since that evaluates literally to a *.d file. This results in each build trying to find that file, and creating it when not found (in an incorrect way because of other problems in the Makefile). The correct way to specify it is: -include $(wildcard core/test/*.d) Signed-off-by: Dan Streetman Signed-off-by: Benjamin Herrenschmidt --- core/test/Makefile.check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/test/Makefile.check b/core/test/Makefile.check index 840ce25..7ffbfc4 100644 --- a/core/test/Makefile.check +++ b/core/test/Makefile.check @@ -31,7 +31,7 @@ core/test/stubs.o: core/test/stubs.d core/test/%.d: core/test/%.c $(HOSTCC) $(HOSTCFLAGS) -I include -I . -I libfdt -M $< > $@ --include core/test/*.d +-include $(wildcard core/test/*.d) clean: core-test-clean -- cgit v1.1