include: image.mk: ensure that $(KDIR)/tmp exists in the IB case as well
[openwrt/openwrt.git] / include / image.mk
index 36c6c63..020418d 100644 (file)
@@ -464,6 +464,9 @@ define BuildImage
     image_prepare: compile
                mkdir -p $(KDIR)/tmp
                $(call Image/Prepare)
+  else
+    image_prepare:
+               mkdir -p $(KDIR)/tmp
   endif
 
   mkfs_prepare: image_prepare