linux-mips
[Top] [All Lists]

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

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] fix mips/Makefile to support CROSS_COMPILE from environment var
From: Tom Rini <trini@kernel.crashing.org>
Date: Thu, 4 May 2006 16:34:29 -0700
Cc: Thiemo Seufer <ths@networkno.de>, Tim Bird <tim.bird@am.sony.com>, linux-mips@linux-mips.org
In-reply-to: <20060504231432.GC12676@smtp.west.cox.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <445A577D.7090507@am.sony.com> <20060504205517.GF18218@networkno.de> <20060504210449.GA12676@smtp.west.cox.net> <20060504230647.GA3465@linux-mips.org> <20060504231432.GC12676@smtp.west.cox.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060403
On Thu, May 04, 2006 at 04:14:32PM -0700, Tom Rini wrote:
> On Fri, May 05, 2006 at 12:06:47AM +0100, Ralf Baechle wrote:
> > On Thu, May 04, 2006 at 02:04:49PM -0700, Tom Rini wrote:
> > 
> > > Let me ask a stupid question.  With all of the ways to otherwise do a
> > > cross compile, why a config option on MIPS?  ARM*/SH*, which are at
> > > least as likely to not be native-compiled, don't do that.  Just
> > > something I've always wondered, really.
> > 
> > Having such information in an environment variable is imho terribly
> > inelegant, having to pass it on the command line for each make invocation
> > is terrible abuse for the fingertips so I went for this option which makes
> > the makefile pick the right prefix.
> 
> I don't suppose you'd be willing to front pushing that to the rest of
> the world then, would you?  Inconsistency is more of a problem for me
> than changing any of my scripts to use something else :)

... I forgot this doesn't take a string value of what to use but
hard-coded options.

-- 
Tom Rini
http://gate.crashing.org/~trini/

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