summaryrefslogtreecommitdiffstats
path: root/openwrt/package/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/Makefile')
-rw-r--r--openwrt/package/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index 7df1c594d..45998e997 100644
--- a/openwrt/package/Makefile
+++ b/openwrt/package/Makefile
@@ -281,7 +281,10 @@ endif
sdk-compile: $(DEV_LIBS_COMPILE) $(SDK_DEFAULT_COMPILE) openwrt-install
-%-prepare:
+$(STAMP_DIR):
+ mkdir -p $@
+
+%-prepare: $(STAMP_DIR)
@[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
@touch $(STAMP_DIR)/.$@