From 3d27b83998275d59648d5c2541a56c83b604e9a2 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Thu, 13 Aug 2020 15:08:13 -0700 Subject: xvisor: Add support for building AArch64 Add support for building for AArch64, also remove the requirement to specify a platform. Signed-off-by: Alistair Francis Signed-off-by: Bruce Ashfield --- recipes-extended/xvisor/xvisor_git.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'recipes-extended/xvisor/xvisor_git.bb') diff --git a/recipes-extended/xvisor/xvisor_git.bb b/recipes-extended/xvisor/xvisor_git.bb index 45a7baf5..64b0f226 100644 --- a/recipes-extended/xvisor/xvisor_git.bb +++ b/recipes-extended/xvisor/xvisor_git.bb @@ -18,7 +18,7 @@ S = "${WORKDIR}/git" EXTRA_OEMAKE += "ARCH=\"${@map_xvisor_arch(d.getVar('TARGET_ARCH'), d)}\" I=${D}" -CONFIG = "${@get_oemake_config(d)}" +CONFIG = "${@get_oemake_config(d.getVar('TARGET_ARCH'), d)}" do_configure() { oe_runmake ${CONFIG} @@ -35,11 +35,16 @@ do_install_append() { do_deploy () { install -d ${DEPLOY_DIR_IMAGE} install -m 755 ${D}/vmm.* ${DEPLOY_DIR_IMAGE}/ + + if [[ -f "${D}/*.dtb" ]]; then + install -m 755 ${D}/*.dtb ${DEPLOY_DIR_IMAGE}/ + fi } addtask deploy after do_install FILES_${PN} += "/vmm.*" +FILES_${PN} += "/*.dtb" -COMPATIBLE_HOST = "(riscv64|riscv32).*" +COMPATIBLE_HOST = "(aarch64|riscv64|riscv32).*" INHIBIT_PACKAGE_STRIP = "1" -- cgit v1.2.3-54-g00ecf