When building a kernel for a different architecture
kbuild requires the user always to specify ARCH and
CROSS_COMPILE on the command-line.
Failing to do so can result in strange build errros especially
when the asm symlink point to anohter architecture than
the one being build.
The typical case is
On Tue, Oct 09, 2007 at 10:09:06AM -0400, Jeff Dike wrote:
> On Tue, Oct 09, 2007 at 12:00:30PM +0200, Sam Ravnborg wrote:
> > If it is OK to drop the $(SUBARCH) assingment like this then yes.
> > ARCH?=
> > CROSS_COMPILE ?=
>
> Does the UML build still work when you do that?
On Tue, Oct 09, 2007 at 11:39:21AM +0200, Andi Kleen wrote:
> Sam Ravnborg <[EMAIL PROTECTED]> writes:
> >
> > -ARCH ?= $(SUBARCH)
> > -CROSS_COMPILE ?=
>
> Can you do this in a way that there are still these ARCH/CROSS_COMPILE
> lines that are just overriden when empty or hav
On Tue, Oct 09, 2007 at 08:03:33AM +0200, Sam Ravnborg wrote:
> On Mon, Oct 08, 2007 at 11:12:56PM +0200, Adrian Bunk wrote:
>...
> > BTW: I'm currently trying without success to understand why the
> > drivers/infiniband/{hw/amso1100,ulp/srp}/Kbuild files are not
> > named "Makefile".
> G
On Tue, Oct 09, 2007 at 06:17:43AM +0200, Sam Ravnborg wrote:
> >
> > What about, that this is the first ever prompt, that must be shown and
> > written to the .config?
> Two issues to fix before we can do this:
> 1) chocie values cannot have more than one prompt
what occupying all my time now is