blob: 5191af6a20e656a314b68bbe5c2999adde11961b [file] [log] [blame]
Patrick Williamsf52e3dd2024-01-26 13:04:43 -06001KBRANCH ?= "v6.1/standard/base"
2
3require recipes-kernel/linux/linux-yocto.inc
4
5# CVE exclusions
6include recipes-kernel/linux/cve-exclusion.inc
7include recipes-kernel/linux/cve-exclusion_6.1.inc
8
9SRCREV_machine ?= "6c78fd37122b29c40bd8bb6f43aaa1ba7d6fb53a"
10SRCREV_meta ?= "40dede8a165ea5894f172fede6baa0dd94d23fec"
11
12# set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll
13# get the <version>/base branch, which is pure upstream -stable, and the same
14# meta SRCREV as the linux-yocto-standard builds. Select your version using the
15# normal PREFERRED_VERSION settings.
16BBCLASSEXTEND = "devupstream:target"
17SRCREV_machine:class-devupstream ?= "fec3b1451d5febbc9e04250f879c10f8952e6bed"
18PN:class-devupstream = "linux-yocto-upstream"
19KBRANCH:class-devupstream = "v6.1/base"
20
21SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH};protocol=https \
22 git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.1;destsuffix=${KMETA};protocol=https"
23SRC_URI += "file://0001-perf-cpumap-Make-counter-as-unsigned-ints.patch"
24
25LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
26LINUX_VERSION ?= "6.1.73"
27
28PV = "${LINUX_VERSION}+git"
29
30KMETA = "kernel-meta"
31KCONF_BSP_AUDIT_LEVEL = "1"
32
33# Functionality flags
34KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
35KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}"
36KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}"
37KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
38KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"