summaryrefslogtreecommitdiffstats
path: root/external/pflash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'external/pflash/Makefile')
-rw-r--r--external/pflash/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/external/pflash/Makefile b/external/pflash/Makefile
index 5395bdfa..243de6ee 100644
--- a/external/pflash/Makefile
+++ b/external/pflash/Makefile
@@ -4,6 +4,10 @@ include ../../external/common/rules.mk
all: links arch_links $(EXE)
+.PHONY: coverage
+coverage: CFLAGS += -fprofile-arcs -ftest-coverage
+coverage: check
+
#Rebuild version.o so that the the version always matches
#what the test suite will get from ./make_version.sh
check: version.o all
OpenPOWER on IntegriCloud