diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-15 18:33:26 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-15 18:33:26 +1100 |
commit | 123071788f97a6c1acefbf0841f7d07126ab99ef (patch) | |
tree | 5e609aa06682e17dfaa4d165c93b952c703f3269 /hdata | |
parent | 5c0cc57a31c826541f89884234fe566751fba99a (diff) | |
download | skiboot-123071788f97a6c1acefbf0841f7d07126ab99ef.zip skiboot-123071788f97a6c1acefbf0841f7d07126ab99ef.tar.gz skiboot-123071788f97a6c1acefbf0841f7d07126ab99ef.tar.bz2 |
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 <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/test/Makefile.check | 2 |
1 files changed, 2 insertions, 0 deletions
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: |