[poky] Customizing kernels
Tom Rini
tom_rini at mentor.com
Wed Jul 27 12:58:45 PDT 2011
On 07/27/2011 10:25 AM, Gary Thomas wrote:
> To run a customized kernel configuration, I've been doing this:
> % bitbake virtual/kernel
> % bitbake virtual/kernel -c menuconfig
> % bitbake virtual/kernel -c compile -f
> % bitbake virtual/kernel
>
> Is there some way that the kernel recipes (probably kernel.bbclass)
> could mark the compile state as invalid so that the '-c compile -f'
> step is no longer needed (implied)?
What's the reason around the first bitbake? I know with pstage you
needed to do that for an empty TMPDIR to populate out everything else,
but sstate shouldn't have that weakness. It should just be:
$ bitbake virtual/kernel -c menuconfig
$ bitbake virtual/kernel
And get populating from sstate correct.
--
Tom Rini
Mentor Graphics Corporation
More information about the poky
mailing list