
Dear Mike Frysinger,
In message 1245036794-7396-1-git-send-email-vapier@gentoo.org you wrote:
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
Makefile | 44 ++------------------------------------------ arm_config.mk | 2 ++ avr32_config.mk | 2 ++ blackfin_config.mk | 2 ++ i386_config.mk | 2 ++ m68k_config.mk | 2 ++ microblaze_config.mk | 2 ++ mips_config.mk | 2 ++ nios2_config.mk | 2 ++ nios_config.mk | 2 ++ ppc_config.mk | 2 ++ sh_config.mk | 2 ++ sparc_config.mk | 2 ++ 13 files changed, 26 insertions(+), 42 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk