[U-Boot] kbuild: fix CROSS_COMPILE settings in config.mk
Tom Rini
trini at ti.com
Tue Mar 4 20:18:10 CET 2014
On Fri, Feb 28, 2014 at 02:33:30PM +0900, Masahiro Yamada wrote:
> The syntax
> CROSS_COMIPLE ?= <cross_compiler_prefix>
> does not work because config.mk is parsed after
> exporting CROSS_COMPILE.
>
> Like Linux Kernel's arch/$(ARCH)/Makefile,
> we must write as follows:
>
> ifeq ($(CROSS_COMPILE),)
> CROSS_COMPILE := <cross_compiler_prefix>
> endif
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140304/1082cf2e/attachment.pgp>
More information about the U-Boot
mailing list