aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/Config.in
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-10 12:03:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-10 12:03:59 +0000
commit8b5d644bb36846660e1fa20d38361fec12a14b28 (patch)
tree3862ad9cadac2989690765d921a16b875147180a /toolchain/binutils/Config.in
parent759b1c11872d5df4bd198aaff2a5cf7e68a85314 (diff)
downloadupstream-8b5d644bb36846660e1fa20d38361fec12a14b28.tar.gz
upstream-8b5d644bb36846660e1fa20d38361fec12a14b28.tar.bz2
upstream-8b5d644bb36846660e1fa20d38361fec12a14b28.zip
toolchain: add support of ARC architecture
This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is "arc-2015.06") is based on upstream binutils 2.23. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06 Latest release of ARC GDB (as of today this is "arc-2015.06-gdb") is based on upstream gdb 7.9.1. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb Note that for binutils and gdb that come from unified git repository (which is the case for upstream binutils/gdb today) we need to disable building of gdb in binutils and binutils in gdb hence in binutils: ------>8------ --disable-sim --disable-gdb ------>8------ and in gdb: ------>8------ --disable-binutils --disable-ld --disable-gas ------>8------ Also in gdb we disable sim because if the following breakage while building with it: ------------>8------------ /usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \ -mono -fast -pbb -switch sem5-switch.c \ -cpu a5f -infile ./mloop5.in \ -outfile-suffix 5 unknown option: bash Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 ------------>8------------ Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> SVN-Revision: 47438
Diffstat (limited to 'toolchain/binutils/Config.in')
-rw-r--r--toolchain/binutils/Config.in23
1 files changed, 13 insertions, 10 deletions
diff --git a/toolchain/binutils/Config.in b/toolchain/binutils/Config.in
index 27b2ffab8b..4fa8ab94ca 100644
--- a/toolchain/binutils/Config.in
+++ b/toolchain/binutils/Config.in
@@ -2,15 +2,25 @@
choice
prompt "Binutils Version" if TOOLCHAINOPTS
- default BINUTILS_VERSION_LINARO
+ default BINUTILS_USE_VERSION_2_24_LINARO if !arc
+ default BINUTILS_USE_VERSION_2_23_ARC if arc
help
Select the version of binutils you wish to use.
- config BINUTILS_VERSION_LINARO
+ config BINUTILS_USE_VERSION_2_24_LINARO
+ depends on !arc
bool "Linaro binutils 2.24"
+ select BINUTILS_VERSION_2_24_LINARO
- config BINUTILS_VERSION_2_25_1
+ config BINUTILS_USE_VERSION_2_25_1
+ depends on !arc
bool "Binutils 2.25.1"
+ select BINUTILS_VERSION_2_25_1
+
+ config BINUTILS_USE_VERSION_2_23_ARC
+ depends on arc
+ bool "ARC binutils 2.23"
+ select BINUTILS_VERSION_2_23_ARC
endchoice
@@ -20,10 +30,3 @@ config EXTRA_BINUTILS_CONFIG_OPTIONS
default ""
help
Any additional binutils options you may want to include....
-
-config BINUTILS_VERSION
- string
- prompt "Binutils Version" if (TOOLCHAINOPTS && NULL)
- default "linaro" if BINUTILS_VERSION_LINARO
- default "2.25.1" if BINUTILS_VERSION_2_25_1
- default "linaro"