u-boot/arch/m68k
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 m68k: merge compile flags -ffixed-d7 -sep-data 2014-03-04 09:27:40 -05:00
include/asm include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
lib m68k: convert makefiles to Kbuild style 2013-11-01 11:42:12 -04:00
config.mk kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00