diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-08-30 12:48:59 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-05 11:56:01 +0100 |
commit | 4d1a1242896a18bceb0318b05e1106878e6fd311 (patch) | |
tree | 735a32ff99ddf669cf253fdd263089c12ac330a0 /meta/recipes-kernel | |
parent | 9428b19a7dd1d265d9f3211004391abe33ea0224 (diff) | |
download | poky-4d1a1242896a18bceb0318b05e1106878e6fd311.tar.gz |
linux-yocto: introduce v4.8 recipes
(From OE-Core rev: 3585c71dc575dd28a1e2655efc967dd4d6086a37)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_4.8.bb | 36 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_4.8.bb | 23 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_4.8.bb | 42 |
3 files changed, 101 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.8.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.8.bb new file mode 100644 index 0000000000..9adf52322d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.8.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | KBRANCH ?= "standard/preempt-rt/base" | ||
2 | |||
3 | require recipes-kernel/linux/linux-yocto.inc | ||
4 | |||
5 | # Skip processing of this recipe if it is not explicitly specified as the | ||
6 | # PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying | ||
7 | # to build multiple virtual/kernel providers, e.g. as dependency of | ||
8 | # core-image-rt-sdk, core-image-rt. | ||
9 | python () { | ||
10 | if d.getVar("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-yocto-rt": | ||
11 | raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") | ||
12 | } | ||
13 | |||
14 | SRCREV_machine ?= "a7d71794e4e38d2f861c1b1dbff761ae0b0836b3" | ||
15 | SRCREV_meta ?= "8cb7317502c2577f8c83eaf1c061603023824313" | ||
16 | |||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.8.git;branch=${KBRANCH};name=machine \ | ||
18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.8;destsuffix=${KMETA}" | ||
19 | |||
20 | LINUX_VERSION ?= "4.8-rc4" | ||
21 | |||
22 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
23 | |||
24 | KMETA = "kernel-meta" | ||
25 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
26 | |||
27 | LINUX_KERNEL_TYPE = "preempt-rt" | ||
28 | |||
29 | COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" | ||
30 | |||
31 | # Functionality flags | ||
32 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" | ||
33 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | ||
34 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" | ||
35 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | ||
36 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.8.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_4.8.bb new file mode 100644 index 0000000000..a157c2aa80 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.8.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | KBRANCH ?= "standard/tiny/common-pc" | ||
2 | LINUX_KERNEL_TYPE = "tiny" | ||
3 | KCONFIG_MODE = "--allnoconfig" | ||
4 | |||
5 | require recipes-kernel/linux/linux-yocto.inc | ||
6 | |||
7 | LINUX_VERSION ?= "4.8-rc4" | ||
8 | |||
9 | KMETA = "kernel-meta" | ||
10 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
11 | |||
12 | SRCREV_machine ?= "3eab887a55424fc2c27553b7bfe32330df83f7b8" | ||
13 | SRCREV_meta ?= "8cb7317502c2577f8c83eaf1c061603023824313" | ||
14 | |||
15 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
16 | |||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.8.git;branch=${KBRANCH};name=machine \ | ||
18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.8;destsuffix=${KMETA}" | ||
19 | |||
20 | COMPATIBLE_MACHINE = "(qemux86$)" | ||
21 | |||
22 | # Functionality flags | ||
23 | KERNEL_FEATURES = "" | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.8.bb b/meta/recipes-kernel/linux/linux-yocto_4.8.bb new file mode 100644 index 0000000000..c92f7bcd18 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto_4.8.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 ?= "20544507201f870a365c43759e5dea1ab49a2d68" | ||
15 | SRCREV_machine_qemuarm64 ?= "3eab887a55424fc2c27553b7bfe32330df83f7b8" | ||
16 | SRCREV_machine_qemumips ?= "03d4caf37d133a923e49b8ad6d814ee299cf92c7" | ||
17 | SRCREV_machine_qemuppc ?= "3eab887a55424fc2c27553b7bfe32330df83f7b8" | ||
18 | SRCREV_machine_qemux86 ?= "a7d71794e4e38d2f861c1b1dbff761ae0b0836b3" | ||
19 | SRCREV_machine_qemux86-64 ?= "a7d71794e4e38d2f861c1b1dbff761ae0b0836b3" | ||
20 | SRCREV_machine_qemumips64 ?= "a4793b209b32964533e37ebd28a72b757c0f651a" | ||
21 | SRCREV_machine ?= "a7d71794e4e38d2f861c1b1dbff761ae0b0836b3" | ||
22 | SRCREV_meta ?= "8cb7317502c2577f8c83eaf1c061603023824313" | ||
23 | |||
24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.8.git;name=machine;branch=${KBRANCH}; \ | ||
25 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.8;destsuffix=${KMETA}" | ||
26 | |||
27 | LINUX_VERSION ?= "4.8-rc4" | ||
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)}" | ||