From 48dcb640d8f06f1712837623ad11a3e8bf3858d6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 10 Dec 2010 15:20:44 +0000 Subject: [PATCH] make $(STAGING_DIR)/host/share/aclocal a symlink to $(STAGING_DIR_HOST)/share/aclocal SVN-Revision: 24422 --- tools/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index 9306601c7a9..4a39663cdb0 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 $@