blob: ae8f643e9f04c949a76153967b807b11fb4bc7ab [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
Brad Bishopc342db32019-05-15 21:57:59 -040014SRCREV_machine_qemuarm ?= "99f3821bdc8718af3ef6e96d594b593d644ab2e4"
15SRCREV_machine_qemuarm64 ?= "891531d68e5101bf64be1cc1cb31e3d1255cf382"
16SRCREV_machine_qemumips ?= "1128cfe6c7915535c4066b75342c952640e65d72"
17SRCREV_machine_qemuppc ?= "891531d68e5101bf64be1cc1cb31e3d1255cf382"
18SRCREV_machine_qemux86 ?= "891531d68e5101bf64be1cc1cb31e3d1255cf382"
19SRCREV_machine_qemux86-64 ?= "891531d68e5101bf64be1cc1cb31e3d1255cf382"
20SRCREV_machine_qemumips64 ?= "55e385d52db438df1ff7ad3845c9076b2bb221eb"
21SRCREV_machine ?= "891531d68e5101bf64be1cc1cb31e3d1255cf382"
22SRCREV_meta ?= "d26eec23cf1057a715c05777a18f395678fcbf38"
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"
Brad Bishopc342db32019-05-15 21:57:59 -040031LINUX_VERSION ?= "5.0.7"
Brad Bishop19323692019-04-05 15:28:33 -040032
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"
Brad Bishopc342db32019-05-15 21:57:59 -040042KERNEL_DEVICETREE_qemuarmv5 = "versatile-pb.dtb"
Brad Bishop19323692019-04-05 15:28:33 -040043
44COMPATIBLE_MACHINE = "qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
45
46# Functionality flags
47KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
48KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
49KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
50KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
51KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
52KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"