include: bin/ dir was not created
authorJohn Crispin <blogic@openwrt.org>
Tue, 19 Apr 2016 14:08:18 +0000 (16:08 +0200)
committerJohn Crispin <blogic@openwrt.org>
Tue, 19 Apr 2016 14:08:18 +0000 (16:08 +0200)
explicitly create the bin dir

Signed-off-by: John Crispin <john@phrozen.org>
include/image.mk

index a868afc..9e342e0 100644 (file)
@@ -574,11 +574,11 @@ define BuildImage
                $(call Build/Clean)
 
     image_prepare: compile
-               mkdir -p $(KDIR)/tmp
+               mkdir -p $(BIN_DIR) $(KDIR)/tmp
                $(call Image/Prepare)
   else
     image_prepare:
-               mkdir -p $(KDIR)/tmp
+               mkdir -p $(BIN_DIR) $(KDIR)/tmp
   endif
 
   mkfs_prepare: image_prepare