-config GCC_VERSION_4_8_LINARO
- default y if (!TOOLCHAINOPTS && !(TARGET_octeon || arc))
+config GCC_VERSION_11
+ default y if GCC_USE_VERSION_11
bool
-config GCC_VERSION_4_8_ARC
- default y if (!TOOLCHAINOPTS && arc)
+config GCC_VERSION_12
+ default y if GCC_USE_VERSION_12
bool
config GCC_VERSION
string
- default "5.2.0" if GCC_VERSION_5
- default "4.8-linaro" if GCC_VERSION_4_8_LINARO
- default "arc-2015.06" if GCC_VERSION_4_8_ARC
- default "4.8-linaro"
+ default EXTERNAL_GCC_VERSION if EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
+ default "11.3.0" if GCC_VERSION_11
+ default "12.3.0" if GCC_VERSION_12
+ default "13.2.0"
-config GCC_VERSION_4_8
- bool
- default y if (GCC_VERSION_4_8_LINARO || GCC_VERSION_4_8_ARC)
-
-config GCC_VERSION_5
+config GCC_USE_DEFAULT_VERSION
bool
+ default y if !TOOLCHAINOPTS || GCC_USE_VERSION_13
+ imply KERNEL_WERROR