Skip to content

Commit

Permalink
Makefile: gard/pflash targets for CI build with HOSTCFLAGS/HOSTGCOVFLAGS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stewartsmith committed Jul 19, 2017
1 parent f2b2d51 commit 22abfd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.main
Expand Up @@ -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)
Expand Down

0 comments on commit 22abfd2

Please sign in to comment.