summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xvisor/xvisor_0.3.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/xvisor/xvisor_0.3.0.bb')
-rw-r--r--recipes-extended/xvisor/xvisor_0.3.0.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes-extended/xvisor/xvisor_0.3.0.bb b/recipes-extended/xvisor/xvisor_0.3.0.bb
new file mode 100644
index 00000000..66ad6187
--- /dev/null
+++ b/recipes-extended/xvisor/xvisor_0.3.0.bb
@@ -0,0 +1,44 @@
1SUMMARY = "Xvisor is an open-source type-1 hypervisor, which aims at providing a monolithic, light-weight, portable, and flexible virtualization solution."
2DESCRIPTION = "Xvisor primarily supports Full virtualization hence, supports a wide range of unmodified guest operating systems. Paravirtualization is optional for Xvisor and will be supported in an architecture independent manner (such as VirtIO PCI/MMIO devices) to ensure no-change in guest OS for using paravirtualization."
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5DEPENDS += "dtc-native dosfstools-native mtools-native"
6
7require xvisor-configs.inc
8
9inherit autotools-brokensep
10
11SRCREV = "58592ef18c71526a0045935d1e8eed5e8553b7d6"
12SRC_URI = "git://github.com/xvisor/xvisor.git \
13 file://0001-TESTS-Don-t-specify-mabi-or-march-for-RISC-V.patch \
14 "
15
16S = "${WORKDIR}/git"
17
18EXTRA_OEMAKE += "ARCH=\"${@map_xvisor_arch(d.getVar('TARGET_ARCH'), d)}\" I=${D}"
19
20CONFIG = "${@get_oemake_config(d)}"
21
22do_configure() {
23 oe_runmake ${CONFIG}
24}
25
26do_install_append() {
27 install -d ${D}
28 install -m 755 ${B}/build/vmm.* ${D}/
29
30 # We don't need this
31 rm ${D}/system.map
32}
33
34do_deploy () {
35 install -d ${DEPLOY_DIR_IMAGE}
36 install -m 755 ${D}/vmm.* ${DEPLOY_DIR_IMAGE}/
37}
38
39addtask deploy after do_install
40
41FILES_${PN} += "/vmm.*"
42
43COMPATIBLE_HOST = "(riscv64|riscv32).*"
44INHIBIT_PACKAGE_STRIP = "1"