]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
update GCC version check after Kbuild bump
authorBrian Sune <briansune@gmail.com>
Tue, 2 Dec 2025 04:10:29 +0000 (12:10 +0800)
committerTom Rini <trini@konsulko.com>
Sat, 6 Dec 2025 14:18:16 +0000 (08:18 -0600)
ARM GCC tool check is not up to date,
while issues are reported such as file truncated linker errors.
Using ARM official cross tools shows that 10.0.1 is a safe
version to support latest kbuild bump properly.

Signed-off-by: Brian Sune <briansune@gmail.com>
arch/arm/config.mk

index 73fddd50bd7a78f1e3bbf3a60803e02e2394f900..a7eff84a267378a61b468ead24606d2a245db27b 100644 (file)
@@ -58,7 +58,7 @@ endif
 
 # Only test once
 ifeq ($(CONFIG_$(PHASE_)SYS_THUMB_BUILD),y)
-archprepare: checkthumb checkgcc6
+archprepare: checkthumb checkgcc10
 
 checkthumb:
        @if test "$(call cc-name)" = "gcc" -a \
@@ -69,13 +69,13 @@ checkthumb:
                false; \
        fi
 else
-archprepare: checkgcc6
+archprepare: checkgcc10
 endif
 
-checkgcc6:
+checkgcc10:
        @if test "$(call cc-name)" = "gcc" -a \
-                       "$(call cc-version)" -lt "0600"; then \
-               echo '*** Your GCC is older than 6.0 and is not supported'; \
+                       "$(call cc-version)" -lt "1000"; then \
+               echo '*** Your GCC is older than 10.0 and is not supported'; \
                false; \
        fi