summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBrian Sune <[email protected]>2025-12-02 12:10:29 +0800
committerTom Rini <[email protected]>2025-12-06 08:18:16 -0600
commitbb1c2b463265175f05a1e5de7b39de815db1a03a (patch)
treeb7477efe92af29781bf47c8aeb726c05c9b916c9 /arch
parentb5d592eff12c8a7ad6a8d88573faaef0894f00b0 (diff)
update GCC version check after Kbuild bump
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 <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/config.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 73fddd50bd7..a7eff84a267 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -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