diff options
author | Joe Slater <joe.slater@windriver.com> | 2020-06-01 15:30:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-18 12:25:01 +0100 |
commit | ff6ba7215ac1f2e9dc893c0acfb05528eeb415d6 (patch) | |
tree | 9c59716936c5724734755fba44d517bd74b674ba | |
parent | 6d7fc2624fc195f7dc27b81d294746613c756c11 (diff) | |
download | poky-ff6ba7215ac1f2e9dc893c0acfb05528eeb415d6.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: dce2315ea2e0f14854fa43994eede04848cd624c)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad404b2e51223625bd95f9a7da4c7a690c37bdfb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_4.2.0.bb | 5 |
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 f0c1daabe1..9c76144749 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 | ||
11 | RDEPENDS_${PN}_class-target += "bash" | 11 | RDEPENDS_${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 | # | ||
16 | DEBUG_BUILD = "0" | ||
17 | |||
13 | EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" | 18 | EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" |
14 | EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" | 19 | EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" |
15 | EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" | 20 | EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" |