Author: nbd
Date: 2014-12-27 14:00:09 +0100 (Sat, 27 Dec 2014)
New Revision: 43785

Modified:
   trunk/toolchain/binutils/Makefile
Log:
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 <[email protected]>

Modified: trunk/toolchain/binutils/Makefile
===================================================================
--- trunk/toolchain/binutils/Makefile   2014-12-27 12:59:59 UTC (rev 43784)
+++ trunk/toolchain/binutils/Makefile   2014-12-27 13:00:09 UTC (rev 43785)
@@ -84,9 +84,11 @@
        $(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
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to