Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | KBRANCH ?= "v4.19/standard/base" |
| 2 | |
| 3 | require recipes-kernel/linux/linux-yocto.inc |
| 4 | |
| 5 | # board specific branches |
| 6 | KBRANCH_qemuarm ?= "v4.19/standard/arm-versatile-926ejs" |
| 7 | KBRANCH_qemuarm64 ?= "v4.19/standard/qemuarm64" |
| 8 | KBRANCH_qemumips ?= "v4.19/standard/mti-malta32" |
| 9 | KBRANCH_qemuppc ?= "v4.19/standard/qemuppc" |
| 10 | KBRANCH_qemux86 ?= "v4.19/standard/base" |
| 11 | KBRANCH_qemux86-64 ?= "v4.19/standard/base" |
| 12 | KBRANCH_qemumips64 ?= "v4.19/standard/mti-malta64" |
| 13 | |
| 14 | SRCREV_machine_qemuarm ?= "3df49db2ea9b8e800cb30d5d695d4d2a2f8c1bed" |
| 15 | SRCREV_machine_qemuarm64 ?= "253c39a252f25843111b7be0c8247eb4bd6c328d" |
| 16 | SRCREV_machine_qemumips ?= "5dc975d0e586edd5d33bce62560f998f9a246be6" |
| 17 | SRCREV_machine_qemuppc ?= "253c39a252f25843111b7be0c8247eb4bd6c328d" |
| 18 | SRCREV_machine_qemux86 ?= "253c39a252f25843111b7be0c8247eb4bd6c328d" |
| 19 | SRCREV_machine_qemux86-64 ?= "253c39a252f25843111b7be0c8247eb4bd6c328d" |
| 20 | SRCREV_machine_qemumips64 ?= "bb7ae8a8cbe76c9ce2804f651936f059f9f621a2" |
| 21 | SRCREV_machine ?= "253c39a252f25843111b7be0c8247eb4bd6c328d" |
| 22 | SRCREV_meta ?= "d85f07e03c980eca5ffd5ba058985d6ed3a83801" |
| 23 | |
| 24 | SRC_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.19;destsuffix=${KMETA} \ |
| 26 | " |
| 27 | |
| 28 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" |
| 29 | LINUX_VERSION ?= "4.19.30" |
| 30 | |
| 31 | DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" |
| 32 | DEPENDS += "openssl-native util-linux-native" |
| 33 | |
| 34 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 35 | |
| 36 | KMETA = "kernel-meta" |
| 37 | KCONF_BSP_AUDIT_LEVEL = "2" |
| 38 | |
| 39 | KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" |
| 40 | |
| 41 | COMPATIBLE_MACHINE = "qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" |
| 42 | |
| 43 | # Functionality flags |
| 44 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |
| 45 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" |
| 46 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" |
| 47 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 48 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 49 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" |