Re: [PATCH 7/7] kconfig: search for a config to base the local(mod|yes)config on

From: Andi Kleen
Date: Mon May 04 2009 - 10:55:19 EST


On Mon, May 04, 2009 at 02:28:06PM +0200, Peter Zijlstra wrote:
> On Mon, 2009-05-04 at 14:15 +0200, Andi Kleen wrote:
> > Steven Rostedt <rostedt@xxxxxxxxxxx> writes:
> >
> > > Here's the list and order of search:
> > >
> > > /proc/config.gz
> > > /boot/vmlinuz-`uname -r`
> > > vmlinux # local to the directory
> > > /lib/modules/`uname -r`/kernel/kernel/configs.ko
> > > kernel/configs.ko
> > > kernel/configs.o
> > > .config
> >
> >
> > That seems like the wrong order. ./.config should always be first for
> > compatibility.
> >
> > That order would completely wreck all my build scripts, and I suspect
> > others too.
>
> Quite, except that I hardly ever have a ./.config since I make extensive
> use of O=foo

yes I do too. I meant $O/.config sorry

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/