summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xvisor/xvisor_git.bb
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-08-13 15:08:13 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-08-16 21:18:21 -0400
commit3d27b83998275d59648d5c2541a56c83b604e9a2 (patch)
treedd8b7a73d540982a1e731b077247ea8561087a07 /recipes-extended/xvisor/xvisor_git.bb
parent8ffc613d126c9f46436f932f5443470a1d0e9abc (diff)
downloadmeta-virtualization-3d27b83998275d59648d5c2541a56c83b604e9a2.tar.gz
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 <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/xvisor/xvisor_git.bb')
-rw-r--r--recipes-extended/xvisor/xvisor_git.bb9
1 files changed, 7 insertions, 2 deletions
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"
18 18
19EXTRA_OEMAKE += "ARCH=\"${@map_xvisor_arch(d.getVar('TARGET_ARCH'), d)}\" I=${D}" 19EXTRA_OEMAKE += "ARCH=\"${@map_xvisor_arch(d.getVar('TARGET_ARCH'), d)}\" I=${D}"
20 20
21CONFIG = "${@get_oemake_config(d)}" 21CONFIG = "${@get_oemake_config(d.getVar('TARGET_ARCH'), d)}"
22 22
23do_configure() { 23do_configure() {
24 oe_runmake ${CONFIG} 24 oe_runmake ${CONFIG}
@@ -35,11 +35,16 @@ do_install_append() {
35do_deploy () { 35do_deploy () {
36 install -d ${DEPLOY_DIR_IMAGE} 36 install -d ${DEPLOY_DIR_IMAGE}
37 install -m 755 ${D}/vmm.* ${DEPLOY_DIR_IMAGE}/ 37 install -m 755 ${D}/vmm.* ${DEPLOY_DIR_IMAGE}/
38
39 if [[ -f "${D}/*.dtb" ]]; then
40 install -m 755 ${D}/*.dtb ${DEPLOY_DIR_IMAGE}/
41 fi
38} 42}
39 43
40addtask deploy after do_install 44addtask deploy after do_install
41 45
42FILES_${PN} += "/vmm.*" 46FILES_${PN} += "/vmm.*"
47FILES_${PN} += "/*.dtb"
43 48
44COMPATIBLE_HOST = "(riscv64|riscv32).*" 49COMPATIBLE_HOST = "(aarch64|riscv64|riscv32).*"
45INHIBIT_PACKAGE_STRIP = "1" 50INHIBIT_PACKAGE_STRIP = "1"