MLK-18641 arm: Remove the check for gcc6 requirement
authorYe Li <ye.li@nxp.com>
Wed, 20 Jun 2018 06:40:35 +0000 (23:40 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:33:58 +0000 (02:33 -0700)
The u-boot 2018 forces to use gcc 6.0 or later to save binary size for some platforms.
This check causes problem for android building because android tool chain remains
using gcc 4.9.
Since iMX6/7/8 platforms don't meet binary size issue, we can remove the checkgcc6
and use old gcc.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 518b585b37cb79a52a558b9fc03fd9311855dab9)

arch/arm/config.mk

index f256031..d41f47c 100644 (file)
@@ -65,8 +65,7 @@ endif
 checkgcc6:
        @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'; \
-               false; \
+               echo '*** Your GCC is older than 6.0 and will not be supported'; \
        fi