1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Makefile.include: building in docker should be done after clean

When building in parallel, clean is done at the same time as the
container starts building.

So the parallel `clean all` handling should also be done for the
`..in-docker-container` target.
This commit is contained in:
Gaëtan Harter 2018-11-23 17:51:26 +01:00
parent 25e165ef5b
commit 135d2f7fba
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -483,7 +483,7 @@ endef
# The `clean` needs to be serialized before everything else.
ifneq (, $(filter clean, $(MAKECMDGOALS)))
all $(BASELIBS) $(USEPKG:%=$(RIOTPKG)/%/Makefile.include) $(BUILDDEPS): clean
all $(BASELIBS) $(USEPKG:%=$(RIOTPKG)/%/Makefile.include) $(BUILDDEPS) ..in-docker-container: clean
endif
.PHONY: pkg-prepare pkg-build pkg-build-%