X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=tools%2FMakefile;h=4a39663cdb0dfebfe4d54d01b01789e7f19b03b1;hp=9306601c7a9fb7c6b6a188cdcfc28ba7053427c0;hb=6893f83f52658d3374e66272ed7477de5b6c6b67;hpb=39ded4c88309624a799cd291c152e060fe45f65e diff --git a/tools/Makefile b/tools/Makefile index 9306601c7a..4a39663cdb 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 $@