blob: 33fec311837329e7b49fbe96be956736b54ca495 [file] [log] [blame]
Patrick Williamse69d2352017-02-23 20:56:04 -06001SUMMARY = "Native Linux KVM tool"
2DESCRIPTION = "kvmtool is a lightweight tool for hosting KVM guests."
3
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
6
7DEPENDS = "dtc libaio zlib"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05008do_configure[depends] += "virtual/kernel:do_shared_workdir"
9
10inherit kernel-arch
Patrick Williamse69d2352017-02-23 20:56:04 -060011
12SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \
13 file://external-crosscompiler.patch \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014 file://0001-Avoid-pointers-for-address-of-packed-members.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015 file://0001-kvmtool-9p-fixed-compilation-error.patch \
16 file://0002-kvmtool-add-EXTRA_CFLAGS-variable.patch \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017 "
Patrick Williamse69d2352017-02-23 20:56:04 -060018
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019SRCREV = "3fea89a924511f9f8fe05a892098fad77c1eca0d"
Patrick Williamse69d2352017-02-23 20:56:04 -060020PV = "3.18.0+git${SRCREV}"
21
22S = "${WORKDIR}/git"
23
Brad Bishopd7bf8c12018-02-25 22:55:05 -050024EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_DIR}/arch/${ARCH}/include -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated/"'
Patrick Williamse69d2352017-02-23 20:56:04 -060025
26do_install() {
27 install -d ${D}${bindir}
28 install -m 0755 ${S}/lkvm ${D}${bindir}/
29}