blob: ac98ca85fc3fcdd11ca747fd3b8c3e61a5d71a22 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001KBRANCH ?= "standard/base"
2
3require recipes-kernel/linux/linux-yocto.inc
4
5# board specific branches
6KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs"
7KBRANCH_qemuarm64 ?= "standard/qemuarm64"
8KBRANCH_qemumips ?= "standard/mti-malta32"
9KBRANCH_qemuppc ?= "standard/qemuppc"
10KBRANCH_qemux86 ?= "standard/base"
11KBRANCH_qemux86-64 ?= "standard/base"
12KBRANCH_qemumips64 ?= "standard/mti-malta64"
13
Brad Bishopd5ae7d92018-06-14 09:52:03 -070014SRCREV_machine_qemuarm ?= "86b02dd23be1e3b3449885b38ed1b876ebec31e8"
15SRCREV_machine_qemuarm64 ?= "bd8f931e213614bc5fdc6aeaa132d273caa002af"
16SRCREV_machine_qemumips ?= "67b93101c52504fd5077166c70baa296190e6166"
17SRCREV_machine_qemuppc ?= "bd8f931e213614bc5fdc6aeaa132d273caa002af"
18SRCREV_machine_qemux86 ?= "bd8f931e213614bc5fdc6aeaa132d273caa002af"
19SRCREV_machine_qemux86-64 ?= "bd8f931e213614bc5fdc6aeaa132d273caa002af"
20SRCREV_machine_qemumips64 ?= "38da8c72733da9619bbbddf14140204631faf488"
21SRCREV_machine ?= "bd8f931e213614bc5fdc6aeaa132d273caa002af"
22SRCREV_meta ?= "367bd3633d5a661035f90f0b8daa38e97da1a587"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023
24SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.12.git;name=machine;branch=${KBRANCH}; \
25 git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.12;destsuffix=${KMETA}"
26
Brad Bishop316dfdd2018-06-25 12:45:53 -040027DEPENDS += "openssl-native util-linux-native"
28
Brad Bishopd5ae7d92018-06-14 09:52:03 -070029LINUX_VERSION ?= "4.12.26"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050030
31PV = "${LINUX_VERSION}+git${SRCPV}"
32
33KMETA = "kernel-meta"
34KCONF_BSP_AUDIT_LEVEL = "2"
35
36KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
37
38COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
39
40# Functionality flags
41KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
42KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
43KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
44KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
45KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
46KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"