From 123071788f97a6c1acefbf0841f7d07126ab99ef Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Mon, 15 Dec 2014 18:33:26 +1100 Subject: Fix makefile dependency generation, especially for HOSTCC Instead of having individual rules to generate .d, add -MMD to HOSTCC parameters, and just include the generated .d files. This fixes a few weird dependency issues. Also, make the mambo hello_kernel test depend on skiboot.lid Signed-off-by: Stewart Smith --- hdata/test/Makefile.check | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hdata') diff --git a/hdata/test/Makefile.check b/hdata/test/Makefile.check index 63fcb4a..39e7c1e 100644 --- a/hdata/test/Makefile.check +++ b/hdata/test/Makefile.check @@ -12,6 +12,8 @@ hdata/test/stubs.o: hdata/test/stubs.c hdata/test/hdata_to_dt: hdata/test/hdata_to_dt.c hdata/test/stubs.o $(HOSTCC) $(HOSTCFLAGS) -DTEST -O0 -g -I hdata -I include -I . -I libfdt -o $@ $< hdata/test/stubs.o +-include $(wildcard hdata/test/*.d) + clean: hdata-test-clean hdata-test-clean: -- cgit v1.1