[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080229155149.9575f2d0.randy.dunlap@oracle.com>
Date: Fri, 29 Feb 2008 15:51:49 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Michael Buesch <mb@...sch.de>
Cc: Johannes Berg <johannes@...solutions.net>,
"John W. Linville" <linville@...driver.com>,
David Miller <davem@...emloft.net>,
gordonfarquharson@...il.com, netdev@...r.kernel.org,
linux-wireless@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: pull request: wireless-2.6 2008-02-27
On Sat, 1 Mar 2008 00:13:11 +0100 Michael Buesch wrote:
> On Friday 29 February 2008 17:34:13 Johannes Berg wrote:
> >
> > On Fri, 2008-02-29 at 11:26 -0500, John W. Linville wrote:
> > > On Fri, Feb 29, 2008 at 01:16:59PM +0100, Michael Buesch wrote:
> > >
> > > > I'm wondering if we can't simply pass a commandline parameter to file2alias
> > > > that tells it whether we are crosscompiling. It should simply omit the sanity check
> > >
> > > Sounds reasonable to me.
> >
> > In fact, file2alias shouldn't need a command line argument ...
>
> Well, if...
>
> > > > in that case. Is there any easy and reliable way to find out whether we
> > > > are crosscompiling from a makefile (I don't know the makefile core that much)?
> > >
> > > Non-empty CROSS_COMPILE definition?
> >
> > ... it can just check whether CROSS_COMPILE is set in its environment.
> > No?
>
> Is that exported to the environment?
Certainly, in top-level Makefile:
export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION
export ARCH SRCARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC
export CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL UTS_MACHINE
export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS
---
~Randy
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists