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>
Showing
- Makefile 2 additions, 42 deletionsMakefile
- arm_config.mk 2 additions, 0 deletionsarm_config.mk
- avr32_config.mk 2 additions, 0 deletionsavr32_config.mk
- blackfin_config.mk 2 additions, 0 deletionsblackfin_config.mk
- i386_config.mk 2 additions, 0 deletionsi386_config.mk
- m68k_config.mk 2 additions, 0 deletionsm68k_config.mk
- microblaze_config.mk 2 additions, 0 deletionsmicroblaze_config.mk
- mips_config.mk 2 additions, 0 deletionsmips_config.mk
- nios2_config.mk 2 additions, 0 deletionsnios2_config.mk
- nios_config.mk 2 additions, 0 deletionsnios_config.mk
- ppc_config.mk 2 additions, 0 deletionsppc_config.mk
- sh_config.mk 2 additions, 0 deletionssh_config.mk
- sparc_config.mk 2 additions, 0 deletionssparc_config.mk
Loading
Please register or sign in to comment