summaryrefslogtreecommitdiffstats
path: root/bsp/meta-arm/meta-arm-autonomy/recipes-extended/xenguest/xenguest-mkimage.bb
blob: 6ea5fb10180fe2f723d47091557253f615d9fcd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Xenguest mkimage recipe
#
# xenguest-mkimage is a tool to create/modify images to be used as xen guests
# Produced images contains a xen configuration and several optional components
# (kernel, device-tree, disk definition and files, init scripts) which all
# together fully define a full xen guest

DESCRIPTION = "Xenguest mkimage tool"
LICENSE = "MIT"

SRC_URI = "file://xenguest-mkimage"

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

S = "${WORKDIR}"

# Can be built native also to produce xenguest images during Yocto build
BBCLASSEXTEND = "native"

do_configure[noexec] = "1"
do_compile[noexec] = "1"

do_install() {
    install -d -m 755 ${D}${bindir}
    install -m 755 xenguest-mkimage ${D}${bindir}/.
}

# We need bash and tar
RDEPENDS_${PN} = "bash tar"
FILES_${PN} = "${bindir}/xenguest-mkimage"