diff --git a/Config.in b/Config.in index a543091d4f..d730f2034b 100644 --- a/Config.in +++ b/Config.in @@ -74,6 +74,26 @@ config BR2_HOST_GCC_AT_LEAST_11 default y if BR2_HOST_GCC_VERSION = "11" select BR2_HOST_GCC_AT_LEAST_10 +config BR2_HOST_GCC_AT_LEAST_12 + bool + default y if BR2_HOST_GCC_VERSION = "12" + select BR2_HOST_GCC_AT_LEAST_11 + +config BR2_HOST_GCC_AT_LEAST_13 + bool + default y if BR2_HOST_GCC_VERSION = "13" + select BR2_HOST_GCC_AT_LEAST_12 + +config BR2_HOST_GCC_AT_LEAST_14 + bool + default y if BR2_HOST_GCC_VERSION = "14" + select BR2_HOST_GCC_AT_LEAST_13 + +config BR2_HOST_GCC_AT_LEAST_15 + bool + default y if BR2_HOST_GCC_VERSION = "15" + select BR2_HOST_GCC_AT_LEAST_14 + # When adding new entries above, be sure to update # the HOSTCC_MAX_VERSION variable in the Makefile. diff --git a/Makefile b/Makefile index 5ca31caa27..d59a333d2e 100644 --- a/Makefile +++ b/Makefile @@ -353,7 +353,7 @@ export HOSTARCH := $(shell LC_ALL=C $(HOSTCC_NOCCACHE) -v 2>&1 | \ # When adding a new host gcc version in Config.in, # update the HOSTCC_MAX_VERSION variable: -HOSTCC_MAX_VERSION := 11 +HOSTCC_MAX_VERSION := 15 HOSTCC_VERSION := $(shell V=$$($(HOSTCC_NOCCACHE) --version | \ sed -n -r 's/^.* ([0-9]*)\.([0-9]*)\.([0-9]*)[ ]*.*/\1 \2/p'); \