diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-01-11 11:58:26 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-18 11:47:03 +0000 |
commit | e9280d13a88701500ffdcb9ba51abeb5c322ca0d (patch) | |
tree | 34fdaae0fe88ea86ee602f7d9c80c7ccff255ed6 | |
parent | 8c3276ecea38d4d67c22e6db49060b2d4b457278 (diff) | |
download | poky-e9280d13a88701500ffdcb9ba51abeb5c322ca0d.tar.gz |
linux-yocto: introduce v4.4 standard/preempt-rt/standard kernel
The 4.4 kernel has been under test via linux-yocto-dev, and is the next
LTS/LTSI kernel.
So we take our -dev support and created a named/versioned recipe for use
in upcoming releases.
(From OE-Core rev: 2dbc788bc3988532f0932e8e51e24ba702c28f6a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | 27 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb | 23 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_4.4.bb | 42 |
3 files changed, 92 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb new file mode 100644 index 0000000000..b7509bb58d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | KBRANCH ?= "standard/preempt-rt" | ||
2 | |||
3 | require recipes-kernel/linux/linux-yocto.inc | ||
4 | |||
5 | SRCREV_machine ?= "86a9e1ab51b9acf71d9c2f39a9f02652886bd727" | ||
6 | SRCREV_meta ?= "ad9d3f01300ba350563e17db00b2518302e172f6" | ||
7 | |||
8 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;branch=${KBRANCH};name=machine \ | ||
9 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}" | ||
10 | |||
11 | LINUX_VERSION ?= "4.4" | ||
12 | |||
13 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
14 | |||
15 | KMETA = "kernel-meta" | ||
16 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
17 | |||
18 | LINUX_KERNEL_TYPE = "preempt-rt" | ||
19 | |||
20 | COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" | ||
21 | |||
22 | # Functionality flags | ||
23 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" | ||
24 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | ||
25 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" | ||
26 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | ||
27 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb new file mode 100644 index 0000000000..d348c0a628 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | KBRANCH ?= "standard/tiny/base" | ||
2 | LINUX_KERNEL_TYPE = "tiny" | ||
3 | KCONFIG_MODE = "--allnoconfig" | ||
4 | |||
5 | require recipes-kernel/linux/linux-yocto.inc | ||
6 | |||
7 | LINUX_VERSION ?= "4.4" | ||
8 | |||
9 | KMETA = "kernel-meta" | ||
10 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
11 | |||
12 | SRCREV_machine ?= "2dadc3524fcbce0c46f5db65b7c20c673fc60503" | ||
13 | SRCREV_meta ?= "ad9d3f01300ba350563e17db00b2518302e172f6" | ||
14 | |||
15 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
16 | |||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;branch=${KBRANCH};name=machine \ | ||
18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}" | ||
19 | |||
20 | COMPATIBLE_MACHINE = "(qemux86)" | ||
21 | |||
22 | # Functionality flags | ||
23 | KERNEL_FEATURES = "" | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.4.bb b/meta/recipes-kernel/linux/linux-yocto_4.4.bb new file mode 100644 index 0000000000..a440cf7b26 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto_4.4.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | KBRANCH ?= "standard/base" | ||
2 | |||
3 | require recipes-kernel/linux/linux-yocto.inc | ||
4 | |||
5 | # board specific branches | ||
6 | KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs" | ||
7 | KBRANCH_qemuarm64 ?= "standard/qemuarm64" | ||
8 | KBRANCH_qemumips ?= "standard/mti-malta32" | ||
9 | KBRANCH_qemuppc ?= "standard/qemuppc" | ||
10 | KBRANCH_qemux86 ?= "standard/base" | ||
11 | KBRANCH_qemux86-64 ?= "standard/base" | ||
12 | KBRANCH_qemumips64 ?= "standard/mti-malta64" | ||
13 | |||
14 | SRCREV_machine_qemuarm ?= "bcfc111e6c14b9f9d6ffa9d357651c0b4489835e" | ||
15 | SRCREV_machine_qemuarm64 ?= "2dadc3524fcbce0c46f5db65b7c20c673fc60503" | ||
16 | SRCREV_machine_qemumips ?= "9d9c37432e75eaeb2232e00cc3c2252440b709b3" | ||
17 | SRCREV_machine_qemuppc ?= "2dadc3524fcbce0c46f5db65b7c20c673fc60503" | ||
18 | SRCREV_machine_qemux86 ?= "2dadc3524fcbce0c46f5db65b7c20c673fc60503" | ||
19 | SRCREV_machine_qemux86-64 ?= "2dadc3524fcbce0c46f5db65b7c20c673fc60503" | ||
20 | SRCREV_machine_qemumips64 ?= "cb3a85329501f541ebfa08febb2f36edcbc6f253" | ||
21 | SRCREV_machine ?= "2dadc3524fcbce0c46f5db65b7c20c673fc60503" | ||
22 | SRCREV_meta ?= "ad9d3f01300ba350563e17db00b2518302e172f6" | ||
23 | |||
24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \ | ||
25 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}" | ||
26 | |||
27 | LINUX_VERSION ?= "4.4" | ||
28 | |||
29 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
30 | |||
31 | KMETA = "kernel-meta" | ||
32 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
33 | |||
34 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" | ||
35 | |||
36 | # Functionality flags | ||
37 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" | ||
38 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | ||
39 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" | ||
40 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | ||
41 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" | ||
42 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" | ||