blob: 0aea05b83f2ae9845090bc0e3267106b70ec0bf8 [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 Bishopbba38f32018-08-23 16:11:46 +080014SRCREV_machine_qemuarm ?= "b84ecefc243a6ed67d8b6020394963de1240a9f0"
15SRCREV_machine_qemuarm64 ?= "e562267bae5b518acca880c929fbbdf6be047e0a"
16SRCREV_machine_qemumips ?= "15b1ab68f73fa60dd95a74c640e87e05fad1716d"
17SRCREV_machine_qemuppc ?= "e562267bae5b518acca880c929fbbdf6be047e0a"
18SRCREV_machine_qemux86 ?= "e562267bae5b518acca880c929fbbdf6be047e0a"
19SRCREV_machine_qemux86-64 ?= "e562267bae5b518acca880c929fbbdf6be047e0a"
20SRCREV_machine_qemumips64 ?= "57a3f72a020fc84f2da5b0b4c5de4cdbc22b3284"
21SRCREV_machine ?= "e562267bae5b518acca880c929fbbdf6be047e0a"
22SRCREV_meta ?= "2ae65226f64ed5c888d60eef76b6249db678d060"
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 Bishopbba38f32018-08-23 16:11:46 +080029LINUX_VERSION ?= "4.12.28"
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)}"