aboutsummaryrefslogtreecommitdiffstats
path: root/package/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile
index 7df1c594d4..45998e997a 100644
--- a/package/Makefile
+++ b/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)/.$@