[Skiboot] [PATCH v2 03/10] external/gard: Clean after check to avoid leaving bad .o files around
Cyril Bur
cyril.bur at au1.ibm.com
Wed Nov 11 15:39:57 AEDT 2015
Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
---
external/gard/test/Makefile.check | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/external/gard/test/Makefile.check b/external/gard/test/Makefile.check
index 27f1aa0..ec4993a 100644
--- a/external/gard/test/Makefile.check
+++ b/external/gard/test/Makefile.check
@@ -2,9 +2,13 @@
check: check-gard
-#Makefile knows to build it before checking
-check-gard:
+#Makefile knows to build it before checking, should also
+#make clean before checking. If not, .o files for different
+#architectures might be lying around and clean once done to
+#avoid the opposite
+check-gard: gard-test-clean
@make CROSS_COMPILE='' -C external/gard/ check
+ @make CROSS_COMPILE='' -C external/gard/ clean
.PHONY: check-gard
--
2.6.2
More information about the Skiboot
mailing list