summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-06-20 10:35:54 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-21 00:33:23 +0100
commite810484c7292f7fb96dd01ef4b3c2e1ffd384770 (patch)
tree63fb6c5a0c916e7248b1e2ec815d71ffed2f97ef /meta/recipes-devtools/qemu
parentb290480f7072293dbca68a43e1d2cecc9829421c (diff)
downloadpoky-e810484c7292f7fb96dd01ef4b3c2e1ffd384770.tar.gz
qemu: disable capstone for 32-bit mips with multilib
When build lib32-qemu for qemumips with multilib: require conf/multilib.conf MACHINE = "qemumips64" MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "mips" it fails to compile capstone: | CC arch/AArch64/AArch64InstPrinter.o | {standard input}: Assembler messages: | {standard input}:36033: Error: branch out of range | {standard input}:36257: Error: branch out of range Disable capstone for mips o32 in this situation as a workround. (From OE-Core rev: d741ebf346f265e331722369c8260a0a7af9e8e2) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemu_4.0.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_4.0.0.bb b/meta/recipes-devtools/qemu/qemu_4.0.0.bb
index f119215b21..76776098d0 100644
--- a/meta/recipes-devtools/qemu/qemu_4.0.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_4.0.0.bb
@@ -7,6 +7,7 @@ DEPENDS = "glib-2.0 zlib pixman bison-native"
7RDEPENDS_${PN}_class-target += "bash" 7RDEPENDS_${PN}_class-target += "bash"
8 8
9EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" 9EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
10EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
10EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" 11EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
11 12
12do_install_append_class-nativesdk() { 13do_install_append_class-nativesdk() {