buildrootschalter/package/binutils/Config.in.host
Waldemar Brodkorb 013f9fe67d bfin: disable newer binutils for internal toolchain
You get following linking error, when trying to build a
toolchain for bfin with newer binutils:
bfin-buildroot-linux-uclibc/bin/ld: fde encoding in _divdi3_s.o(.eh_frame) prevents .eh_frame_hdr table being created.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-04 22:42:24 +02:00

44 lines
1.3 KiB
Plaintext

comment "Binutils Options"
choice
prompt "Binutils Version"
depends on !BR2_arc
default BR2_BINUTILS_VERSION_2_24 if BR2_microblaze || BR2_powerpc64le
default BR2_BINUTILS_VERSION_2_22
help
Select the version of binutils you wish to use.
config BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
depends on BR2_avr32
bool "binutils 2.18-avr32-1.0.1"
config BR2_BINUTILS_VERSION_2_22
depends on !BR2_avr32 && !BR2_aarch64 && !BR2_microblaze && !BR2_powerpc64le
bool "binutils 2.22"
# bfin disabled for newer binutils due to
# https://sourceware.org/bugzilla/show_bug.cgi?id=17334
config BR2_BINUTILS_VERSION_2_23_2
depends on !BR2_avr32 && !BR2_aarch64 && !BR2_bfin && !BR2_microblaze && !BR2_powerpc64le
bool "binutils 2.23.2"
config BR2_BINUTILS_VERSION_2_24
depends on !BR2_avr32 && !BR2_bfin
bool "binutils 2.24"
endchoice
config BR2_BINUTILS_VERSION
string
default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
default "arc-2014.08" if BR2_arc
default "2.22" if BR2_BINUTILS_VERSION_2_22
default "2.23.2" if BR2_BINUTILS_VERSION_2_23_2
default "2.24" if BR2_BINUTILS_VERSION_2_24
config BR2_BINUTILS_EXTRA_CONFIG_OPTIONS
string "Additional binutils options"
default ""
help
Any additional binutils options you may want to include.