blob: 66d397837f508257a3dcf18de34df830e960929e [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001KBRANCH ?= "v6.1/standard/base"
2
3require recipes-kernel/linux/linux-yocto.inc
4
5# board specific branches
6KBRANCH:qemuarm ?= "v6.1/standard/arm-versatile-926ejs"
7KBRANCH:qemuarm64 ?= "v6.1/standard/qemuarm64"
8KBRANCH:qemumips ?= "v6.1/standard/mti-malta32"
9KBRANCH:qemuppc ?= "v6.1/standard/qemuppc"
10KBRANCH:qemuriscv64 ?= "v6.1/standard/base"
11KBRANCH:qemuriscv32 ?= "v6.1/standard/base"
12KBRANCH:qemux86 ?= "v6.1/standard/base"
13KBRANCH:qemux86-64 ?= "v6.1/standard/base"
Patrick Williams864cc432023-02-09 14:54:44 -060014KBRANCH:qemuloongarch64 ?= "v6.1/standard/base"
Andrew Geissler517393d2023-01-13 08:55:19 -060015KBRANCH:qemumips64 ?= "v6.1/standard/mti-malta64"
16
Patrick Williams864cc432023-02-09 14:54:44 -060017SRCREV_machine:qemuarm ?= "ccd3b20fb504d35147d35962254b68b0041a4c6f"
18SRCREV_machine:qemuarm64 ?= "1caf99d56881e1510afca553cd4a057f80479973"
19SRCREV_machine:qemuloongarch64 ?= "1caf99d56881e1510afca553cd4a057f80479973"
20SRCREV_machine:qemumips ?= "d60ecbda7d4de915c867f751f5c63555a14219d1"
21SRCREV_machine:qemuppc ?= "1caf99d56881e1510afca553cd4a057f80479973"
22SRCREV_machine:qemuriscv64 ?= "1caf99d56881e1510afca553cd4a057f80479973"
23SRCREV_machine:qemuriscv32 ?= "1caf99d56881e1510afca553cd4a057f80479973"
24SRCREV_machine:qemux86 ?= "1caf99d56881e1510afca553cd4a057f80479973"
25SRCREV_machine:qemux86-64 ?= "1caf99d56881e1510afca553cd4a057f80479973"
26SRCREV_machine:qemumips64 ?= "2949d76c3f79f3c7f700a6366d828f006d7dd5a8"
27SRCREV_machine ?= "1caf99d56881e1510afca553cd4a057f80479973"
28SRCREV_meta ?= "d7393c5752865634e307673043da55e353139333"
Andrew Geissler517393d2023-01-13 08:55:19 -060029
30# set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll
31# get the <version>/base branch, which is pure upstream -stable, and the same
32# meta SRCREV as the linux-yocto-standard builds. Select your version using the
33# normal PREFERRED_VERSION settings.
34BBCLASSEXTEND = "devupstream:target"
Patrick Williams864cc432023-02-09 14:54:44 -060035SRCREV_machine:class-devupstream ?= "68a95455c153f8adc513e5b688f4b348daa7c1b1"
Andrew Geissler517393d2023-01-13 08:55:19 -060036PN:class-devupstream = "linux-yocto-upstream"
37KBRANCH:class-devupstream = "v6.1/base"
38
39SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
40 git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.1;destsuffix=${KMETA}"
41
42LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
Patrick Williams864cc432023-02-09 14:54:44 -060043LINUX_VERSION ?= "6.1.9"
Andrew Geissler517393d2023-01-13 08:55:19 -060044
45DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
46DEPENDS += "openssl-native util-linux-native"
47DEPENDS += "gmp-native libmpc-native"
48
49PV = "${LINUX_VERSION}+git${SRCPV}"
50
51KMETA = "kernel-meta"
52KCONF_BSP_AUDIT_LEVEL = "1"
53
54KERNEL_DEVICETREE:qemuarmv5 = "versatile-pb.dtb"
55
Patrick Williams864cc432023-02-09 14:54:44 -060056COMPATIBLE_MACHINE = "^(qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64|qemuriscv64|qemuriscv32|qemuloongarch64)$"
Andrew Geissler517393d2023-01-13 08:55:19 -060057
58# Functionality flags
59KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
60KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}"
61KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc cfg/net/mdio.scc"
62KERNEL_FEATURES:append:qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
63KERNEL_FEATURES:append:qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
64KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}"
65KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
66KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"
67KERNEL_FEATURES:append:powerpc =" arch/powerpc/powerpc-debug.scc"
68KERNEL_FEATURES:append:powerpc64 =" arch/powerpc/powerpc-debug.scc"
69KERNEL_FEATURES:append:powerpc64le =" arch/powerpc/powerpc-debug.scc"
70
71INSANE_SKIP:kernel-vmlinux:qemuppc64 = "textrel"
72