kumquat-buildroot/toolchain/toolchain-external
Thomas Petazzoni b3ba26150d toolchain/toolchain-external/toolchain-external-custom: be more flexible on gcc version
The custom external toolchain logic asks the user to specify which gcc
version is provided by the toolchain. The list of gcc versions given
by Buildroot is restricted depending on the selected CPU architecture
using the BR2_ARCH_NEEDS_GCC_AT_LEAST_xyz config options.

However, these config options generally indicate in which upstream gcc
version the support for the selected architecture was introduced. But
in practice, it is possible that an external toolchain uses some
non-upstream gcc code, providing support for a CPU architecture before
it was merged in upstream gcc.

A specific example is that there are pre-built external toolchains for
the C-SKY CPU architecture that are based on gcc 6.x, even if the
support for it was only added in upstream gcc 9.x.

Due to the BR2_ARCH_NEEDS_GCC_AT_LEAST_xyz options, only gcc >= 9.x
can be selected for C-SKY, preventing the use of such a custom
toolchain.

In addition, those dependencies are in fact not really needed:
Buildroot will check that the gcc version provided matches what the
user declared in the configuration. And if the gcc provided by the
toolchain does support that CPU architecture, then well, so be it,
there's no need to restrict the gcc version selected.

So we simply get rid of these dependencies on
BR2_ARCH_NEEDS_GCC_AT_LEAST_xyz, and also don't use them anymore to
chose a default value for the gcc version.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-08-03 16:19:08 +02:00
..
toolchain-external-andes-nds32 toolchain/toolchain-external/toolchain-external-andes-nds32: add missing dependencies/select 2019-05-31 00:06:52 +02:00
toolchain-external-arm-aarch64 toolchain-external: update Arm AArch64 toolchain 8.3-2019.03 2019-06-18 14:53:20 +02:00
toolchain-external-arm-aarch64-be toolchain-external: update Arm AArch64-BE toolchain 8.3-2019.03 2019-06-18 14:53:25 +02:00
toolchain-external-arm-arm toolchain-external: update Arm ARM toolchain 8.3-2019.03 2019-06-18 14:53:04 +02:00
toolchain-external-codescape-img-mips toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-codescape-mti-mips toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-codesourcery-aarch64 toolchain/external: hide versions too old for the current arch 2017-11-24 22:16:19 +01:00
toolchain-external-codesourcery-amd64 toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-codesourcery-arm arch/arm: armv8 is really armv8a 2017-11-24 23:01:41 +01:00
toolchain-external-codesourcery-mips toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-codesourcery-niosII toolchain-external: bump CodeSourcery NIOSII to 2018.05 2018-05-30 22:51:29 +02:00
toolchain-external-custom toolchain/toolchain-external/toolchain-external-custom: be more flexible on gcc version 2019-08-03 16:19:08 +02:00
toolchain-external-linaro-aarch64 toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-linaro-aarch64-be toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-linaro-arm toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-linaro-armeb toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-synopsys-arc toolchain: bump ARC prebuild toolchain to arc-2018.09 2018-11-29 21:39:44 +01:00
Config.in toolchain/toolchain-external-andes-nds32: new package 2019-04-17 09:18:27 +02:00
pkg-toolchain-external.mk toolchain-external: fix find_sysroot 2019-08-01 17:35:22 +02:00
toolchain-external.mk Fix makefile include order by using sort/wildcard. 2017-11-24 00:08:23 +01:00