Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | KBRANCH ?= "v4.15/standard/base" |
| 2 | |
| 3 | require recipes-kernel/linux/linux-yocto.inc |
| 4 | |
| 5 | # board specific branches |
| 6 | KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" |
| 7 | KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" |
| 8 | KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" |
| 9 | KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" |
| 10 | KBRANCH_qemux86 ?= "v4.15/standard/base" |
| 11 | KBRANCH_qemux86-64 ?= "v4.15/standard/base" |
| 12 | KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" |
| 13 | |
Brad Bishop | d5ae7d9 | 2018-06-14 09:52:03 -0700 | [diff] [blame] | 14 | SRCREV_machine_qemuarm ?= "d16b10fb69974f1804a02f2678f40d22c80526cf" |
| 15 | SRCREV_machine_qemuarm64 ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" |
| 16 | SRCREV_machine_qemumips ?= "182eaefab712f4360126e044c758e75d763d05c4" |
| 17 | SRCREV_machine_qemuppc ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" |
| 18 | SRCREV_machine_qemux86 ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" |
| 19 | SRCREV_machine_qemux86-64 ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" |
| 20 | SRCREV_machine_qemumips64 ?= "ce3876a091477260fcb1197e3c6565dfbf9c6e80" |
| 21 | SRCREV_machine ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" |
| 22 | SRCREV_meta ?= "45c256a5ca6f9478bce212fec19e2bc273472631" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 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.15;destsuffix=${KMETA}" |
| 26 | |
Brad Bishop | d5ae7d9 | 2018-06-14 09:52:03 -0700 | [diff] [blame] | 27 | LINUX_VERSION ?= "4.15.18" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 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)}" |