All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: Poky Project <poky@yoctoproject.org>
Subject: Re: How to build a kernel using menuconfig
Date: Tue, 27 Sep 2011 20:45:35 -0700	[thread overview]
Message-ID: <4E82985F.9080009@linux.intel.com> (raw)
In-Reply-To: <4E808201.8080103@mlbassoc.com>



On 09/26/2011 06:45 AM, Gary Thomas wrote:
> 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.


Yeah, this is standard kernel devel workflow. I typically use the kernel
recipe name directly, but otherwise my process is the same. What happens
now when you run "bitbake virtual/kernel" after the compile -f ?

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


  reply	other threads:[~2011-09-28  3:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26 13:45 How to build a kernel using menuconfig Gary Thomas
2011-09-28  3:45 ` Darren Hart [this message]
2011-09-28 11:33   ` Gary Thomas
2011-09-28 13:15     ` Richard Purdie
2011-09-28 13:35       ` Gary Thomas
2011-09-28 23:58         ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E82985F.9080009@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=gary@mlbassoc.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.