From cdabc8deda9718ccb330e48ec031aeaf6f6fdce5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 1 Mar 2011 05:41:02 +0000 Subject: [PATCH] uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25803 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/uClibc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 0ce9554e78..642f7fba4c 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -62,7 +62,6 @@ GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \ $(CONFIG_DIR)/$(ARCH)$(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD)) define Host/Prepare - $(call Host/SetToolchainInfo) $(call Host/Prepare/Default) $(if $(strip $(QUILT)), \ cd $(HOST_BUILD_DIR); \ @@ -132,6 +131,7 @@ define Host/Compile endef define Host/Install + $(call Host/SetToolchainInfo) $(UCLIBC_MAKE) PREFIX= utils $(INSTALL_DIR) $(TOOLCHAIN_DIR)/bin $(INSTALL_BIN) \