uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds

SVN-Revision: 25803
This commit is contained in:
Felix Fietkau 2011-03-01 05:41:02 +00:00
parent fa74dadda8
commit 783e064632

View file

@ -62,7 +62,6 @@ GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
$(CONFIG_DIR)/$(ARCH)$(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD)) $(CONFIG_DIR)/$(ARCH)$(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD))
define Host/Prepare define Host/Prepare
$(call Host/SetToolchainInfo)
$(call Host/Prepare/Default) $(call Host/Prepare/Default)
$(if $(strip $(QUILT)), \ $(if $(strip $(QUILT)), \
cd $(HOST_BUILD_DIR); \ cd $(HOST_BUILD_DIR); \
@ -132,6 +131,7 @@ define Host/Compile
endef endef
define Host/Install define Host/Install
$(call Host/SetToolchainInfo)
$(UCLIBC_MAKE) PREFIX= utils $(UCLIBC_MAKE) PREFIX= utils
$(INSTALL_DIR) $(TOOLCHAIN_DIR)/bin $(INSTALL_DIR) $(TOOLCHAIN_DIR)/bin
$(INSTALL_BIN) \ $(INSTALL_BIN) \