Patrick Williams | e69d235 | 2017-02-23 20:56:04 -0600 | [diff] [blame] | 1 | SUMMARY = "Native Linux KVM tool" |
| 2 | DESCRIPTION = "kvmtool is a lightweight tool for hosting KVM guests." |
| 3 | |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067" |
| 6 | |
| 7 | DEPENDS = "dtc libaio zlib" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 8 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 9 | |
| 10 | inherit kernel-arch |
Patrick Williams | e69d235 | 2017-02-23 20:56:04 -0600 | [diff] [blame] | 11 | |
| 12 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \ |
| 13 | file://external-crosscompiler.patch \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 14 | file://0001-Avoid-pointers-for-address-of-packed-members.patch \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 15 | file://0001-kvmtool-9p-fixed-compilation-error.patch \ |
| 16 | file://0002-kvmtool-add-EXTRA_CFLAGS-variable.patch \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 17 | " |
Patrick Williams | e69d235 | 2017-02-23 20:56:04 -0600 | [diff] [blame] | 18 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 19 | SRCREV = "3fea89a924511f9f8fe05a892098fad77c1eca0d" |
Patrick Williams | e69d235 | 2017-02-23 20:56:04 -0600 | [diff] [blame] | 20 | PV = "3.18.0+git${SRCREV}" |
| 21 | |
| 22 | S = "${WORKDIR}/git" |
| 23 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 24 | EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_DIR}/arch/${ARCH}/include -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated/"' |
Patrick Williams | e69d235 | 2017-02-23 20:56:04 -0600 | [diff] [blame] | 25 | |
| 26 | do_install() { |
| 27 | install -d ${D}${bindir} |
| 28 | install -m 0755 ${S}/lkvm ${D}${bindir}/ |
| 29 | } |