diff options
author | Dave Barach <dave@barachs.net> | 2016-04-18 17:10:18 -0400 |
---|---|---|
committer | Keith Burns <alagalah@gmail.com> | 2016-04-20 03:13:54 +0000 |
commit | ec177abc1aa2811c1c69f9b37b76efb66a427ad2 (patch) | |
tree | f57aa2e7861cd4414dabdbb8a5fb7eb7b28d4422 /build-data | |
parent | dae88b9a53c2bbdc8a60d05efa7e879e2544eb5a (diff) |
Add TAG=vpp_gcov which compiles vpp to produce .gcda files
Change-Id: Ib6a0940e08f9e0983f3ec70f9e8488c2185ca4da
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'build-data')
-rw-r--r-- | build-data/platforms/vpp.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk index c3c18aebc1c..04a697d37e2 100644 --- a/build-data/platforms/vpp.mk +++ b/build-data/platforms/vpp.mk @@ -44,3 +44,8 @@ vpp_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -march=$(MARCH) \ -fstack-protector -fPIC -Werror vpp_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -march=$(MARCH) \ -fstack-protector -fPIC -Werror + +vpp_gcov_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -march=$(MARCH) \ + -fPIC -Werror -fprofile-arcs -ftest-coverage +vpp_gcov_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -march=$(MARCH) \ + -fPIC -Werror -coverage |