]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/config.mk
sunxi: Groundwork to support new dram type for A83T
[u-boot] / arch / arm / config.mk
index 0550225581f40f858cca4e88e7a6ad7cdcbc842e..a3e14a862b15af8267283d3ffa817172042db296 100644 (file)
@@ -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.'; \