X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=arch%2Farm%2Fconfig.mk;fp=arch%2Farm%2Fconfig.mk;h=a3e14a862b15af8267283d3ffa817172042db296;hb=6e2f1538959d79b54a0ceeed2f24643cf98ebaa4;hp=0550225581f40f858cca4e88e7a6ad7cdcbc842e;hpb=29c4d281bc9d379450f792050c7681022f6fbafa;p=oweals%2Fu-boot.git diff --git a/arch/arm/config.mk b/arch/arm/config.mk index 0550225581..a3e14a862b 100644 --- a/arch/arm/config.mk +++ b/arch/arm/config.mk @@ -40,7 +40,8 @@ ifeq ($(CONFIG_SYS_THUMB_BUILD),y) archprepare: checkthumb checkthumb: - @if test "$(call cc-version)" -lt "0404"; then \ + @if test "$(call cc-name)" = "gcc" -a \ + "$(call cc-version)" -lt "0404"; then \ echo -n '*** Your GCC does not produce working '; \ echo 'binaries in THUMB mode.'; \ echo '*** Your board is configured for THUMB mode.'; \