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/linux/linux-yocto-rt_4.8.bb | |
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/linux/linux-yocto-rt_4.8.bb')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_4.8.bb | 36 |
1 files changed, 36 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" | ||