From f06aece697aeab98f44c6ad0017e87e36c8ae764 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 2 Dec 2015 08:51:13 +0100 Subject: simplify toolchain building Buildroot uses the two-stage mechanism since a while. This reduces the build time a lot. Instead of three stages, we just use the two-stage build. The benefit is that the C library do not need to be rebuild and one gcc compile is obsolete. Tested with embedded-test.sh. There is one unresolved problem, tile toolchain building is broken. --- toolchain/binutils/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolchain/binutils') diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index d4f6a54a9..7b276ae6d 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -69,8 +69,8 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled $(MAKE) -C $(WRKBUILD) install ifeq ($(ADK_TOOLCHAIN_BINUTILS_GIT),y) ifeq ($(ADK_TARGET_ARCH_H8300),y) - $(INSTALL_DIR) $(TOOLCHAIN_DIR)/usr/lib/ldscripts - $(CP) $(WRKBUILD)/ld/ldscripts/* $(TOOLCHAIN_DIR)/usr/lib/ldscripts/ + $(INSTALL_DIR) $(STAGING_TARGET_DIR)/usr/lib/ldscripts + $(CP) $(WRKBUILD)/ld/ldscripts/* $(STAGING_TARGET_DIR)/usr/lib/ldscripts/ endif endif @touch $@ -- cgit v1.2.3