Patchwork [6/9] linux-yocto: add 3.4 recipe

login
register
mail settings
Submitter Bruce Ashfield
Date June 7, 2012, 7:59 p.m.
Message ID <aa7a41ce0da88bacb6261af9a1a442eadb65b051.1339098507.git.bruce.ashfield@windriver.com>
Download mbox | patch
Permalink /patch/29397/
State Accepted
Commit f85c3f727fd326fe6dd2f2c2b68c692515867737
Headers show

Comments

Bruce Ashfield - June 7, 2012, 7:59 p.m.
Introducing the 3.4 kernel recipe. At this point there are three
supported kernel 3.4, 3.2 and 3.0.

Build and boot tested on qemux86, qemux86-64, qemuarm, qemumips and
qemuppc

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/recipes-kernel/linux/linux-yocto_3.4.bb |   38 ++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-kernel/linux/linux-yocto_3.4.bb

Patch

diff --git a/meta/recipes-kernel/linux/linux-yocto_3.4.bb b/meta/recipes-kernel/linux/linux-yocto_3.4.bb
new file mode 100644
index 0000000..81816b1
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-yocto_3.4.bb
@@ -0,0 +1,38 @@ 
+inherit kernel
+require recipes-kernel/linux/linux-yocto.inc
+
+KBRANCH = "standard/base"
+KBRANCH_qemux86  = "standard/common-pc/base"
+KBRANCH_qemux86-64  = "standard/common-pc-64/base"
+KBRANCH_qemuppc  = "standard/qemuppc"
+KBRANCH_qemumips = "standard/mti-malta32"
+KBRANCH_qemumips64 = "standard/mti-malta64"
+KBRANCH_qemumips64el = "standard/mti-malta64"
+KBRANCH_qemuarm  = "standard/arm-versatile-926ejs"
+
+SRCREV_machine_qemuarm ?= "bc7dd2ebe7f5443fb9d89d46106053cfc69b5d7f"
+SRCREV_machine_qemumips ?= "5a2ad0078de3d24a6e8e3f3c9a7426a08a86717d"
+SRCREV_machine_qemuppc ?= "f92ab2a332627c0213ecfdfc873d470be008f86b"
+SRCREV_machine_qemux86 ?= "780ab7e11f03931295e8f0e29707f2abb688e9ad"
+SRCREV_machine_qemux86-64 ?= "780ab7e11f03931295e8f0e29707f2abb688e9ad"
+SRCREV_machine ?= "780ab7e11f03931295e8f0e29707f2abb688e9ad"
+SRCREV_meta ?= "3fd089debe624c642d7b4d9363f853021d1675b2"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
+
+LINUX_VERSION ?= "3.4.1"
+
+PR = "r0"
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
+KMETA = "meta"
+
+COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)"
+
+# Functionality flags
+KERNEL_REVISION_CHECKING=""
+KERNEL_FEATURES="features/netfilter"
+KERNEL_FEATURES_append_qemux86=" cfg/sound"
+KERNEL_FEATURES_append_qemux86-64=" cfg/sound"
+
+require recipes-kernel/linux/linux-tools.inc