From 8a6771ac5059da198dc99eaa580ff0a633dda22f Mon Sep 17 00:00:00 2001
From: cladmi <gaetan.harter@fu-berlin.de>
Date: Fri, 14 Sep 2018 14:55:43 +0200
Subject: [PATCH] Makefile.include: do not create BINDIR for usepkg build

BINDIR has already have been created by `pkg-prepare` and the real build
directory for the package will be created by the make target itself.
---
 Makefile.include | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Makefile.include b/Makefile.include
index b36ad55b50..3b3afd920c 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -476,7 +476,6 @@ pkg-prepare:
 	-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i prepare ; done
 
 $(USEPKG:%=$(BINDIR)/%.a): $(BINDIR)/%.a: $(BUILDDEPS) FORCE
-	@mkdir -p $(BINDIR)
 	$(QQ)"$(MAKE)" -C $(RIOTPKG)/$*
 
 clean:
-- 
GitLab