Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 1 | KBRANCH ?= "v6.6/standard/base" |
| 2 | |
| 3 | require recipes-kernel/linux/linux-yocto.inc |
| 4 | |
| 5 | # CVE exclusions |
| 6 | include recipes-kernel/linux/cve-exclusion.inc |
| 7 | include recipes-kernel/linux/cve-exclusion_6.6.inc |
| 8 | |
| 9 | # board specific branches |
| 10 | KBRANCH:qemuarm ?= "v6.6/standard/arm-versatile-926ejs" |
| 11 | KBRANCH:qemuarm64 ?= "v6.6/standard/qemuarm64" |
| 12 | KBRANCH:qemumips ?= "v6.6/standard/mti-malta32" |
| 13 | KBRANCH:qemuppc ?= "v6.6/standard/qemuppc" |
| 14 | KBRANCH:qemuriscv64 ?= "v6.6/standard/base" |
| 15 | KBRANCH:qemuriscv32 ?= "v6.6/standard/base" |
| 16 | KBRANCH:qemux86 ?= "v6.6/standard/base" |
| 17 | KBRANCH:qemux86-64 ?= "v6.6/standard/base" |
| 18 | KBRANCH:qemuloongarch64 ?= "v6.6/standard/base" |
| 19 | KBRANCH:qemumips64 ?= "v6.6/standard/mti-malta64" |
| 20 | |
Patrick Williams | f52e3dd | 2024-01-26 13:04:43 -0600 | [diff] [blame] | 21 | SRCREV_machine:qemuarm ?= "f50c6da5bec6481c9fd5618176c768d4ff7afcdd" |
| 22 | SRCREV_machine:qemuarm64 ?= "195b2994f955071be3dd16ff61127dbc6b2e0069" |
| 23 | SRCREV_machine:qemuloongarch64 ?= "195b2994f955071be3dd16ff61127dbc6b2e0069" |
| 24 | SRCREV_machine:qemumips ?= "0175e713ae72f9b4ed10d1702ab9386d294fe96c" |
| 25 | SRCREV_machine:qemuppc ?= "195b2994f955071be3dd16ff61127dbc6b2e0069" |
| 26 | SRCREV_machine:qemuriscv64 ?= "195b2994f955071be3dd16ff61127dbc6b2e0069" |
| 27 | SRCREV_machine:qemuriscv32 ?= "195b2994f955071be3dd16ff61127dbc6b2e0069" |
| 28 | SRCREV_machine:qemux86 ?= "195b2994f955071be3dd16ff61127dbc6b2e0069" |
| 29 | SRCREV_machine:qemux86-64 ?= "195b2994f955071be3dd16ff61127dbc6b2e0069" |
| 30 | SRCREV_machine:qemumips64 ?= "d41c8b84fcfcb4c2dd8eb856172cdc2b6a1bd342" |
| 31 | SRCREV_machine ?= "195b2994f955071be3dd16ff61127dbc6b2e0069" |
| 32 | SRCREV_meta ?= "48f7c852bd375b9340c68897ccd87ad89ead5f38" |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 33 | |
| 34 | # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll |
| 35 | # get the <version>/base branch, which is pure upstream -stable, and the same |
| 36 | # meta SRCREV as the linux-yocto-standard builds. Select your version using the |
| 37 | # normal PREFERRED_VERSION settings. |
| 38 | BBCLASSEXTEND = "devupstream:target" |
Patrick Williams | f52e3dd | 2024-01-26 13:04:43 -0600 | [diff] [blame] | 39 | SRCREV_machine:class-devupstream ?= "47345b4264bc394a8d16bb16e8e7744965fa3934" |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 40 | PN:class-devupstream = "linux-yocto-upstream" |
| 41 | KBRANCH:class-devupstream = "v6.6/base" |
| 42 | |
| 43 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH};protocol=https \ |
| 44 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=${KMETA};protocol=https" |
| 45 | |
| 46 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
Patrick Williams | f52e3dd | 2024-01-26 13:04:43 -0600 | [diff] [blame] | 47 | LINUX_VERSION ?= "6.6.12" |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 48 | |
| 49 | PV = "${LINUX_VERSION}+git" |
| 50 | |
| 51 | KMETA = "kernel-meta" |
| 52 | KCONF_BSP_AUDIT_LEVEL = "1" |
| 53 | |
| 54 | KERNEL_DEVICETREE:qemuarmv5 = "arm/versatile-pb.dtb" |
| 55 | |
| 56 | COMPATIBLE_MACHINE = "^(qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64|qemuriscv64|qemuriscv32|qemuloongarch64)$" |
| 57 | |
| 58 | # Functionality flags |
| 59 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |
| 60 | KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}" |
| 61 | KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc cfg/net/mdio.scc" |
| 62 | KERNEL_FEATURES:append:qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 63 | KERNEL_FEATURES:append:qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 64 | KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}" |
| 65 | KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}" |
| 66 | KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}" |
| 67 | KERNEL_FEATURES:append:powerpc =" arch/powerpc/powerpc-debug.scc" |
| 68 | KERNEL_FEATURES:append:powerpc64 =" arch/powerpc/powerpc-debug.scc" |
| 69 | KERNEL_FEATURES:append:powerpc64le =" arch/powerpc/powerpc-debug.scc" |
| 70 | |
| 71 | INSANE_SKIP:kernel-vmlinux:qemuppc64 = "textrel" |
| 72 | |