Re: rfc: nonint_oldconfig

From: Roland McGrath
Date: Wed Mar 05 2008 - 20:38:15 EST


> There's also an additional target that does the same, but
> ignores any options defined in the local configs that the kernel
> being configured doesn't know about.

I added this one (loose_nonint_oldconfig target, -B option to conf).
It is the noninteractive equivalent of taking your old .config after a
source upgrade, running 'make oldconfig' and hitting return a lot.
(If options from your old .config went away, you get harmless warnings.
If new options appeared, you get the defaults for those.)
That's what I do in my hand builds after a git pull (hit return a lot).

The benefit of 'make loose_nonint_oldconfig' is it lets me do the same
thing with scripted rpm builds made from fresh git snapshot code. These
builds use a .config chosen for the Fedora production kernel, but a new
code snapshot (sometimes with and sometimes without the Fedora patches to
the kernel). The Fedora patches sometimes add nonstandard config options,
and the bleeding edge kernel snapshot I try sometimes had added new config
options that Fedora's kernel configs do not yet set or clear explicitly.

For development, it is very handy to just get a build that approximates the
Fedora config for the stable kernel but uses the latest development kernel
source. 99% of the time the default for new options works fine for my
purposes. When a new kernel is imported for proper Fedora builds, then
we'll update the standard configs with tested settings for the new source.
Having to tweak those every time I want to spin a testing kernel rpm would
be a waste.


Thanks,
Roland
--
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/