Build 5.19 RT kernel version from mainline-tracking tree at:

https://github.com/intel/mainline-tracking

This will track the mainline kernel and will be used to enable support for 
newer platforms.

Signed-off-by: Naveen Saini <[email protected]>
---
 recipes-kernel/linux/linux-intel-rt_5.19.bb | 28 +++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-intel-rt_5.19.bb

diff --git a/recipes-kernel/linux/linux-intel-rt_5.19.bb 
b/recipes-kernel/linux/linux-intel-rt_5.19.bb
new file mode 100644
index 00000000..58952b0c
--- /dev/null
+++ b/recipes-kernel/linux/linux-intel-rt_5.19.bb
@@ -0,0 +1,28 @@
+require linux-intel.inc
+
+SRC_URI:prepend = 
"git://github.com/intel/mainline-tracking.git;protocol=https;name=machine;nobranch=1;
 \
+                    "
+SRC_URI:append = " 
file://0001-v5.19-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch"
+
+# 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("KERNEL_PACKAGE_NAME", True) == "kernel" and 
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")
+}
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+KMETA_BRANCH = "yocto-5.19"
+
+DEPENDS += "elfutils-native openssl-native util-linux-native"
+
+LINUX_VERSION_EXTENSION ??= "-mainline-tracking-${LINUX_KERNEL_TYPE}"
+
+LINUX_VERSION ?= "5.19.0"
+SRCREV_machine ?= "7de7f243440a51b6b996fc462f7fd7a546c175d2"
+SRCREV_meta ?= "0cba9aa40445bf59bfa651e1bd43a31c2ca7d524"
+
+LINUX_KERNEL_TYPE = "preempt-rt"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7761): 
https://lists.yoctoproject.org/g/meta-intel/message/7761
Mute This Topic: https://lists.yoctoproject.org/mt/95105796/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to