diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-06-27 17:38:57 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-29 13:31:01 +0100 |
commit | 934bb7bbfcfeee4da556c7ea431ce4071583bc25 (patch) | |
tree | fbf9d8c57930bfbe1a121ecf6a6c4822909a3150 /meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb | |
parent | 11809e3fd1ae074c9ca002543c9c228f2db17784 (diff) | |
download | poky-934bb7bbfcfeee4da556c7ea431ce4071583bc25.tar.gz |
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>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb index 1de0411b96..1dd95c6bf0 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb | |||
@@ -1,4 +1,3 @@ | |||
1 | inherit kernel | ||
2 | require recipes-kernel/linux/linux-yocto.inc | 1 | require recipes-kernel/linux/linux-yocto.inc |
3 | 2 | ||
4 | KBRANCH = "yocto/standard/preempt-rt/base" | 3 | KBRANCH = "yocto/standard/preempt-rt/base" |
@@ -12,7 +11,7 @@ SRCREV_machine ?= "e67428d9966eecec4c081993dc64ceb5c0e64643" | |||
12 | SRCREV_machine_qemuppc ?= "dcca458cb92cc287f70e4062f02460f36a881b16" | 11 | SRCREV_machine_qemuppc ?= "dcca458cb92cc287f70e4062f02460f36a881b16" |
13 | SRCREV_meta ?= "d282029891bba5440630a885b940dea5e34e3e2c" | 12 | SRCREV_meta ?= "d282029891bba5440630a885b940dea5e34e3e2c" |
14 | 13 | ||
15 | PR = "r2" | 14 | PR = "${INC_PR}.0" |
16 | PV = "${LINUX_VERSION}+git${SRCPV}" | 15 | PV = "${LINUX_VERSION}+git${SRCPV}" |
17 | 16 | ||
18 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.0.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta" | 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.0.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta" |