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 | |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame^] | 14 | SRCREV_machine_qemuarm ?= "99f3821bdc8718af3ef6e96d594b593d644ab2e4" |
| 15 | SRCREV_machine_qemuarm64 ?= "891531d68e5101bf64be1cc1cb31e3d1255cf382" |
| 16 | SRCREV_machine_qemumips ?= "1128cfe6c7915535c4066b75342c952640e65d72" |
| 17 | SRCREV_machine_qemuppc ?= "891531d68e5101bf64be1cc1cb31e3d1255cf382" |
| 18 | SRCREV_machine_qemux86 ?= "891531d68e5101bf64be1cc1cb31e3d1255cf382" |
| 19 | SRCREV_machine_qemux86-64 ?= "891531d68e5101bf64be1cc1cb31e3d1255cf382" |
| 20 | SRCREV_machine_qemumips64 ?= "55e385d52db438df1ff7ad3845c9076b2bb221eb" |
| 21 | SRCREV_machine ?= "891531d68e5101bf64be1cc1cb31e3d1255cf382" |
| 22 | SRCREV_meta ?= "d26eec23cf1057a715c05777a18f395678fcbf38" |
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" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame^] | 31 | LINUX_VERSION ?= "5.0.7" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 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" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame^] | 42 | KERNEL_DEVICETREE_qemuarmv5 = "versatile-pb.dtb" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 43 | |
| 44 | COMPATIBLE_MACHINE = "qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" |
| 45 | |
| 46 | # Functionality flags |
| 47 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" |
| 48 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" |
| 49 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" |
| 50 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 51 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" |
| 52 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" |