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