]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: support allnoconfig base configuration
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 15 Nov 2011 21:10:06 +0000 (16:10 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Dec 2011 15:19:45 +0000 (15:19 +0000)
commit644f2e525b910b9ff8d9aaa33f11eba3fefa7c85
treea67fe2df45969ccc423da26c44a9aff26b842283
parentbdcbccb9865e31c68cadbdd276f0f42ea6b2c0c1
kernel-yocto: support allnoconfig base configuration

When creating a minimal config or creating a hard baseline for
incremental changes, it is often desired to disable all kernel
options and then begin building and enabling only what is required.

To support this workflow, a new variable KCONFIG_MODE is introduced
to contain a hint to the kernel configuration about how the kernel
config should be produced. This variable is passed directly to lkc
when it is invoked during configuration, so the contents of the
variable must be a valid option for the kernel config build.

Additionally, when a defconfig is detected, allnoconfig is enabled
as the default operation, unless otherwise specified by KCONFIG_MODE.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/kernel-yocto.bbclass