buildroot/support
Thomas Petazzoni 3c11e6f3c8 support/scripts/gen-bootlin-toolchains: check that toolchains exists for a certain arch
The "arches" dict lists the architectures for which Bootlin toolchains
are available, along with the corresponding Buildroot conditions for
those architecture variants.

However, there is nothing that checks that such architectures really
have Bootlin toolchains available. Even if no toolchain is available,
the architecture is considered as support, and will be listed in the
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCH_SUPPORTS option, making menuconfig
believe that some Bootlin toolchain is available for the selected
architecture variant.

This is currently the case with the "mips64" architecture (as
identified by the Bootlin toolchains project). Such toolchains have
been made obsolete in toolchains.bootlin.com and replaced by the
mips64-n32 toolchains. But "mips64" is still listed in "arches",
causing this architecture to be considered as having Bootlin
toolchains available.

To avoid this to happen in the future, this commit adds a check that
verifies that an architecture listed in "arches" really has at least
one toolchain available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-06-14 17:28:30 +02:00
..
config-fragments support/config-fragments/autobuild: fix bootlin-riscv64 configs 2022-01-04 18:08:57 +01:00
dependencies support/dependencies: requires cmake >= 3.18 2022-03-21 22:04:16 +01:00
docker support/docker: add shellcheck 2022-02-06 18:27:03 +01:00
download support/download/helpers: adjust for older coreutils versions 2022-02-11 17:25:24 +01:00
gnuconfig support/gnuconfig: fix previous version bump 2020-09-27 18:30:05 +02:00
kconfig support/kconfig: fix compiler warnings 2021-10-06 21:11:09 +02:00
legal-info
libtool
misc Update for 2022.05 2022-06-06 22:14:04 +02:00
scripts support/scripts/gen-bootlin-toolchains: check that toolchains exists for a certain arch 2022-06-14 17:28:30 +02:00
testing support/testing, toolchain/toolchain-external/toolchain-external-bootlin: regenerate with latest gen-bootlin-toolchains script 2022-06-14 16:49:25 +02:00