binutils: run install twice instead of overwriting the final toolchain with the initial one
fixes compiler error after a binutils rebuild/reinstall without rebuilding the rest of the toolchain Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43785
This commit is contained in:
parent
9a46799804
commit
f38436f607
1 changed files with 3 additions and 1 deletions
|
@ -84,9 +84,11 @@ define Host/Install
|
||||||
$(MAKE) -C $(HOST_BUILD_DIR) \
|
$(MAKE) -C $(HOST_BUILD_DIR) \
|
||||||
prefix=$(TOOLCHAIN_DIR)/initial \
|
prefix=$(TOOLCHAIN_DIR)/initial \
|
||||||
install
|
install
|
||||||
|
$(MAKE) -C $(HOST_BUILD_DIR) \
|
||||||
|
prefix=$(TOOLCHAIN_DIR) \
|
||||||
|
install
|
||||||
$(call FixupLibdir,$(TOOLCHAIN_DIR)/initial)
|
$(call FixupLibdir,$(TOOLCHAIN_DIR)/initial)
|
||||||
$(RM) $(TOOLCHAIN_DIR)/initial/lib/libiberty.a
|
$(RM) $(TOOLCHAIN_DIR)/initial/lib/libiberty.a
|
||||||
$(CP) $(TOOLCHAIN_DIR)/initial/. $(TOOLCHAIN_DIR)/
|
|
||||||
$(CP) $(TOOLCHAIN_DIR)/bin/$(REAL_GNU_TARGET_NAME)-readelf $(REAL_STAGING_DIR_HOST)/bin/readelf
|
$(CP) $(TOOLCHAIN_DIR)/bin/$(REAL_GNU_TARGET_NAME)-readelf $(REAL_STAGING_DIR_HOST)/bin/readelf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue