From 135d2f7fbada3565fc04886c211f314c8b485bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Fri, 23 Nov 2018 17:51:26 +0100 Subject: [PATCH] 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. --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index 50cb94a6cfa8..e096fad83fb1 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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-%