qemu: force target build type to production
PATCH 1/1 qemu: force target build type to production
qemu will not build for -Og optimization because macros in lockable.h do not work as expected. Override DEBUG_BUILD.
--- meta/recipes-devtools/qemu/qemu_4.2.0.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-devtools/qemu/qemu_4.2.0.bb +4 -0
@@ -10,6 +10,10 @@ DEPENDS = "glib-2.0 zlib pixman bison-native" RDEPENDS_${PN}_class-target += "bash" +# Does not compile for -Og +# +DEBUG_BUILD_class-target = "0" + EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
Signature · 1 line
2.17.1
Quoted 13 lines · Joe Slater
qemu will not build for -Og optimization because macros in
lockable.hdo not work as expected. OverrideDEBUG_BUILD.Signed-off-by Joe Slater <[email protected]>--- meta/recipes-devtools/qemu/qemu_4.2.0.bb | 4 ++++ 1 file changed, 4 insertions(+)meta/recipes-devtools/qemu/qemu_4.2.0.bb +0
-0
meta/recipes-devtools/qemu/qemu_4.2.0.bb DEPENDS = "glib-2.0 zlib pixman bison-native" · line 15
Quoted 6 lines
meta/recipes-devtools/qemu/qemu_4.2.0.bb +3
-0@@ -10,6 +10,10 @@ DEPENDS = "glib-2.0 zlib pixman bison-native" RDEPENDS_${PN}_class-target += "bash" +# Does not compile for -Og +# +DEBUG_BUILD_class-target = "0"
Would native and nativesdk builds not have the same issue?
Cheers,
Richard
Qemu-native, no, but nativesdk-qemu, yes. Joe
-----Original Message-----
From: Richard Purdie <[email protected]>
Sent: Sunday, May 31, 2020 2:39 AM
To: Slater, Joseph <[email protected]>; [email protected]
Cc: MacLeod, Randy <[email protected]>
Subject: Re: [oe-core][PATCH 1/1] qemu: force target build type to production
Quoted 14 lines · Joe Slater
qemu will not build for -Og optimization because macros in
lockable.hdo not work as expected. OverrideDEBUG_BUILD.Signed-off-by Joe Slater <[email protected]>--- meta/recipes-devtools/qemu/qemu_4.2.0.bb | 4 ++++ 1 file changed, 4 insertions(+)meta/recipes-devtools/qemu/qemu_4.2.0.bb +0
-0
meta/recipes-devtools/qemu/qemu_4.2.0.bb DEPENDS = "glib-2.0 zlib pixman bison-native" · line 15
Quoted 6 lines
meta/recipes-devtools/qemu/qemu_4.2.0.bb +3
-0@@ -10,6 +10,10 @@ DEPENDS = "glib-2.0 zlib pixman bison-native" RDEPENDS_${PN}_class-target += "bash" +# Does not compile for -Og +# +DEBUG_BUILD_class-target = "0"
Would native and nativesdk builds not have the same issue?
Cheers,
Richard