u-boot/arch/nios2
Masahiro Yamada 9b6e2c363f 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>
2014-03-04 12:15:30 -05:00
..
cpu nios2: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
include/asm Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lib nios2: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
config.mk kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00