From: nbd 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: https://git.rohieb.name/openwrt.git/commitdiff_plain/7b2c9d0ed3314c336d84bfe752fc9078e1687e56 make $(STAGING_DIR)/host/share/aclocal a symlink to $(STAGING_DIR_HOST)/share/aclocal git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24422 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 $@