1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 19:18:07 +02:00

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
This commit is contained in:
nbd 2011-03-01 05:41:02 +00:00
parent 08b65a0386
commit 2ebb168ddb

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) \