blob: 82bbbd616ab2e27b2a6aa6aa77b0c13cb5e632de [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001KBRANCH ?= "v5.0/standard/base"
2
3require recipes-kernel/linux/linux-yocto.inc
4
5# board specific branches
6KBRANCH_qemuarm ?= "v5.0/standard/arm-versatile-926ejs"
7KBRANCH_qemuarm64 ?= "v5.0/standard/qemuarm64"
8KBRANCH_qemumips ?= "v5.0/standard/mti-malta32"
9KBRANCH_qemuppc ?= "v5.0/standard/qemuppc"
10KBRANCH_qemux86 ?= "v5.0/standard/base"
11KBRANCH_qemux86-64 ?= "v5.0/standard/base"
12KBRANCH_qemumips64 ?= "v5.0/standard/mti-malta64"
13
14SRCREV_machine_qemuarm ?= "18a5ffa0e90184c8503ff1df45e4e5e501b1bab3"
15SRCREV_machine_qemuarm64 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
16SRCREV_machine_qemumips ?= "c4d3cd6437329407e2cc7e3e4615769452d426b1"
17SRCREV_machine_qemuppc ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
18SRCREV_machine_qemux86 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
19SRCREV_machine_qemux86-64 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
20SRCREV_machine_qemumips64 ?= "2468c20c15477ebe5ecd73c0e0162d7432149318"
21SRCREV_machine ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
Brad Bishopd89cb5f2019-04-10 09:02:41 -040022SRCREV_meta ?= "f0b575cda6d03540ff8da2f70421f13a08f34a5e"
Brad Bishop19323692019-04-05 15:28:33 -040023
24# remap qemuarm to qemuarma15 for the 5.0 kernel
25# KMACHINE_qemuarm ?= "qemuarma15"
26
27SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
28 git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.0;destsuffix=${KMETA}"
29
30LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
31LINUX_VERSION ?= "5.0.3"
32
33DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
34DEPENDS += "openssl-native util-linux-native"
35
36PV = "${LINUX_VERSION}+git${SRCPV}"
37
38KMETA = "kernel-meta"
39KCONF_BSP_AUDIT_LEVEL = "2"
40
41KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
42
43COMPATIBLE_MACHINE = "qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
44
45# Functionality flags
46KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
47KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
48KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
49KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
50KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
51KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"