[meta-intel] [PATCH 2/2] linux-intel/4.14: add preempt-rt recipe

California Sullivan california.l.sullivan at intel.com
Tue Jan 23 17:03:01 PST 2018


Adds the 4.14.12  kernel with the rt10 patches applied.

Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
 recipes-kernel/linux/linux-intel-rt_4.14.bb | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-intel-rt_4.14.bb

diff --git a/recipes-kernel/linux/linux-intel-rt_4.14.bb b/recipes-kernel/linux/linux-intel-rt_4.14.bb
new file mode 100644
index 00000000..9846ccd9
--- /dev/null
+++ b/recipes-kernel/linux/linux-intel-rt_4.14.bb
@@ -0,0 +1,24 @@
+require linux-intel.inc
+
+# Skip processing of this recipe if it is not explicitly specified as the
+# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
+# to build multiple virtual/kernel providers, e.g. as dependency of
+# core-image-rt-sdk, core-image-rt.
+python () {
+    if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt":
+        raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it")
+}
+
+KBRANCH = "4.14/yocto/base-rt"
+KMETA_BRANCH = "master"
+
+# Fix for 32-bit perf issue. Remove when patch is backported to 4.14.
+SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch"
+
+DEPENDS += "elfutils-native openssl-native util-linux-native"
+
+LINUX_VERSION ?= "4.14.12"
+SRCREV_machine ?= "e6c754497fe1b52ade748218f2491a2c99209292"
+SRCREV_meta ?= "ee7e849882aa2f0947dd56a60ba5b0d2eec558f2"
+
+LINUX_KERNEL_TYPE = "preempt-rt"
-- 
2.14.3



More information about the meta-intel mailing list