meta-virtualization/recipes-extended/kvmtool/kvmtool.bb
Bruce Ashfield 436b60e582 kvmtool: refresh to 5.10 version
Grabbing the latest kvmtool sources. These follow kernel numbering,
so we bump that to 5.10 to match.

We also drop one patch that is part of the main repo now, and
refresh the others to avoid fuzz warnings.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-02-07 08:43:53 -05:00

30 lines
966 B
BlitzBasic

SUMMARY = "Native Linux KVM tool"
DESCRIPTION = "kvmtool is a lightweight tool for hosting KVM guests."
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
DEPENDS = "dtc libaio zlib"
do_configure[depends] += "virtual/kernel:do_shared_workdir"
inherit kernel-arch
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \
file://external-crosscompiler.patch \
file://0001-kvmtool-9p-fixed-compilation-error.patch \
file://0002-kvmtool-add-EXTRA_CFLAGS-variable.patch \
file://0003-kvmtool-Werror-disabled.patch \
"
SRCREV = "90b2d3adadf218dfc6bdfdfcefe269843360223c"
PV = "5.10.0+git${SRCPV}"
S = "${WORKDIR}/git"
EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_BUILDDIR}/include/generated -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated"'
do_install() {
install -d ${D}${bindir}
install -m 0755 ${S}/lkvm ${D}${bindir}/
}