[poky] How to build a kernel using menuconfig

Gary Thomas gary at mlbassoc.com
Mon Sep 26 06:45:37 PDT 2011


I'm working with a recent Poky checkout:
   meta-yocto        = "master:7a0cbe6b0e5185aebabedc515b427994bc2a15dc"

I used to be able to do this:
   % bitbake <some-image>
This step builds everything, including the kernel
   % bitbake virtual/kernel -c menuconfig
Adjust some settings
   % bitbake virtual/kernel -c compile -f
   % bitbake virtual/kernel
Rebuild my image with the new kernel included
   % bitbake <some-image>

In the past, this would let me adjust some kernel settings, e.g. add a new
module, then rebuild it and later add this to an image.  Sadly, when I run
through these steps with the current master, the new kernel gets compiled
(because I used -f), but not packaged.

The only thing I've done differently, save updating master, is my build
today includes
   INHERIT += "rm_work"

Am I missing something?

How can I build the kernel and make these in-tree adjustments like I used to?
I do this to figure out what kernel settings to set/save for my final packaging.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list