Browse Source

make $(STAGING_DIR)/host/share/aclocal a symlink to $(STAGING_DIR_HOST)/share/aclocal

SVN-Revision: 24422
Felix Fietkau 15 years ago
parent
commit
48dcb640d8
1 changed files with 4 additions and 1 deletions
  1. 4 1
      tools/Makefile

+ 4 - 1
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 $@