diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2020-08-13 15:08:13 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-08-16 21:18:21 -0400 |
commit | 3d27b83998275d59648d5c2541a56c83b604e9a2 (patch) | |
tree | dd8b7a73d540982a1e731b077247ea8561087a07 /recipes-extended/xvisor/xvisor_git.bb | |
parent | 8ffc613d126c9f46436f932f5443470a1d0e9abc (diff) | |
download | meta-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.bb | 9 |
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 | ||
19 | EXTRA_OEMAKE += "ARCH=\"${@map_xvisor_arch(d.getVar('TARGET_ARCH'), d)}\" I=${D}" | 19 | EXTRA_OEMAKE += "ARCH=\"${@map_xvisor_arch(d.getVar('TARGET_ARCH'), d)}\" I=${D}" |
20 | 20 | ||
21 | CONFIG = "${@get_oemake_config(d)}" | 21 | CONFIG = "${@get_oemake_config(d.getVar('TARGET_ARCH'), d)}" |
22 | 22 | ||
23 | do_configure() { | 23 | do_configure() { |
24 | oe_runmake ${CONFIG} | 24 | oe_runmake ${CONFIG} |
@@ -35,11 +35,16 @@ do_install_append() { | |||
35 | do_deploy () { | 35 | do_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 | ||
40 | addtask deploy after do_install | 44 | addtask deploy after do_install |
41 | 45 | ||
42 | FILES_${PN} += "/vmm.*" | 46 | FILES_${PN} += "/vmm.*" |
47 | FILES_${PN} += "/*.dtb" | ||
43 | 48 | ||
44 | COMPATIBLE_HOST = "(riscv64|riscv32).*" | 49 | COMPATIBLE_HOST = "(aarch64|riscv64|riscv32).*" |
45 | INHIBIT_PACKAGE_STRIP = "1" | 50 | INHIBIT_PACKAGE_STRIP = "1" |