[U-Boot] [PATCH] build:arm: Remove setting of CROSS_COMPILE environment variable

Albert ARIBAUD albert.u.boot at aribaud.net
Mon Apr 7 20:05:20 CEST 2014


Hi Lukasz,

On Tue, 18 Mar 2014 16:46:48 +0100, Lukasz Majewski
<l.majewski at samsung.com> wrote:

> After Kbuild introduction, the CROSS_COMPILE environment variable has been
> set to some default value (prefix arm-linux-).
> 
> This shall be removed since it breaks building u-boot for native arm target
> (like qemu ARM).
> Moreover not all compilers have arm-linux- prefix.
> 
> Additionally the u-boot cross compiles with CROSS_COMPILE= set explicitly-
> e.g.:
> CROSS_COMPILE=/ .... /arm-v7a-linux-gnueabi- make
> 
> Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
> Cc: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
>  arch/arm/config.mk |    4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/arch/arm/config.mk b/arch/arm/config.mk
> index f4c2d81..178a59a 100644
> --- a/arch/arm/config.mk
> +++ b/arch/arm/config.mk
> @@ -5,10 +5,6 @@
>  # SPDX-License-Identifier:	GPL-2.0+
>  #
>  
> -ifeq ($(CROSS_COMPILE),)
> -CROSS_COMPILE := arm-linux-
> -endif
> -
>  ifndef CONFIG_STANDALONE_LOAD_ADDR
>  ifneq ($(CONFIG_OMAP_COMMON),)
>  CONFIG_STANDALONE_LOAD_ADDR = 0x80300000

Applied to u-boot-arm/master, thanks!

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list