Skip to content
Snippets Groups Projects
Commit 1ea6bcd8 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
parent 60a3f404
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment