[yocto] Compiling custom kernel

Alvaro Garcia maxpowel at gmail.com
Wed Mar 29 10:11:20 PDT 2017


Hi, I'm trying to compile a custom kernel (just custom config).
I created a recipe called linux-yocto in my layer:
meta-test
-recipes-test
--linux-yocto
---linux-yocto.bbapend
---files
----enable_various_options.cfg

The content of the linux-yocto.bbapend is:

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://enable_various_options.cfg"

And the content of enable_various_options.cfg is:
CONFIG_DRM_NOUVEAU=y

The way I generated enable_various_options.cfg was
bitbake -c menuconfig virtual/kernel
Select my configuration
bitbake -c devshell virtual/kernel
diff of the original .config and the new one.
I just followed the instructions here
https://lists.yoctoproject.org/pipermail/yocto/2014-June/020174.html
and here
https://software.intel.com/sites/default/files/m/4/d/8/5/8/42868-11__Developing_Kernel_Module_on_Yocto.pdf

Then I run bitbake core-image-x11
I got this warning:
WARNING:
/home/amacho/poky/meta/recipes-kernel/linux/linux-yocto_4.4.bb.do_kernel_configme
is tainted from a forced run
but the kernel is not compiled with the new config (I do md5 to vmlinuz and
was exactly the same).

Can you help me to find the way I can compile this kernel?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170329/cf100ae2/attachment.html>


More information about the yocto mailing list