Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | KBRANCH ?= "v4.14/standard/base" |
| 2 | |
| 3 | require recipes-kernel/linux/linux-yocto.inc |
| 4 | |
| 5 | # board specific branches |
| 6 | KBRANCH_qemuarm ?= "v4.14/standard/arm-versatile-926ejs" |
| 7 | KBRANCH_qemuarm64 ?= "v4.14/standard/qemuarm64" |
| 8 | KBRANCH_qemumips ?= "v4.14/standard/mti-malta32" |
| 9 | KBRANCH_qemuppc ?= "v4.14/standard/qemuppc" |
| 10 | KBRANCH_qemux86 ?= "v4.14/standard/base" |
| 11 | KBRANCH_qemux86-64 ?= "v4.14/standard/base" |
| 12 | KBRANCH_qemumips64 ?= "v4.14/standard/mti-malta64" |
| 13 | |
| 14 | SRCREV_machine_qemuarm ?= "d6268fc3460d3904fd49087f7a822efbaab9bfe8" |
| 15 | SRCREV_machine_qemuarm64 ?= "c94189843b8ad62cafe9a307e7f7d60741690505" |
| 16 | SRCREV_machine_qemumips ?= "4afd92347b2b35dc8e0006712f8fa00ac57f2a36" |
| 17 | SRCREV_machine_qemuppc ?= "e8af5c9b65c5187d148ecd11bd7979489460ca64" |
| 18 | SRCREV_machine_qemux86 ?= "74f6cd2b6976e37491779fcb1bc4966d3a61492c" |
| 19 | SRCREV_machine_qemux86-64 ?= "74f6cd2b6976e37491779fcb1bc4966d3a61492c" |
| 20 | SRCREV_machine_qemumips64 ?= "9863b327e770b42b8c18da3e0cfaf06e8f99ae97" |
| 21 | SRCREV_machine ?= "74f6cd2b6976e37491779fcb1bc4966d3a61492c" |
| 22 | SRCREV_meta ?= "ea9330894eea727bd1655569b16f338976b72563" |
| 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.14;destsuffix=${KMETA}" |
| 26 | |
| 27 | LINUX_VERSION ?= "4.14.30" |
| 28 | |
| 29 | DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" |
| 30 | DEPENDS += "openssl-native util-linux-native" |
| 31 | |
| 32 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 33 | |
| 34 | KMETA = "kernel-meta" |
| 35 | KCONF_BSP_AUDIT_LEVEL = "2" |
| 36 | |
| 37 | KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" |
| 38 | |
| 39 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" |
| 40 | |
| 41 | # Functionality flags |
| 42 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |
| 43 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" |
| 44 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" |
| 45 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 46 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 47 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" |