From: Felix Fietkau Date: Fri, 10 Dec 2010 15:20:44 +0000 (+0000) Subject: make $(STAGING_DIR)/host/share/aclocal a symlink to $(STAGING_DIR_HOST)/share/aclocal X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=48dcb640d8f06f1712837623ad11a3e8bf3858d6;p=openwrt%2Fstaging%2Fjow.git make $(STAGING_DIR)/host/share/aclocal a symlink to $(STAGING_DIR_HOST)/share/aclocal SVN-Revision: 24422 --- 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 $@