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-12-06 12:34:22 +01:00
parent 25e165ef5b
commit 135d2f7fba
+1 -1
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-%