require linux-intel.inc SRC_URI:prepend = "git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \ " SRC_URI:append = " file://0001-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" KBRANCH = "5.15/preempt-rt" KMETA_BRANCH = "yocto-5.15" DEPENDS += "elfutils-native openssl-native util-linux-native" LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" LINUX_VERSION ?= "5.15.85" SRCREV_machine ?= "a2fb1a92fb6e734b2253cde6b6ef5f203cf0fefc" SRCREV_meta ?= "78c4410c172946903e35ba8cebf1cf90fad09b5a" LINUX_KERNEL_TYPE = "preempt-rt" # We've 8b766b0f8eece backported from v5.19 to linux-intel v5.15 kernel # https://github.com/torvalds/linux/commit/8b766b0f8eece55155146f7628610ce54a065e0f # It drops 'CONFIG_FB_BOOT_VESA_SUPPORT' config option which would result in a warning with 5.15 y-k-c. # Suppress the harmless warning for now. KCONF_BSP_AUDIT_LEVEL = "0" UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?Pv5.15.(\d+)-rt(\d+)-preempt-rt-(\d+)T(\d+)Z)$"