All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel type selection
@ 2010-12-14 20:59 Darren Hart
  2010-12-20  5:08 ` Bruce Ashfield
  0 siblings, 1 reply; 6+ messages in thread
From: Darren Hart @ 2010-12-14 20:59 UTC (permalink / raw)
  To: poky@yoctoproject.org

In developing new kernel recipes, I've run across some difficulty in 
determining the ideal way to select one kernel recipe over another. The 
machine configs specify the preferred provider. For the Linaro layer, I 
setup new machine configs which specified the linux-linaro as the 
preferred kernel.

As I'm working with preempt_rt, I'm running into this again. I could 
create more machine configs, but this approach won't scale well (having 
to create a copy of all the supported machine configs just to change the 
preferred kernel). I could set LINUX_KERNEL_TYPE="preempt_rt" in my 
local.conf, but that would reuse all the settings in the existing 
recipes (like COMPATIBLE_MACHINES), all of which don't necessary apply 
to the new kernel type.

I've considered looking for a way to specify the kernel type in the new 
image definitions (ie poky-image-rt) and creating new recipes for each 
kernel type. I like the idea of one recipe per kernel type as this makes 
things more explicit and avoids contamination between the various kernel 
types. This approach however seems to be at odds with the Poky way of 
doing this which, as I understand it, would be to specify the provider 
in the machine config and any modifiers (like type) in the local.conf.

Can we get a discussion started here to determine some best practices?

Thanks,

-- 
Darren Hart
Yocto Linux Kernel


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-21  4:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 20:59 kernel type selection Darren Hart
2010-12-20  5:08 ` Bruce Ashfield
2010-12-20 18:15   ` Darren Hart
2010-12-20 21:19     ` Khem Raj
2010-12-21  3:24       ` Bruce Ashfield
2010-12-21  4:20         ` Darren Hart

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.