Re: kbuild feature/question: default ARCH

From: Sam Ravnborg
Date: Wed Feb 14 2007 - 04:12:17 EST


On Tue, Feb 13, 2007 at 10:06:19PM -0800, Randy Dunlap wrote:
> Hi,
>
> I'd like for kbuild to default ARCH to the already-symlinked
> arch in include/asm-$(ARCH) if ARCH is not specified on the
> command line or in the environment.
Another approach I have been toying with previously was to
include ARCH in .config. But I somehow failed
to get it working and it went on my TODO list.

If kconfig get extended to so it can include Kconfig
files for all archs then it could be a Kconfig
option like anything else to select architecture
and this would also solve your issue.

As for the "export ARCH=i386" proposal this is of no
use for people crosscompiling a lot.
Think of the 'Al Viro' setup with crosscompile for 5+
different architectures.

But as I have no patches this is just cheap talk for now.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/