diff options
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb new file mode 100644 index 0000000000..53f413407d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | KBRANCH ?= "v6.6/standard/preempt-rt/base" | ||
2 | |||
3 | require recipes-kernel/linux/linux-yocto.inc | ||
4 | |||
5 | # CVE exclusions | ||
6 | include recipes-kernel/linux/cve-exclusion_6.6.inc | ||
7 | |||
8 | # Skip processing of this recipe if it is not explicitly specified as the | ||
9 | # PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying | ||
10 | # to build multiple virtual/kernel providers, e.g. as dependency of | ||
11 | # core-image-rt-sdk, core-image-rt. | ||
12 | python () { | ||
13 | if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": | ||
14 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") | ||
15 | } | ||
16 | |||
17 | SRCREV_machine ?= "9bdb085cb6fcfd49586b980ba27cb81e5c76689e" | ||
18 | SRCREV_meta ?= "a78c74a3510067017dda1926f88bd914f0a053b3" | ||
19 | |||
20 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ | ||
21 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=${KMETA};protocol=https" | ||
22 | |||
23 | LINUX_VERSION ?= "6.6.29" | ||
24 | |||
25 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
26 | |||
27 | DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" | ||
28 | DEPENDS += "openssl-native util-linux-native" | ||
29 | |||
30 | PV = "${LINUX_VERSION}+git" | ||
31 | |||
32 | KMETA = "kernel-meta" | ||
33 | KCONF_BSP_AUDIT_LEVEL = "1" | ||
34 | |||
35 | LINUX_KERNEL_TYPE = "preempt-rt" | ||
36 | |||
37 | COMPATIBLE_MACHINE = "^(qemux86|qemux86-64|qemuarm|qemuarmv5|qemuarm64|qemuppc|qemumips)$" | ||
38 | |||
39 | KERNEL_DEVICETREE:qemuarmv5 = "arm/versatile-pb.dtb" | ||
40 | |||
41 | # Functionality flags | ||
42 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" | ||
43 | KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}" | ||
44 | KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc" | ||
45 | KERNEL_FEATURES:append:qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | ||
46 | KERNEL_FEATURES:append:qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" | ||
47 | KERNEL_FEATURES:append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}" | ||
48 | KERNEL_FEATURES:append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc features/gpio/sim.scc", "", d)}" | ||