summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2022-07-09 03:53:10 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-12 12:52:52 +0100
commit5e7b817524a8e69a5d72e121db3cd4eead0f2b3a (patch)
tree1c91dca7717266012af44acf3a8a37022614df92
parentdc184d6aaf282f28fe96cce2f01bf20f09821645 (diff)
downloadpoky-5e7b817524a8e69a5d72e121db3cd4eead0f2b3a.tar.gz
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. (From OE-Core rev: 052ef1f14d1e6a5ee34f742f65e51b20b416f79f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index e4ced6ac27..ef4e949805 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"
185PACKAGECONFIG[pulsedio] = "--enable-pa,--disable-pa,pulseaudio" 185PACKAGECONFIG[pulsedio] = "--enable-pa,--disable-pa,pulseaudio"
186PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux" 186PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
187PACKAGECONFIG[bpf] = "--enable-bpf,--disable-bpf,libbpf" 187PACKAGECONFIG[bpf] = "--enable-bpf,--disable-bpf,libbpf"
188PACKAGECONFIG[capstone] = "--enable-capstone,--disable-capstone"
188 189
189INSANE_SKIP:${PN} = "arch" 190INSANE_SKIP:${PN} = "arch"
190 191