From: Sam Ravnborg on 25 Jul 2010 18:30 > in kconfig is preferable. > > This patch set introduce "alldefconfig". > alldefconfig create a configuration with all values set > to default values. > This can be usefull when we check if we do have a sane > set of default values. Rhe config can be inspected > using menuconfig. > > The patches also introduce "savedefconfig" which > reads the current configuration and save it > as a minimal configuration. A funny detail that I used in my testing. If we create a config based solely on default values like this: make alldefconfig then when we later save the minimal config like this: make savedefconfig then the resulting defconfig file is empty. This is as expected because all symbols has default values so there is no need to save the value of any symbol. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Uwe Kleine-König on 28 Jul 2010 02:50 Hi Sam, On Sun, Jul 25, 2010 at 11:38:08PM +0200, Sam Ravnborg wrote: > After reading some of the mails about the > defconfig files I decided to take a look at kconfig. > > We already decided to go for a solution where the defconfig > files contains only the minimal configuration. > Uwe developed a script to assist but having native support > in kconfig is preferable. > > This patch set introduce "alldefconfig". > alldefconfig create a configuration with all values set > to default values. > This can be usefull when we check if we do have a sane > set of default values. Rhe config can be inspected > using menuconfig. > > The patches also introduce "savedefconfig" which > reads the current configuration and save it > as a minimal configuration. > > In my testing I benchmarked it with one > of the arm defconfings and the final result is > the same (symbols appear in different order). I would prefer to have them in the same order. I havn't checked the details, but I really like getting support for minimal defconfigs done in kconfig directly. Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-K�nig | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: rtc: Add MAX8998 rtc driver Next: mfd-stmpe: add auto sleep feature |