Re: [patch] kbuild: add automatic updateconfig target

Sam Ravnborg
2006-01-18T20:42:45Z

On Wed, Jan 18, 2006 at 08:40:56PM +0100, maximilian attems wrote:
> From: Bastian Blank <waldi@debian.org>
>
> current hack for daily build linux-2.6-git is quite ugly:
> yes "n" | make oldconfig
>
> belows target helps to build git snapshots in a more automated way,
> setting the new options to their default.

Please always add Roman Zippel when dealing with kconfig changes.
We had a similar though more advanced proposal named miniconfig a month
or so ago but Roman had some grief with it so it was not applied.

I've let Roman decide on this one too.
Nitpicking below.

Sam

> +updateconfig: $(obj)/conf
> + $< -U arch/$(ARCH)/Kconfig

The other methods uses small letters so please change to '-u'

> - set_random
> + set_random,
> + update_default,

Keep same naming as the others. May I suggest set_default.

You did not introduce a specific update.config file like for the other
targets. Any reason for that?

Sam