meta-intel/recipes-kernel/linux/linux-intel-rt_6.6.bb
Yogesh Tyagi 33a0f7dc25 linux-intel-rt/6.6: add recipe
Replace v6.1 with linux-intel-lts v6.6.5 tag lts-v6.6.5-rt16-preempt-rt-231212T043456Z,

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-01-08 10:19:01 +08:00

34 lines
1.3 KiB
BlitzBasic

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.6/preempt-rt"
KMETA_BRANCH = "yocto-6.6"
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.6.5"
SRCREV_machine ?= "37d07f8ec6f148be12e3755dc742f2bef0b82bc2"
SRCREV_meta ?= "525b3f188e0bfb1cdcca241db89ef265842205cd"
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.6.(\d+)-rt(\d)-preempt-rt-(\d+)T(\d+)Z)$"