dm: gpio: Add driver for MPC85XX GPIO controller
[oweals/u-boot.git] / arch / powerpc / config.mk
index 6b44a3709a4afd58c7d765784a46eb816a9f718d..b0ed374563adb66f107fb127b0af328102b12109 100644 (file)
@@ -41,7 +41,8 @@ archprepare: checkgcc4
 # that U-Boot wants.
 # See http://lists.denx.de/pipermail/u-boot/2012-September/135156.html
 checkgcc4:
-       @if test $(call cc-version) -lt 0400; then \
+       @if test "$(call cc-name)" = "gcc" -a \
+                       $(call cc-version) -lt 0400; then \
                echo -n '*** Your GCC is too old, please upgrade to GCC 4.x or newer'; \
                false; \
        fi