diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-02-28 05:33:30 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-03-04 17:15:30 (GMT) |
commit | 9b6e2c363f2686d6f7bf61fbe58b7591b71d3e8b (patch) | |
tree | aba046ec8f727fe744034100c5916af4186d4fd8 /arch/nios2/cpu | |
parent | a86cf89c765d99c39b397abe3d9926ab3593f57a (diff) | |
download | u-boot-9b6e2c363f2686d6f7bf61fbe58b7591b71d3e8b.tar.xz |
kbuild: fix CROSS_COMPILE settings in config.mk
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@jp.panasonic.com>
Diffstat (limited to 'arch/nios2/cpu')
0 files changed, 0 insertions, 0 deletions