Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | KBRANCH ?= "v5.0/standard/base" |
| 2 | |
| 3 | require recipes-kernel/linux/linux-yocto.inc |
| 4 | |
| 5 | # board specific branches |
| 6 | KBRANCH_qemuarm ?= "v5.0/standard/arm-versatile-926ejs" |
| 7 | KBRANCH_qemuarm64 ?= "v5.0/standard/qemuarm64" |
| 8 | KBRANCH_qemumips ?= "v5.0/standard/mti-malta32" |
| 9 | KBRANCH_qemuppc ?= "v5.0/standard/qemuppc" |
| 10 | KBRANCH_qemux86 ?= "v5.0/standard/base" |
| 11 | KBRANCH_qemux86-64 ?= "v5.0/standard/base" |
| 12 | KBRANCH_qemumips64 ?= "v5.0/standard/mti-malta64" |
| 13 | |
| 14 | SRCREV_machine_qemuarm ?= "18a5ffa0e90184c8503ff1df45e4e5e501b1bab3" |
| 15 | SRCREV_machine_qemuarm64 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" |
| 16 | SRCREV_machine_qemumips ?= "c4d3cd6437329407e2cc7e3e4615769452d426b1" |
| 17 | SRCREV_machine_qemuppc ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" |
| 18 | SRCREV_machine_qemux86 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" |
| 19 | SRCREV_machine_qemux86-64 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" |
| 20 | SRCREV_machine_qemumips64 ?= "2468c20c15477ebe5ecd73c0e0162d7432149318" |
| 21 | SRCREV_machine ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" |
Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame^] | 22 | SRCREV_meta ?= "f0b575cda6d03540ff8da2f70421f13a08f34a5e" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 23 | |
| 24 | # remap qemuarm to qemuarma15 for the 5.0 kernel |
| 25 | # KMACHINE_qemuarm ?= "qemuarma15" |
| 26 | |
| 27 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ |
| 28 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.0;destsuffix=${KMETA}" |
| 29 | |
| 30 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" |
| 31 | LINUX_VERSION ?= "5.0.3" |
| 32 | |
| 33 | DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" |
| 34 | DEPENDS += "openssl-native util-linux-native" |
| 35 | |
| 36 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 37 | |
| 38 | KMETA = "kernel-meta" |
| 39 | KCONF_BSP_AUDIT_LEVEL = "2" |
| 40 | |
| 41 | KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" |
| 42 | |
| 43 | COMPATIBLE_MACHINE = "qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" |
| 44 | |
| 45 | # Functionality flags |
| 46 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |
| 47 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" |
| 48 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" |
| 49 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 50 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 51 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" |