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-a3cf2f4a3e73master
parent
9cb0783a7f
commit
cdabc8deda
|
@ -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) \
|
||||||
|
|
Loading…
Reference in New Issue