blob: 693670c613da24981d694aedebe40a64b04c4380 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001KBRANCH ?= "v4.15/standard/base"
2
3require recipes-kernel/linux/linux-yocto.inc
4
5# board specific branches
6KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs"
7KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64"
8KBRANCH_qemumips ?= "v4.15/standard/mti-malta32"
9KBRANCH_qemuppc ?= "v4.15/standard/qemuppc"
10KBRANCH_qemux86 ?= "v4.15/standard/base"
11KBRANCH_qemux86-64 ?= "v4.15/standard/base"
12KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64"
13
Brad Bishopd5ae7d92018-06-14 09:52:03 -070014SRCREV_machine_qemuarm ?= "d16b10fb69974f1804a02f2678f40d22c80526cf"
15SRCREV_machine_qemuarm64 ?= "e25dbfe95302eeaa1a03a828d05c09479574488a"
16SRCREV_machine_qemumips ?= "182eaefab712f4360126e044c758e75d763d05c4"
17SRCREV_machine_qemuppc ?= "e25dbfe95302eeaa1a03a828d05c09479574488a"
18SRCREV_machine_qemux86 ?= "e25dbfe95302eeaa1a03a828d05c09479574488a"
19SRCREV_machine_qemux86-64 ?= "e25dbfe95302eeaa1a03a828d05c09479574488a"
20SRCREV_machine_qemumips64 ?= "ce3876a091477260fcb1197e3c6565dfbf9c6e80"
21SRCREV_machine ?= "e25dbfe95302eeaa1a03a828d05c09479574488a"
22SRCREV_meta ?= "45c256a5ca6f9478bce212fec19e2bc273472631"
Brad Bishop316dfdd2018-06-25 12:45:53 -040023
24SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
25 git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}"
26
Brad Bishopd5ae7d92018-06-14 09:52:03 -070027LINUX_VERSION ?= "4.15.18"
Brad Bishop316dfdd2018-06-25 12:45:53 -040028
29DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
30DEPENDS += "openssl-native util-linux-native"
31
32PV = "${LINUX_VERSION}+git${SRCPV}"
33
34KMETA = "kernel-meta"
35KCONF_BSP_AUDIT_LEVEL = "2"
36
37KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
38
39COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
40
41# Functionality flags
42KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
43KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
44KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
45KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
46KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
47KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"