From cc9572a7d6a25488601104589364fffc18b833ae Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Thu, 13 Aug 2020 15:08:11 -0700 Subject: xvisor: Bump to a git release Bump the Xvisor SHA to a git release with RISC-V 0.5.0 Hypversior extension support. Signed-off-by: Alistair Francis Signed-off-by: Bruce Ashfield --- recipes-extended/xvisor/xvisor_0.3.0.bb | 44 -------------------------------- recipes-extended/xvisor/xvisor_git.bb | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 44 deletions(-) delete mode 100644 recipes-extended/xvisor/xvisor_0.3.0.bb create mode 100644 recipes-extended/xvisor/xvisor_git.bb diff --git a/recipes-extended/xvisor/xvisor_0.3.0.bb b/recipes-extended/xvisor/xvisor_0.3.0.bb deleted file mode 100644 index 66ad6187..00000000 --- a/recipes-extended/xvisor/xvisor_0.3.0.bb +++ /dev/null @@ -1,44 +0,0 @@ -SUMMARY = "Xvisor is an open-source type-1 hypervisor, which aims at providing a monolithic, light-weight, portable, and flexible virtualization solution." -DESCRIPTION = "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." -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -DEPENDS += "dtc-native dosfstools-native mtools-native" - -require xvisor-configs.inc - -inherit autotools-brokensep - -SRCREV = "58592ef18c71526a0045935d1e8eed5e8553b7d6" -SRC_URI = "git://github.com/xvisor/xvisor.git \ - file://0001-TESTS-Don-t-specify-mabi-or-march-for-RISC-V.patch \ - " - -S = "${WORKDIR}/git" - -EXTRA_OEMAKE += "ARCH=\"${@map_xvisor_arch(d.getVar('TARGET_ARCH'), d)}\" I=${D}" - -CONFIG = "${@get_oemake_config(d)}" - -do_configure() { - oe_runmake ${CONFIG} -} - -do_install_append() { - install -d ${D} - install -m 755 ${B}/build/vmm.* ${D}/ - - # We don't need this - rm ${D}/system.map -} - -do_deploy () { - install -d ${DEPLOY_DIR_IMAGE} - install -m 755 ${D}/vmm.* ${DEPLOY_DIR_IMAGE}/ -} - -addtask deploy after do_install - -FILES_${PN} += "/vmm.*" - -COMPATIBLE_HOST = "(riscv64|riscv32).*" -INHIBIT_PACKAGE_STRIP = "1" diff --git a/recipes-extended/xvisor/xvisor_git.bb b/recipes-extended/xvisor/xvisor_git.bb new file mode 100644 index 00000000..45a7baf5 --- /dev/null +++ b/recipes-extended/xvisor/xvisor_git.bb @@ -0,0 +1,45 @@ +SUMMARY = "Xvisor is an open-source type-1 hypervisor, which aims at providing a monolithic, light-weight, portable, and flexible virtualization solution." +DESCRIPTION = "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." +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +DEPENDS += "dtc-native dosfstools-native mtools-native" + +require xvisor-configs.inc + +inherit autotools-brokensep + +# This version support the RISC-V v0.5.0 Hypervisor extensions +SRCREV = "b3dac5b1f61f23f21dc59b3880897cff78f3b618" +SRC_URI = "git://github.com/avpatel/xvisor-next.git \ + file://0001-TESTS-Don-t-specify-mabi-or-march-for-RISC-V.patch \ + " + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE += "ARCH=\"${@map_xvisor_arch(d.getVar('TARGET_ARCH'), d)}\" I=${D}" + +CONFIG = "${@get_oemake_config(d)}" + +do_configure() { + oe_runmake ${CONFIG} +} + +do_install_append() { + install -d ${D} + install -m 755 ${B}/build/vmm.* ${D}/ + + # We don't need this + rm ${D}/system.map +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install -m 755 ${D}/vmm.* ${DEPLOY_DIR_IMAGE}/ +} + +addtask deploy after do_install + +FILES_${PN} += "/vmm.*" + +COMPATIBLE_HOST = "(riscv64|riscv32).*" +INHIBIT_PACKAGE_STRIP = "1" -- cgit v1.2.3-54-g00ecf