kumquat-buildroot/arch
Thomas Petazzoni eab17d763c arch/Config.in: introduce BR2_ARCH_NEEDS_GCC_AT_LEAST_14
Since commit
a0d2a5cfec ("support/scripts/gen-bootlin-toolchains:
generate BR2_ARCH_NEEDS_GCC_AT_LEAST_X guard"), the
gen-bootlin-toolchains script will generate references to
BR2_ARCH_NEEDS_GCC_AT_LEAST_X including potentially against the "next"
version of gcc.

Indeed, a toolchain using gcc 13.x should have a "depends on
!BR2_ARCH_NEEDS_GCC_AT_LEAST_14" so that once some architectures that
require gcc 14.x are added, such toolchains are not made visible.

In order for this to work, we must have the
BR2_ARCH_NEEDS_GCC_AT_LEAST_x symbol ready for the N+1 version of gcc
compared to the latest one we support.

As we're supporting up to gcc 13.x right now, let's introduce the
symbol BR2_ARCH_NEEDS_GCC_AT_LEAST_14 so that gcc 13.x toolchains can
be marked depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_14.

The other alternative would be to make the gen-bootlin-toolchains a
bit smarter, and not emit this depends on
!BR2_ARCH_NEEDS_GCC_AT_LEAST_14 if BR2_ARCH_NEEDS_GCC_AT_LEAST_14 does
not exist. But this would require re-running the script when
BR2_ARCH_NEEDS_GCC_AT_LEAST_14 which we are unlikely to do. While
today, when the script is invoked, the usual check-symbols complains
and reminds us that BR2_ARCH_NEEDS_GCC_AT_LEAST_14 should be added, so
we remember to do it right away.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-12-28 21:57:44 +01:00
..
arch.mk arch: set ld's common-page-size explicitly 2022-08-23 23:51:48 +02:00
arch.mk.arc arch: set ld's common-page-size explicitly 2022-08-23 23:51:48 +02:00
arch.mk.riscv arch/riscv: enable RISC-V Toolchain with Vector Extension 2023-07-23 12:08:54 +02:00
arch.mk.xtensa arch/arch.mk.xtensa: relax check on overlay file to apply only to internal toolchains 2022-11-13 22:32:31 +01:00
Config.in arch/Config.in: introduce BR2_ARCH_NEEDS_GCC_AT_LEAST_14 2023-12-28 21:57:44 +01:00
Config.in.arc
Config.in.arm arch/Config.in.arm: drop support for iwmmxt architecture variant 2022-09-25 14:06:08 +02:00
Config.in.m68k arch: rework MMU option handling and move to "Target architecture" menu 2022-07-27 11:38:07 +02:00
Config.in.microblaze
Config.in.mips arch/mips: re-add support for MIPS IV 2023-08-10 22:39:10 +02:00
Config.in.nios2
Config.in.or1k
Config.in.powerpc arch/powerpc: drop ABI selection 2023-08-20 23:22:27 +02:00
Config.in.riscv arch/Config.in.riscv: allow extensions for generic 2023-08-18 23:45:45 +02:00
Config.in.s390x
Config.in.sh arch/Config.in.sh: move BR2_ARCH_HAS_MMU_MANDATORY one level up 2022-04-24 10:45:17 +02:00
Config.in.sparc
Config.in.x86 arch/Config.in.x86: consolidate Geode CPU targets 2023-08-01 23:16:02 +02:00
Config.in.xtensa arch: rework MMU option handling and move to "Target architecture" menu 2022-07-27 11:38:07 +02:00