linux-intel/5.19: add recipe

Build 5.19 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 <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Naveen Saini 2022-11-18 12:09:12 +08:00 committed by Anuj Mittal
parent 585655e5be
commit 2ce9b55f99
4 changed files with 32 additions and 4 deletions

View File

@ -1,5 +1,9 @@
require linux-intel.inc 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 # Skip processing of this recipe if it is not explicitly specified as the
# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying # PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
# to build multiple virtual/kernel providers, e.g. as dependency of # to build multiple virtual/kernel providers, e.g. as dependency of
@ -16,6 +20,8 @@ KMETA_BRANCH = "yocto-5.15"
DEPENDS += "elfutils-native openssl-native util-linux-native" DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}"
LINUX_VERSION ?= "5.15.71" LINUX_VERSION ?= "5.15.71"
SRCREV_machine ?= "e29405e36bfbda7ace776548de802b76f61b80d9" SRCREV_machine ?= "e29405e36bfbda7ace776548de802b76f61b80d9"
SRCREV_meta ?= "50e12441b95837206d02d3ecfd17b1c562759d76" SRCREV_meta ?= "50e12441b95837206d02d3ecfd17b1c562759d76"

View File

@ -6,16 +6,12 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/linux-intel:"
KERNEL_CONFIG_URI ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${KMETA_BRANCH};destsuffix=${KMETA}" KERNEL_CONFIG_URI ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${KMETA_BRANCH};destsuffix=${KMETA}"
SRC_URI = " \ SRC_URI = " \
git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \
${KERNEL_CONFIG_URI} \ ${KERNEL_CONFIG_URI} \
file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch \
file://0001-vt-conmakehash-improve-reproducibility.patch \ file://0001-vt-conmakehash-improve-reproducibility.patch \
file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \ file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \
file://fix-perf-reproducibility.patch \ file://fix-perf-reproducibility.patch \
" "
LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}"
PV = "${LINUX_VERSION}+git${SRCPV}" PV = "${LINUX_VERSION}+git${SRCPV}"
KMETA = "kernel-meta" KMETA = "kernel-meta"

View File

@ -1,5 +1,9 @@
require linux-intel.inc 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"
KBRANCH = "5.15/linux" KBRANCH = "5.15/linux"
KMETA_BRANCH = "yocto-5.15" KMETA_BRANCH = "yocto-5.15"
@ -7,6 +11,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
DEPENDS += "elfutils-native openssl-native util-linux-native" DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}"
LINUX_VERSION ?= "5.15.71" LINUX_VERSION ?= "5.15.71"
SRCREV_machine ?= "7f0de68338ad7f625a7137278bf1d0a5edcbab45" SRCREV_machine ?= "7f0de68338ad7f625a7137278bf1d0a5edcbab45"
SRCREV_meta ?= "50e12441b95837206d02d3ecfd17b1c562759d76" SRCREV_meta ?= "50e12441b95837206d02d3ecfd17b1c562759d76"

View File

@ -0,0 +1,20 @@
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"
KMETA_BRANCH = "yocto-5.19"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION_EXTENSION ??= "-mainline-tracking-${LINUX_KERNEL_TYPE}"
LINUX_VERSION ?= "5.19.0"
SRCREV_machine ?= "20024f44f7ef62c5c4bd030a858e6b44ea2541ec"
SRCREV_meta ?= "0cba9aa40445bf59bfa651e1bd43a31c2ca7d524"
# Functionality flags
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/security/security.scc"