[pp] kbuild: ARCH-setup (Re: kbuild feature/question: default ARCH)

2007-02-14 Thread Oleg Verych
Hallo. On Wed, Feb 14, 2007 at 10:11:44AM +0100, Sam Ravnborg wrote: > 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

Re: kbuild feature/question: default ARCH

2007-02-14 Thread Sam Ravnborg
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 includ

Re: kbuild feature/question: default ARCH

2007-02-13 Thread Randy Dunlap
On Tue, 13 Feb 2007 22:06:19 -0800 Randy Dunlap wrote: > --- > > If ARCH is unspecified (command line or environment) and if > include/asm is already a symlink to include/asm-$ARCH, > use that ARCH as the default instead of the host ARCH. > Undo the effect of this by using 'make mrproper' or just

kbuild feature/question: default ARCH

2007-02-13 Thread Randy Dunlap
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. I have a non-working patch, complete with a circular dependency which is dropped: make: Circular ' <- ' dependency dropped. Any sugges