[PATCH] Explicitly use BUILD_CC and TARGET_CC
Lombard, David N
dnlombar at ichips.intel.com
Tue Aug 19 11:38:16 EDT 2008
On Sun, Aug 17, 2008 at 08:33:30PM -0700, Jeremy Kerr wrote:
> Currently, we override CC for build and target compiles:
>
> $(BIN_TO_HEX): CC=$(BUILD_CC)
>
> However, this breaks when a user does something like:
>
> make CC=host-arch-gcc
>
> - since command-line parameter overrides all makefile variables, so
> we end up using host-arch-gcc for *all* compiles, including those for
> target and build.
>
> This change explicitly uses BUILD_CC and TARGET_CC where necessary,
> so that the CC variable isn't used for build and target compiles.
Thanks!
--
David N. Lombard, Intel, Irvine, CA
I do not speak for Intel Corporation; all comments are strictly my own.
More information about the kexec
mailing list