build: add $(STAGING_DIR) and $(BIN_DIR) preparation to target and package subdir...
[openwrt/staging/mans0n.git] / package / Makefile
index 8e72d4ec726dbcfeb6502820bcf29d16813d3551..4663b41de4aea0930fa48287f685537e6027bca7 100644 (file)
@@ -117,6 +117,8 @@ endif
 
 $(curdir)/flags-install:= -j1
 
+$(curdir)//compile = $(STAGING_DIR)/.prepared $(BIN_DIR)
+
 $(eval $(call stampfile,$(curdir),package,prereq,.config))
 $(eval $(call stampfile,$(curdir),package,cleanup,$(TMP_DIR)/.build))
 $(eval $(call stampfile,$(curdir),package,compile,$(TMP_DIR)/.build))