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

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Apr 9 04:09:05 CEST 2014


Hi Albert,

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

BTW, you failed to rephrase the commit message.
Anyway it's too late and OK for me.


> -- 8< --
> For building u-boot on ARM the CROSS_COMPILE environment variable, when
> not defined, was set to default value (prefix arm-linux-).
> 
> Since not all cross compilers have the arm-linux- prefix and this
> setting prevents from building u-boot on natively arm powered devices it
> would be best to remove it.
> 
> As a side note:
> The most universal way to cross compile u-boot is to
> specify the CROSS_COMPILE environment variable explicitly - e.g.:
> CROSS_COMPILE=/ .... /arm-v7a-linux-gnueabi- make
> 
> -- >8 --


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list