From: Steve Sakoman Date: Sat, 9 Jul 2022 13:53:10 +0000 (-1000) Subject: qemu: add PACKAGECONFIG for capstone X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3655 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=052ef1f14d1e6a5ee34f742f65e51b20b416f79f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git qemu: add PACKAGECONFIG for capstone Autobuilder workers were non-deterministically enabling capstone depending on whether the worker had libcapstone installed. Add PACKAGECONFIG for capstone with default off, since qemu does not require capstone support. Qemu version in dunfell has capstone in the source tree as a submodule and has configure options to enable it using that source code or using the system libcapstone. Qemu versions in master and kirkstone have removed the capstone submodule and configure options, but added libcapstone autodetection to meson. In all cases using PACKAGECONFIG will allow a deterministic build. Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index e4ced6ac27e..ef4e949805b 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -185,6 +185,7 @@ PACKAGECONFIG[pmem] = "--enable-libpmem,--disable-libpmem,pmdk" PACKAGECONFIG[pulsedio] = "--enable-pa,--disable-pa,pulseaudio" PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux" PACKAGECONFIG[bpf] = "--enable-bpf,--disable-bpf,libbpf" +PACKAGECONFIG[capstone] = "--enable-capstone,--disable-capstone" INSANE_SKIP:${PN} = "arch"