aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-11-27 11:38:37 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-11-27 11:38:37 +1100
commit86beb828a2a3421c504e2bcd42b9cbfa5154efaa (patch)
tree65283d8c4622d7e85cd99788c23595310c3a078b
parented7753c8e12fc3a17a7c32da5873ff1f830e2aa7 (diff)
downloadskiboot-86beb828a2a3421c504e2bcd42b9cbfa5154efaa.zip
skiboot-86beb828a2a3421c504e2bcd42b9cbfa5154efaa.tar.gz
skiboot-86beb828a2a3421c504e2bcd42b9cbfa5154efaa.tar.bz2
Update hack for building pflash for coverity scan
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--.travis.yml2
-rw-r--r--Makefile.main4
2 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 918cc41..72cb0e4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,5 +40,5 @@ addons:
description: "Build submitted via Travis CI"
notification_email: stewart@linux.vnet.ibm.com
build_command_prepend: "make clean; cov-configure --comptype gcc --compiler powerpc64-linux-gcc --template; cov-configure --comptype gcc --compiler powerpc64le-linux-gnu-gcc; cov-configure --comptype gcc --compiler arm-linux-gnueabi-gcc; cov-configure --comptype gcc --compiler x86_64-linux-gnu-gcc"
- build_command: "make -j4 all check gard pflash; (cd external/pflash; ./build-all-arch.sh"
+ build_command: "make -j4 all check gard pflash-coverity"
branch_pattern: coverity_scan
diff --git a/Makefile.main b/Makefile.main
index c45eff5..094a8fc 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -149,9 +149,13 @@ include $(SRC)/$(DEVSRC)/Makefile.inc
# hack for travis-ci and coverity
gard:
(cd external/gard; make)
+
pflash:
(cd external/pflash; make)
+pflash-coverity:
+ (cd external/pflash; ./build-all-arch.sh)
+
all: $(SUBDIRS) $(TARGET).lid $(TARGET).map extract-gcov
OBJS := $(ASM) $(CORE) $(HW) $(PLATFORMS) $(LIBFDT) $(LIBFLASH)