X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3dd0feb7915d713ceee9cf740b23dc6034c65cd9..e0b6754b61c91e7155a28e5da1b752e07f4c8ec1:/tools/Makefile?ds=inline diff --git a/tools/Makefile b/tools/Makefile index 9306601c7..4a39663cd 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -61,8 +61,11 @@ define PrepareStaging endef # preparatory work -$(STAGING_DIR)/.prepared: $(TMP_DIR)/.build +$(STAGING_DIR)/.prepared: $(TMP_DIR)/.build $(STAGING_DIR_HOST)/.prepared $(call PrepareStaging,$(STAGING_DIR)) + mkdir -p $(STAGING_DIR)/host/share + rm -rf $(STAGING_DIR)/host/share/aclocal + ln -s $(STAGING_DIR_HOST)/share/aclocal $(STAGING_DIR)/host/share/ mkdir -p $(BUILD_DIR)/stamp touch $@