mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
37 lines
991 B
BlitzBasic
37 lines
991 B
BlitzBasic
# 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, and init scripts) which all
|
|
# together fully define a xen guest image
|
|
#
|
|
# Usage documentation for the xenguest-mkimage tool can be found in
|
|
# meta-arm-autonomy/documentation/xenguest-mkimage.md
|
|
|
|
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"
|
|
|
|
inherit allarch
|
|
|
|
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
|
|
RDEPENDS:${PN} = "bash"
|
|
FILES:${PN} = "${bindir}/xenguest-mkimage"
|
|
|