diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-05-05 23:17:05 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-05-05 23:52:43 +0200 |
commit | a343e8b3593837f7e153fb96e6430ab1cbcfbe09 (patch) | |
tree | eb24f0cd1bc99dc2adb048b2e71bd67723265367 /package/gcc | |
parent | c29799330464fb5d152f1b3d550fcbda69c58a3d (diff) | |
download | buildroot-a343e8b3593837f7e153fb96e6430ab1cbcfbe09.tar.gz buildroot-a343e8b3593837f7e153fb96e6430ab1cbcfbe09.zip |
gcc: musl patches only available for gcc 4.7+
For the moment, the musl support is not in mainline gcc, so it
requires a few patches. We have integrated those patches only for gcc
4.7 and gcc 4.8 at the moment, so only allow those gcc versions when
the musl library is selected.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/Config.in.host | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host index 6a3b75bdfa..99eaa02a53 100644 --- a/package/gcc/Config.in.host +++ b/package/gcc/Config.in.host @@ -31,17 +31,23 @@ choice depends on !BR2_ARM_EABIHF # VFPv4 support appeared in gcc 4.5 depends on !BR2_ARM_FPU_VFPV4 && !BR2_ARM_FPU_VFPV4D16 + # musl patches only for gcc 4.7+ + depends on !BR2_TOOLCHAIN_BUILDROOT_MUSL config BR2_GCC_VERSION_4_5_X depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc && !BR2_avr32 && !BR2_cortex_a7 && !BR2_cortex_a12 && !BR2_cortex_a15 && !BR2_x86_corei7 && !BR2_x86_jaguar && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_fa526 && !BR2_pj4 select BR2_GCC_NEEDS_MPC # ARM EABIhf support appeared in gcc 4.6 depends on !BR2_ARM_EABIHF + # musl patches only for gcc 4.7+ + depends on !BR2_TOOLCHAIN_BUILDROOT_MUSL bool "gcc 4.5.x" config BR2_GCC_VERSION_4_6_X depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_cortex_a7 && !BR2_cortex_a12 && !BR2_x86_jaguar && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4 select BR2_GCC_NEEDS_MPC + # musl patches only for gcc 4.7+ + depends on !BR2_TOOLCHAIN_BUILDROOT_MUSL bool "gcc 4.6.x" config BR2_GCC_VERSION_4_7_X @@ -67,6 +73,8 @@ choice config BR2_GCC_VERSION_SNAP depends on !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 select BR2_GCC_NEEDS_MPC + # musl patches only for gcc 4.7+ + depends on !BR2_TOOLCHAIN_BUILDROOT_MUSL bool "gcc snapshot" endchoice |