blob: 6f33032c0001101485168882d7f9c7e89c6f0593 [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
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050017SRCREV_machine:qemuarm ?= "fad8850ff15dfbf8fb2e7d71583fc54b809d10ef"
18SRCREV_machine:qemuarm64 ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
19SRCREV_machine:qemuloongarch64 ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
20SRCREV_machine:qemumips ?= "dd663b72efce61f63f0b38403254eb52e6ad9a59"
21SRCREV_machine:qemuppc ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
22SRCREV_machine:qemuriscv64 ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
23SRCREV_machine:qemuriscv32 ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
24SRCREV_machine:qemux86 ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
25SRCREV_machine:qemux86-64 ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
26SRCREV_machine:qemumips64 ?= "587a945baf13cdca2421e280b7b07dead6ad2a77"
27SRCREV_machine ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
28SRCREV_meta ?= "a8881762b53231bb914329cac3c2cf8db8b6779b"
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"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050035SRCREV_machine:class-devupstream ?= "7eaef76fbc4621ced374c85dbc000dd80dc681d7"
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"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050043LINUX_VERSION ?= "6.1.20"
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