[yocto] How to set KCONFIG_MODE for defconfig and fragments

Kunihiko Hayashi hayashi.kunihiko at socionext.com
Sun Jun 12 18:40:17 PDT 2016


Hello, all

Now I'm trying to build my own kernel with linux-yocto recipe,
and I make kernel configuration fragments (".cfg" file) according to
"Linux Kernel Development Manual", and my fragments can't be applied
to the kernel at all.

I find that linux-yocto recipe uses "allnoconfig" as default, and
configurations that my fragments depend on are disabled.

> KCONFIG_MODE = "--allnoconfig"

I assume that KCONFIG_MODE has the option of "configme" script,
but this option is undocumented on any manuals.

If I apply "defconfig" and my additional fragments as it is,
how do I set KCONFIG_MODE in my recipe? (null string or another option?)

Regards,
---
Kunihiko Hayashi
:hayashi.kunihiko at socionext.com




More information about the yocto mailing list