[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091011214315.GC2768@merkur.ravnborg.org>
Date: Sun, 11 Oct 2009 23:43:15 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kbuild: save ARCH & CROSS_COMPILE when building a
kernel
On Fri, Oct 09, 2009 at 11:02:09AM +0200, Peter Zijlstra wrote:
> On Mon, 2009-07-20 at 12:01 +0200, Sam Ravnborg wrote:
> > This works both for plain builds and for O=...
> > builds.
> > So now you can do:
> > $ mkdir sparc64
> > $ make O=sparc64 ARCH=sparc64 CROSS_COMPILE=sparc64-linux- defconfig
> > $ cd sparc64
> > $ make
>
> Like anyone who does a lot of cross builds will ever write that by
> hand..
I usually have the first three lines scripted.
And when entering _any_ arch specific directory it
is convinient just to type 'make'.
And yes - I do a lot of cross builds as kbuild by nature
is not tied to a specific architecture.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists