diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2019-02-21 16:58:00 +1030 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-02-21 22:58:46 -0600 |
commit | 0dec1de73e1e11e94a15b07a1563941ab18f2ab0 (patch) | |
tree | 176e9a24d2314093dce25dcd2dc262f664e39f44 /libflash/test | |
parent | 4824d17bb53b89cf599ccdbde2a7a77f424cd3bb (diff) | |
download | skiboot-0dec1de73e1e11e94a15b07a1563941ab18f2ab0.zip skiboot-0dec1de73e1e11e94a15b07a1563941ab18f2ab0.tar.gz skiboot-0dec1de73e1e11e94a15b07a1563941ab18f2ab0.tar.bz2 |
libflash/test: Generate header dependencies for tests
Cc: stable
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'libflash/test')
-rw-r--r-- | libflash/test/Makefile.check | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libflash/test/Makefile.check b/libflash/test/Makefile.check index f5ed1ee..1e55237 100644 --- a/libflash/test/Makefile.check +++ b/libflash/test/Makefile.check @@ -30,7 +30,7 @@ check_PROGRAMS = \ libflash/test/test-ecc \ libflash/test/test-mbox -TEST_FLAGS = -D__TEST__ +TEST_FLAGS = -D__TEST__ -MMD -MP .PHONY: libflash-check libflash-coverage libflash-check: $(check_PROGRAMS:%=%-check) $(CORE_TEST:%=%-gcov-run) @@ -162,3 +162,6 @@ libflash-test-gcov-clean: $(RM) $(GCOV_OBJ_STEMS:%=%.d) $(RM) $(GCOV_OBJ_STEMS:%=%.gcda) $(RM) $(GCOV_OBJ_STEMS:%=%.gcno) + +-include $(patsubst %,%.d,$(call objstem,$(check_PROGRAMS),$(HOST_TRIPLE)/)) +-include $(patsubst %,%.d,$(call objstem,$(check_PROGRAMS),$(HOST_TRIPLE)/gcov/)) |