summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2018-07-28 17:56:12 +0300
committerDamien George <damien.p.george@gmail.com>2018-08-14 15:10:52 +1000
commitfe1ef507ef6fe9bb35cef4df354b06005cc0737d (patch)
tree2837257e83b2d8ffe5cc3d586087e10c78adede5
parentbb28fe7b7b93e4aaca9801dbc58b277ee2034b60 (diff)
unix/Makefile: coverage: Explicitly build "axtls" too.
"coverage" build uses different BUILD directory comparing to the normal build. Previously, any build picked up libaxtls.a from normal build's directory, but that was fixed recently. So, for each build, we must build axtls explicitly. This fixes Travis build in particular.
-rw-r--r--ports/unix/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/unix/Makefile b/ports/unix/Makefile
index cbdd3f3fb..b17b012e0 100644
--- a/ports/unix/Makefile
+++ b/ports/unix/Makefile
@@ -249,7 +249,7 @@ coverage:
-DMICROPY_UNIX_COVERAGE' \
LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' \
FROZEN_DIR=coverage-frzstr FROZEN_MPY_DIR=coverage-frzmpy \
- BUILD=build-coverage PROG=micropython_coverage
+ BUILD=build-coverage PROG=micropython_coverage axtls all
coverage_test: coverage
$(eval DIRNAME=ports/$(notdir $(CURDIR)))