arch/Config.in: add BR2_ARCH_NEEDS_GCC_AT_LEAST_10
authorRomain Naour <romain.naour@gmail.com>
Mon, 8 Jun 2020 22:13:45 +0000 (00:13 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 24 Jun 2020 19:57:43 +0000 (21:57 +0200)
This new symbol will be used by architectures introduced with gcc 10.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
arch/Config.in
package/gcc/Config.in.host

index 94bd2150cab365a87258681588ee8f24731d812e..0707c076e2ab9af4edb824f9fda54e3e2c46d0a7 100644 (file)
@@ -308,6 +308,10 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_9
        bool
        select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
 
+config BR2_ARCH_NEEDS_GCC_AT_LEAST_10
+       bool
+       select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
+
 # The following string values are defined by the individual
 # Config.in.$ARCH files
 config BR2_ARCH
index 264428d06b8974fb56f339805cbbdb277de96a37..c7444e243babb28a3e35152023dd34169ca18ac3 100644 (file)
@@ -39,6 +39,7 @@ config BR2_GCC_VERSION_8_X
 
 config BR2_GCC_VERSION_9_X
        bool "gcc 9.x"
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_10
        # or1k needs binutils >= 2.32
        depends on !(BR2_or1k && BR2_BINUTILS_VERSION_2_31_X)
        # powerpc spe support has been deprecated since gcc 8.x.