[Buildroot] [PATCH 1 of 3] linux: add linux-update-config and linux-update-defconfig targets

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Sep 27 20:46:03 UTC 2011


Le Tue, 27 Sep 2011 21:21:09 +0200,
Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> a écrit :

> In analogy to build targets uclibc-update and busybox-update, add
> extra targets to copy the current configuration to the custom
> configuration file set in buildroot. These targets facilitate the
> work of developers adding support for a specific board.
> 
> linux-update-config copies .config directly.
> linux-update-defconfig first creates a defconfig and copies that.
> 
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>

Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

As further improvements, I am wondering :

 * Whether linux-update-*config should display a warning/error when
   BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE is not used, instead of being
   silent.

 * Whether this configuration update shouldn't be done automatically
   when one does "make linux-menuconfig" or "make linux-xconfig".
   People have often found strange to loose their configuration changes
   in Linux/Busybox/uClibc when they do a make clean.

But regardless of this discussion, I think your patch should be merged
as is.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list