blob: 16142f8ceb47577be5538b7e2b3ee124d99e3d6a [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001KBRANCH ?= "v4.14/standard/base"
2
3require recipes-kernel/linux/linux-yocto.inc
4
5# board specific branches
6KBRANCH_qemuarm ?= "v4.14/standard/arm-versatile-926ejs"
7KBRANCH_qemuarm64 ?= "v4.14/standard/qemuarm64"
8KBRANCH_qemumips ?= "v4.14/standard/mti-malta32"
9KBRANCH_qemuppc ?= "v4.14/standard/qemuppc"
10KBRANCH_qemux86 ?= "v4.14/standard/base"
11KBRANCH_qemux86-64 ?= "v4.14/standard/base"
12KBRANCH_qemumips64 ?= "v4.14/standard/mti-malta64"
13
14SRCREV_machine_qemuarm ?= "d6268fc3460d3904fd49087f7a822efbaab9bfe8"
15SRCREV_machine_qemuarm64 ?= "c94189843b8ad62cafe9a307e7f7d60741690505"
16SRCREV_machine_qemumips ?= "4afd92347b2b35dc8e0006712f8fa00ac57f2a36"
17SRCREV_machine_qemuppc ?= "e8af5c9b65c5187d148ecd11bd7979489460ca64"
18SRCREV_machine_qemux86 ?= "74f6cd2b6976e37491779fcb1bc4966d3a61492c"
19SRCREV_machine_qemux86-64 ?= "74f6cd2b6976e37491779fcb1bc4966d3a61492c"
20SRCREV_machine_qemumips64 ?= "9863b327e770b42b8c18da3e0cfaf06e8f99ae97"
21SRCREV_machine ?= "74f6cd2b6976e37491779fcb1bc4966d3a61492c"
22SRCREV_meta ?= "ea9330894eea727bd1655569b16f338976b72563"
23
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.14;destsuffix=${KMETA}"
26
27LINUX_VERSION ?= "4.14.30"
28
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)}"