All of lore.kernel.org
 help / color / mirror / Atom feed
* Proper recipe naming and PV definition
@ 2010-12-06 23:17 Darren Hart
  2010-12-06 23:24 ` Koen Kooi
  2010-12-07  0:53 ` Bruce Ashfield
  0 siblings, 2 replies; 8+ messages in thread
From: Darren Hart @ 2010-12-06 23:17 UTC (permalink / raw)
  To: poky@yoctoproject.org; +Cc: Marcin Juszkiewicz

I'm having trouble determining what the best practice is for naming a 
linux kernel recipe.

The meta-linaro layer contains a linux-linaro recipe, and eventually I'd 
like it to contain two. One for the stable kernel and one for the 
development kernel. These are currently 2.6.35 and 2.6.37 respectively. 
I currently have:

linux-linaro-2.6.35_git.bb
PV=2.6.35

This results in directory names in the build tree like:
linux-linaro-2.6.36_2.6.35 (or similar, with the version duplicated). As 
I understand it, the PV _must_ contain a standard Linux kernel version 
along the lines of 2.6.[0-9]+-* (and parsing fails without it).

In order to both track the version and distinguish between stable and 
dev, would something like the following be appropriate? This also 
replaces _git with _KERNELVER (as proposed by Marcin).

linux-linaro-stable_2.6.35.bb
PV=2.6.35+git${SRCREV}

linux-linaro-dev_2.6.37.bb
PV=2.6.37+git${SRCREV}

Thanks,

-- 
Darren Hart
Yocto Linux Kernel


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

end of thread, other threads:[~2010-12-07 15:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-06 23:17 Proper recipe naming and PV definition Darren Hart
2010-12-06 23:24 ` Koen Kooi
2010-12-06 23:59   ` Darren Hart
2010-12-07  0:53 ` Bruce Ashfield
2010-12-07  3:46   ` Darren Hart
2010-12-07  4:02     ` Chris Larson
2010-12-07 15:23       ` Bruce Ashfield
2010-12-07 15:20     ` Bruce Ashfield

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.