mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43785 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6c2782f025
commit
b62cdc2ed6
@ -84,9 +84,11 @@ define Host/Install
|
||||
$(MAKE) -C $(HOST_BUILD_DIR) \
|
||||
prefix=$(TOOLCHAIN_DIR)/initial \
|
||||
install
|
||||
$(MAKE) -C $(HOST_BUILD_DIR) \
|
||||
prefix=$(TOOLCHAIN_DIR) \
|
||||
install
|
||||
$(call FixupLibdir,$(TOOLCHAIN_DIR)/initial)
|
||||
$(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
|
||||
endef
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user