summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJoe Slater <joe.slater@windriver.com>2020-06-01 15:30:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-09 13:13:59 +0100
commita067139de005d2f3f86488bcc5d67b99270630b5 (patch)
tree68e6e168052044d7c180171debf36f5778cbc131 /meta/recipes-devtools
parent3c5f798c5f84f6d3837ad2d2f93256c6e104e9a3 (diff)
downloadpoky-a067139de005d2f3f86488bcc5d67b99270630b5.tar.gz
qemu: force build type to production
qemu will not build for -Og optimization because macros in lockable.h expect dead-code elimination. Override DEBUG_BUILD. (From OE-Core rev: ad404b2e51223625bd95f9a7da4c7a690c37bdfb) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/qemu/qemu_4.2.0.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_4.2.0.bb b/meta/recipes-devtools/qemu/qemu_4.2.0.bb
index a4018cc448..9b09490269 100644
--- a/meta/recipes-devtools/qemu/qemu_4.2.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_4.2.0.bb
@@ -10,6 +10,11 @@ DEPENDS = "glib-2.0 zlib pixman bison-native"
10 10
11RDEPENDS_${PN}_class-target += "bash" 11RDEPENDS_${PN}_class-target += "bash"
12 12
13# Does not compile for -Og because that level does not clean up dead-code.
14# See lockable.h.
15#
16DEBUG_BUILD = "0"
17
13EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" 18EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
14EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" 19EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
15EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" 20EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"