[Pdbg] [PATCH 01/12] Makefile: Add dtb depedency on test, not on binary

Amitay Isaacs amitay at ozlabs.org
Fri Mar 13 12:19:28 AEDT 2020


Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index a4ca5f3..eaf6dd7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,6 +34,7 @@ TESTS = $(libpdbg_tests) optcmd_test $(PDBG_TESTS)
 
 tests/test_tree2.sh: fake2.dtb
 tests/test_prop.sh: fake.dtb
+tests/test_p9_fapi_translation.sh: p9.dtb p9-kernel.dtb
 
 test: $(libpdbg_tests)
 
@@ -267,7 +268,6 @@ libpdbg_p9_fapi_translation_test_SOURCES = src/tests/libpdbg_p9_fapi_translation
 libpdbg_p9_fapi_translation_test_CXXFLAGS = $(libpdbg_test_cflags)
 libpdbg_p9_fapi_translation_test_LDFLAGS = $(libpdbg_test_ldflags)
 libpdbg_p9_fapi_translation_test_LDADD = $(libpdbg_test_ldadd)
-EXTRA_libpdbg_p9_fapi_translation_test_DEPENDENCIES = p9.dtb p9-kernel.dtb
 
 libpdbg_prop_test_SOURCES = src/tests/libpdbg_prop_test.c
 libpdbg_prop_test_CFLAGS = $(libpdbg_test_cflags)
-- 
2.24.1



More information about the Pdbg mailing list