On Fri, Oct 01, 2010 at 11:47:34PM +0100, Ben Hutchings wrote: > On Fri, 2010-10-01 at 16:05 +0200, Michal Marek wrote: > > On 14.9.2010 05:50, Ben Hutchings wrote: > > > Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx> > > > --- > > > This should work as a substitute for Debian's updateoldconfig. > > > > > > Ben. > > > > > > scripts/kconfig/Makefile | 4 ++++ > > > 1 files changed, 4 insertions(+), 0 deletions(-) > > > > > > diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile > > > index cef3f75..19558a7 100644 > > > --- a/scripts/kconfig/Makefile > > > +++ b/scripts/kconfig/Makefile > > > @@ -112,9 +112,13 @@ defconfig: $(obj)/conf > > > ifeq ($(KBUILD_DEFCONFIG),) > > > $< --defconfig $(Kconfig) > > > else > > > +ifeq ($(KBUILD_DEFCONFIG),old) > > > + $< --defconfig=.config $(Kconfig) > > > +else > > > @echo "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" > > > $(Q)$< --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig) > > > endif > > > +endif > > > > KBUILD_DEFCONFIG is an internal variable used by arch Makefiles to > > select the defconfig file, it should not be abused for a completely > > different purpose. > > OK. > > > Also, the same can be achieved with 'make > > oldnoconfig' or 'yes "" | make oldconfig' in older kernels. > > 'make oldnoconfig' does something different - it answers N to all > questions rather than accepting the default. To get default value for all new options you can use: KCONFIG_ALLCONFIG=.config make alldefconfig Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html