aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)