summaryrefslogtreecommitdiff
path: root/import-layers/meta-virtualization/recipes-extended/kvmtool/kvmtool.bb
blob: 3f299dd598b86e81e1df1439a0b215873d52118d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \
           file://external-crosscompiler.patch \
    "

SRCREV = "0093df80d754e1a05b016e5a4ccd4b51a00c562c"
PV = "3.18.0+git${SRCREV}"

S = "${WORKDIR}/git"

EXTRA_OEMAKE='ARCH="${TARGET_ARCH}" V=1'

do_install() {
    install -d ${D}${bindir}
    install -m 0755 ${S}/lkvm ${D}${bindir}/
}