Tim Bird wrote:
> Thiemo Seufer wrote:
> > It looks like the other arch-specific Makefiles also override the
> > environment.
> 4 other arches I work with don't.
> > To work around the problem, you can disable
> > CONFIG_CROSSCOMPILE and define CROSS_COMPILE in the environment.
> I thought that might be the case, but that's pretty broken IMHO.
> It's counterintuitive and undocumented.
> > Strangely enough, the help for CONFIG_CROSSCOMPILE already explains
> > that.
> Here's the help from my Kconfig.debug:
> Say Y here if you are compiling the kernel on a different
> architecture than the one it is intended to run on.
> Am I missing something?
Update to a newer version:
bool "Are you using a crosscompiler"
Say Y here if you are compiling the kernel on a different
architecture than the one it is intended to run on. This is just a
convenience option which will select the appropriate value for
the CROSS_COMPILE make variable which otherwise has to be passed on
the command line from mips-linux-, mipsel-linux-, mips64-linux- and
mips64el-linux- as appropriate for a particular kernel configuration.
You will have to pass the value for CROSS_COMPILE manually if the
name prefix for your tools is different.