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. --- target/config/Config.in.binfmt | 1 + target/config/Config.in.gcc | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'target') diff --git a/target/config/Config.in.binfmt b/target/config/Config.in.binfmt index 639663f9a..0c0281b1c 100644 --- a/target/config/Config.in.binfmt +++ b/target/config/Config.in.binfmt @@ -41,6 +41,7 @@ default ADK_TARGET_BINFMT_FLAT_ONE config ADK_TARGET_BINFMT_FLAT_ONE bool "One memory region" + depends on ADK_TARGET_ARCH_BFIN help All segments are linked into one memory region. diff --git a/target/config/Config.in.gcc b/target/config/Config.in.gcc index b054fb28a..a8e6440f5 100644 --- a/target/config/Config.in.gcc +++ b/target/config/Config.in.gcc @@ -86,5 +86,9 @@ config ADK_TOOLCHAIN_GCC_4_2_4 bool "4.2.4" depends on ADK_TARGET_ARCH_METAG select ADK_DISABLE_HONOUR_CFLAGS + select ADK_TOOLCHAIN_GCC_OLD endchoice + +config ADK_TOOLCHAIN_GCC_OLD + bool -- cgit v1.2.3