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 | |
Brad Bishop | a5c52ff | 2018-11-23 10:55:50 +1300 | [diff] [blame^] | 14 | SRCREV_machine_qemuarm ?= "8752b8421efe8b5a478f17fbffacf4af974ec703" |
| 15 | SRCREV_machine_qemuarm64 ?= "ac66474ba7f7e93d16ae3ea005f214113bb127c5" |
| 16 | SRCREV_machine_qemumips ?= "ab031b267e2a79fcd48da5d10d503f4d065f4821" |
| 17 | SRCREV_machine_qemuppc ?= "f47c3945e8dd230ea37771bcacc836245fc79d22" |
| 18 | SRCREV_machine_qemux86 ?= "f1d93b219bde37a8a286cd18d6af2dcf0d02c1a8" |
| 19 | SRCREV_machine_qemux86-64 ?= "f1d93b219bde37a8a286cd18d6af2dcf0d02c1a8" |
| 20 | SRCREV_machine_qemumips64 ?= "8063a7258fc670a361fed85b858fabb237485f1c" |
| 21 | SRCREV_machine ?= "f1d93b219bde37a8a286cd18d6af2dcf0d02c1a8" |
| 22 | SRCREV_meta ?= "6a3254e7b370cbb86c1f73379dcf38885c1c69e0" |
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.14;destsuffix=${KMETA}" |
| 26 | |
Brad Bishop | a5c52ff | 2018-11-23 10:55:50 +1300 | [diff] [blame^] | 27 | LINUX_VERSION ?= "4.14.79" |
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)}" |