linux-yocto: Use INC_PR and move kernel require to linux-yocto.inc

When making changes to kernel.bbclass, it would be nice not to have to
manually change the PR of every linux-yocto*.bb file that requires it.

Move the "require kernel" line to linux-yocto.inc and update the
linux-yocto recipes to use INC_PR.

(From OE-Core rev: 7a41d96c946029aeec03cd26f326bc6ca26e74fd)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Darren Hart
2012-06-27 17:38:57 -07:00
committed by Richard Purdie
parent 11809e3fd1
commit 934bb7bbfc
8 changed files with 10 additions and 14 deletions

View File

@@ -1,4 +1,3 @@
inherit kernel
require recipes-kernel/linux/linux-yocto.inc
KBRANCH = "standard/default/base"
@@ -18,7 +17,7 @@ SRCREV_machine_qemux86-64 ?= "dd488f551fa0f8e3bf1aadd78083b8547bba8bdf"
SRCREV_machine ?= "76133a1cadf0de417c29ed15d6fbb12c41c0802b"
SRCREV_meta ?= "ee78519365bdb25287703bbc31c06b193263c654"
PR = "r1"
PR = "${INC_PR}.0"
PV = "${LINUX_VERSION}+git${SRCPV}"
KMETA = "meta"