Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | KBRANCH ?= "v5.4/standard/base" |
| 2 | |
| 3 | require recipes-kernel/linux/linux-yocto.inc |
| 4 | |
| 5 | # board specific branches |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 6 | KBRANCH:qemuarm ?= "v5.4/standard/arm-versatile-926ejs" |
| 7 | KBRANCH:qemuarm64 ?= "v5.4/standard/qemuarm64" |
| 8 | KBRANCH:qemumips ?= "v5.4/standard/mti-malta32" |
| 9 | KBRANCH:qemuppc ?= "v5.4/standard/qemuppc" |
| 10 | KBRANCH:qemuriscv64 ?= "v5.4/standard/base" |
| 11 | KBRANCH:qemux86 ?= "v5.4/standard/base" |
| 12 | KBRANCH:qemux86-64 ?= "v5.4/standard/base" |
| 13 | KBRANCH:qemumips64 ?= "v5.4/standard/mti-malta64" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 15 | SRCREV_machine:qemuarm ?= "f367cbe6d0c21c65257c66a4c9b1845fd43285f8" |
| 16 | SRCREV_machine:qemuarm64 ?= "8dcb7ee83e58da8bf51ed8b72165e1ed35beb928" |
| 17 | SRCREV_machine:qemumips ?= "3d4c6263bfdf95960894b75c76aa450d240e3e8e" |
| 18 | SRCREV_machine:qemuppc ?= "125a824c8d14c49b640bc0d6e040d495177caa10" |
| 19 | SRCREV_machine:qemuriscv64 ?= "997c04e7a40084a53bc3d45490949584364697bd" |
| 20 | SRCREV_machine:qemux86 ?= "997c04e7a40084a53bc3d45490949584364697bd" |
| 21 | SRCREV_machine:qemux86-64 ?= "997c04e7a40084a53bc3d45490949584364697bd" |
| 22 | SRCREV_machine:qemumips64 ?= "7082f58984404a5aad90bca1dac4e27773fff26e" |
| 23 | SRCREV_machine ?= "997c04e7a40084a53bc3d45490949584364697bd" |
| 24 | SRCREV_meta ?= "231d3a07e10680c7c89ea101cd803b0684482b11" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 25 | |
| 26 | # remap qemuarm to qemuarma15 for the 5.4 kernel |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 27 | # KMACHINE:qemuarm ?= "qemuarma15" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 28 | |
| 29 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ |
| 30 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}" |
| 31 | |
| 32 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 33 | LINUX_VERSION ?= "5.4.135" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 34 | |
| 35 | DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" |
| 36 | DEPENDS += "openssl-native util-linux-native" |
| 37 | |
| 38 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 39 | |
| 40 | KMETA = "kernel-meta" |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 41 | KCONF_BSP_AUDIT_LEVEL = "1" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 42 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 43 | KERNEL_DEVICETREE:qemuarmv5 = "versatile-pb.dtb" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 44 | |
| 45 | COMPATIBLE_MACHINE = "qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|qemuriscv64" |
| 46 | |
| 47 | # Functionality flags |
| 48 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 49 | KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}" |
| 50 | KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc" |
| 51 | KERNEL_FEATURES:append:qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 52 | KERNEL_FEATURES:append:qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 53 | KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}" |
| 54 | KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}" |
| 55 | KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}" |