-config GCC_VERSION_4_6_LINARO
- default y if (!TOOLCHAINOPTS && TARGET_octeon)
+config GCC_VERSION_11
+ default y if GCC_USE_VERSION_11
bool
-config GCC_VERSION_4_8_LINARO
- default y if (!TOOLCHAINOPTS && !TARGET_octeon)
+config GCC_VERSION_12
+ default y if GCC_USE_VERSION_12
bool
-config GCC_VERSION_4_9_LINARO
+config GCC_VERSION_14
+ default y if GCC_USE_VERSION_14
bool
config GCC_VERSION
string
- default "4.6.3" if GCC_VERSION_4_6_3
- default "5.2.0" if GCC_VERSION_5
- default "4.6-linaro" if GCC_VERSION_4_6_LINARO
- default "4.8-linaro" if GCC_VERSION_4_8_LINARO
- default "4.9-linaro" if GCC_VERSION_4_9_LINARO
- default "4.6-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 "14.1.0" if GCC_VERSION_14
+ default "13.2.0"
-config GCC_VERSION_4_6
- bool
- default y if GCC_VERSION_4_6_LINARO
-
-config GCC_VERSION_4_8
- bool
- default y if GCC_VERSION_4_8_LINARO
-
-config GCC_VERSION_4_9
- bool
- default y if GCC_VERSION_4_9_LINARO
-
-config GCC_VERSION_5
+config GCC_USE_DEFAULT_VERSION
bool
+ default y if !TOOLCHAINOPTS || GCC_USE_VERSION_13
+ imply KERNEL_WERROR