diff options
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_5.1.0.bb | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 9091115caf..bbb9038961 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -39,6 +39,10 @@ SRC_URI[sha256sum] = "c9174eb5933d9eb5e61f541cd6d1184cd3118dfe4c5c4955bc1bdc4d39 | |||
39 | COMPATIBLE_HOST_mipsarchn32 = "null" | 39 | COMPATIBLE_HOST_mipsarchn32 = "null" |
40 | COMPATIBLE_HOST_mipsarchn64 = "null" | 40 | COMPATIBLE_HOST_mipsarchn64 = "null" |
41 | 41 | ||
42 | # Per https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg03873.html | ||
43 | # upstream states qemu doesn't work without optimization | ||
44 | DEBUG_BUILD = "0" | ||
45 | |||
42 | do_install_append() { | 46 | do_install_append() { |
43 | # Prevent QA warnings about installed ${localstatedir}/run | 47 | # Prevent QA warnings about installed ${localstatedir}/run |
44 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi | 48 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi |
diff --git a/meta/recipes-devtools/qemu/qemu_5.1.0.bb b/meta/recipes-devtools/qemu/qemu_5.1.0.bb index 9b09490269..a4018cc448 100644 --- a/meta/recipes-devtools/qemu/qemu_5.1.0.bb +++ b/meta/recipes-devtools/qemu/qemu_5.1.0.bb | |||
@@ -10,11 +10,6 @@ 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 | |||
18 | EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" | 13 | EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" |
19 | EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" | 14 | EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" |
20 | EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" | 15 | EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" |