summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-02 08:51:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-02 08:53:47 +0100
commitf06aece697aeab98f44c6ad0017e87e36c8ae764 (patch)
tree2dbfa60819b6fae3358eb997d41826940424f4c7 /target/config
parentfcfd8fdbd759d500a5b585e58fade1bd74801c49 (diff)
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.
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.binfmt1
-rw-r--r--target/config/Config.in.gcc4
2 files changed, 5 insertions, 0 deletions
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