Skip to content
Snippets Groups Projects
Commit 68f3c261 authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

docker: Add support for buildtests inside Docker.

parent 3b85f102
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,9 @@ endif
info-buildsizes-diff info-build info-boards-supported \
info-features-missing info-boards-features-missing
ifeq ($(BUILD_IN_DOCKER),1)
buildtest: ..in-docker-container
else
buildtest:
@ \
BUILDTESTOK=true; \
......@@ -66,6 +69,7 @@ buildtest:
done; \
done; \
$${BUILDTESTOK}
endif # BUILD_IN_DOCKER
info-objsize:
@case "${SORTROW}" in \
......
......@@ -4,6 +4,7 @@ export DOCKER_FLAGS ?= --rm
# List of Docker-enabled make goals
export DOCKER_MAKECMDGOALS_POSSIBLE = \
all \
buildtest \
#
export DOCKER_MAKECMDGOALS = $(filter $(MAKECMDGOALS),$(DOCKER_MAKECMDGOALS_POSSIBLE))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment