From: Jeremy Puhlman Date: Mon, 10 Oct 2022 21:42:11 +0000 (-0700) Subject: qemu-native: Add PACKAGECONFIG option for jack X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2787 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27260be388f7f9f324ff405e7d8e254925b4ae90;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git qemu-native: Add PACKAGECONFIG option for jack With libjack-devel or jack-audio-connection-kit-devel, qemu-native detects the library/header and tries to build with it. Since its missing from the sysroot, it fails to build. -O2 -fPIE -D_REENTRANT -Wno-undef -MD -MQ libcommon.fa.p/audio_jackaudio.c.o -MF libcommon.fa.p/audio_jackaudio.c.o.d -o libcommon.fa.p/audio_jackaudio.c.o -c ../qemu-6.2.0/audio/jackaudio.c | ../qemu-6.2.0/audio/jackaudio.c:34:10: fatal error: jack/jack.h: No such file or directory | 34 | #include | | ^~~~~~~~~~~~~ | compilation terminated. Signed-off-by: Jeremy A. Puhlman Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 612abd240a3..711982ba8d7 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -198,6 +198,7 @@ PACKAGECONFIG[rdma] = "--enable-rdma,--disable-rdma" PACKAGECONFIG[vde] = "--enable-vde,--disable-vde" PACKAGECONFIG[slirp] = "--enable-slirp=internal,--disable-slirp" PACKAGECONFIG[brlapi] = "--enable-brlapi,--disable-brlapi" +PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack," INSANE_SKIP:${PN} = "arch"