diff mbox series

qemu: add PACKAGECONFIG for debuginfo support

Message ID 20230516135702.1044245-1-ross.burton@arm.com
State Accepted, archived
Commit 9afb0fbfbf2cde3b1c3f0995f883fe6887e9f103
Headers show
Series qemu: add PACKAGECONFIG for debuginfo support | expand

Commit Message

Ross Burton May 16, 2023, 1:57 p.m. UTC
From: Ross Burton <ross.burton@arm.com>

qemu was auto-detecting the presence of libdw from elfutils, which
causes problems with a sstate object for qemu-native built with libdw is
ran on a machine without libdw.

We have no need for the debuginfo support to be enabled, so disable this
by default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/qemu/qemu.inc | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 394fa2acabf..a87dee5c996 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -224,6 +224,7 @@  PACKAGECONFIG[vde] = "--enable-vde,--disable-vde"
 PACKAGECONFIG[slirp] = "--enable-slirp,--disable-slirp,libslirp"
 PACKAGECONFIG[brlapi] = "--enable-brlapi,--disable-brlapi"
 PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack,"
+PACKAGECONFIG[debuginfo] = "--enable-libdw,--disable-libdw,elfutils"
 
 INSANE_SKIP:${PN} = "arch"