]> git.dujemihanovic.xyz Git - u-boot.git/commit
push CROSS_COMPILE out to $(ARCH)_config.mk
authorMike Frysinger <vapier@gentoo.org>
Mon, 15 Jun 2009 03:33:14 +0000 (23:33 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 19 Jul 2009 19:36:11 +0000 (21:36 +0200)
commit1ea6bcd8590b3ff9fe2bfbb0eb29a3b0edaa9460
tree64b90b82240da1bfa1c99b7979d6f3a4673751bd
parent60a3f404acbf8238a3138fe1f80a6bac75da4582
push CROSS_COMPILE out to $(ARCH)_config.mk

Each arch should handle setting a proper default CROSS_COMPILE value in
their own config.mk file rather than having to maintain a large ugly list
in the Makefile.  By using conditional assignment, we don't have to worry
about the variable already being set (env/cmdline/etc...).

The common config.mk file takes care of exporting CROSS_COMPILE already,
and while a few variables (toolchain ones) utilize CROSS_COMPILE before
including the arch config.mk, they do so with deferred assignment.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 files changed:
Makefile
arm_config.mk
avr32_config.mk
blackfin_config.mk
i386_config.mk
m68k_config.mk
microblaze_config.mk
mips_config.mk
nios2_config.mk
nios_config.mk
ppc_config.mk
sh_config.mk
sparc_config.mk