linux-mips
[Top] [All Lists]

Re: [PATCH] fix mips/Makefile to support CROSS_COMPILE from environment

To: Thiemo Seufer <ths@networkno.de>
Subject: Re: [PATCH] fix mips/Makefile to support CROSS_COMPILE from environment var
From: Tim Bird <tim.bird@am.sony.com>
Date: Thu, 04 May 2006 14:17:05 -0700
Cc: linux-mips@linux-mips.org
In-reply-to: <20060504205517.GF18218@networkno.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <445A577D.7090507@am.sony.com> <20060504205517.GF18218@networkno.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5 (X11/20051201)
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?
 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================

<Prev in Thread] Current Thread [Next in Thread>