diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-09-03 11:44:28 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-11-24 22:09:58 +0100 |
commit | 1f33e55df0704067c270a452f92c323c52406025 (patch) | |
tree | 3f1a27a1a9f58e415f0935f1af48b8adfcbb7fd8 /package/gcc | |
parent | 974d97bc267d4e529ec3619c6c71e59f8f51833d (diff) | |
download | buildroot-1f33e55df0704067c270a452f92c323c52406025.tar.gz buildroot-1f33e55df0704067c270a452f92c323c52406025.zip |
package/gcc: hide versions too old for the current arch
Begin the conversion from hard-coded dependencies on architectures, to
architecture-specified version requirement, using the newly introduced
BR2_ARCH_NEEDS_GCC_AT_LEAST_XXX symbols.
Hard-coded dependencies will be removed progressively, as archs are
individually converted over to using the new symbols.
We do not change the architecture-specific versions for ARC and
OpenRISC, because there is no point in doing so for those, as they use
special, non-upstream versions anyway.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/Config.in.host | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host index 1fb6b6045c..c470b430a2 100644 --- a/package/gcc/Config.in.host +++ b/package/gcc/Config.in.host @@ -22,6 +22,7 @@ config BR2_GCC_VERSION_OR1K config BR2_GCC_VERSION_4_9_X bool "gcc 4.9.x" + depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_5 # Broken or unsupported architectures depends on !BR2_arc && !BR2_bfin && !BR2_or1k # Broken or unsupported ARM cores @@ -45,6 +46,7 @@ config BR2_GCC_VERSION_4_9_X config BR2_GCC_VERSION_5_X bool "gcc 5.x" + depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6 # Broken or unsupported architectures depends on !BR2_arc && !BR2_bfin && !BR2_or1k # Broken or unsupported ARM cores @@ -61,6 +63,7 @@ config BR2_GCC_VERSION_5_X config BR2_GCC_VERSION_6_X bool "gcc 6.x" + depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7 # Broken or unsupported architectures depends on !BR2_arc depends on !BR2_or1k |