From: Yogesh Tyagi <[email protected]>

Add recipe for pre production 6.18 LTS RT kernel

Signed-off-by: Yogesh Tyagi <[email protected]>
---
 recipes-kernel/linux/linux-intel-rt_6.18.bb | 33 +++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-intel-rt_6.18.bb

diff --git a/recipes-kernel/linux/linux-intel-rt_6.18.bb 
b/recipes-kernel/linux/linux-intel-rt_6.18.bb
new file mode 100644
index 00000000..6c857c51
--- /dev/null
+++ b/recipes-kernel/linux/linux-intel-rt_6.18.bb
@@ -0,0 +1,33 @@
+require linux-intel.inc
+
+SRC_URI:prepend = 
"git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH};
 \
+                    "
+
+# 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")
+}
+
+KBRANCH = "6.18/linux"
+KMETA_BRANCH = "yocto-6.18"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+DEPENDS += "elfutils-native openssl-native util-linux-native"
+
+LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}"
+
+LINUX_VERSION ?= "6.18"
+SRCREV_machine ?= "80ad4b089250eab455aa32fbd3755dafe16d78a2"
+SRCREV_meta ?= "d8bded29848649b362d0376692bd86a5f6ebc7e0"
+
+LINUX_KERNEL_TYPE = "preempt-rt"
+
+# Functionality flags
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc 
features/security/security.scc"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.18.(\d+)-linux-(\d+)T(\d+)Z)$"
-- 
2.43.0

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

Reply via email to