[Buildroot] Question about kernel defconfig

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Nov 22 17:33:27 UTC 2010

Hello Sam,

I am currently working on cleaning up how Buildroot handles board
configuration [1]. As part of this clean up, I'd like to move away from
full kernel .config files and instead use minimal kernel configs (only
non-default options are stored, the kernel configuration files are
produced with savedefconfig).

So, for example for the Qemu Versatile platform, I have the kernel
configuration file visible at

When Buildroot configures the kernel, it simply copies the given kernel
configuration file to .config into the kernel source tree. See

Unfortunately, with those minimal configuration files, the kernel
"Restart config" and then asks interactively for the value of all
options not specificied in the minimal configuration file.

I'd like to have the same behaviour the kernel has when using its own
internal defconfigs files from arch/$(ARCH)/configs. Is this possible ?
Did I miss something totally obvious ?



Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list