aboutsummaryrefslogtreecommitdiff
path: root/Makefile.main
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2017-07-17 17:34:28 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-07-19 15:49:39 +1000
commit22abfd2d18ee2a613e63745aeef1260a3cf4d4ff (patch)
tree52e079f3464af72fe55e80b472a62b4bb8900e4d /Makefile.main
parentf2b2d51ca72fbb1aaf44054e97b5e6caf9eb4005 (diff)
downloadskiboot-22abfd2d18ee2a613e63745aeef1260a3cf4d4ff.zip
skiboot-22abfd2d18ee2a613e63745aeef1260a3cf4d4ff.tar.gz
skiboot-22abfd2d18ee2a613e63745aeef1260a3cf4d4ff.tar.bz2
Makefile: gard/pflash targets for CI build with HOSTCFLAGS/HOSTGCOVFLAGS
This enables us to do coverage reports on gard/pflash. Reviewed-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r--Makefile.main4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.main b/Makefile.main
index b22925d..7275ae6 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)