[Skiboot] [PATCH v2] Makefile: gard/pflash targets for CI build with HOSTCFLAGS/HOSTGCOVFLAGS
Stewart Smith
stewart at linux.vnet.ibm.com
Tue Jul 18 14:12:48 AEST 2017
This enables us to do coverage reports on gard/pflash.
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
Changes since v1: keep -O0 and gcov options for test build
---
Makefile.main | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.main b/Makefile.main
index b22925dac88a..7275ae6fe4da 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -180,10 +180,10 @@ include $(SRC)/libstb/Makefile.inc
# hack for travis-ci and coverity
gard:
- (cd external/gard; make)
+ (cd external/gard; CFLAGS="$(HOSTCFLAGS) $(HOSTGCOVCFLAGS)" make)
pflash:
- (cd external/pflash; make)
+ (cd external/pflash; CFLAGS="$(HOSTCFLAGS) $(HOSTGCOVCFLAGS)" make)
pflash-coverity:
(cd external/pflash; ./build-all-arch.sh)
--
2.13.0
More information about the Skiboot
mailing list