]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
qemu: add PACKAGECONFIG for capstone
authorSteve Sakoman <steve@sakoman.com>
Wed, 6 Jul 2022 16:41:59 +0000 (06:41 -1000)
committerSteve Sakoman <steve@sakoman.com>
Tue, 12 Jul 2022 14:08:20 +0000 (04:08 -1000)
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 <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 052ef1f14d1e6a5ee34f742f65e51b20b416f79f)
Signed-off-by: Steve Sakoman <steve@sakoman.com
meta/recipes-devtools/qemu/qemu.inc

index 25c2cdef3a3baeeb92963b0fade218b0a5db5488..4135619fc621ab14f2fdd0f313d01f996cda2561 100644 (file)
@@ -254,6 +254,7 @@ PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon"
 PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,eudev"
 PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2"
 PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp"
+PACKAGECONFIG[capstone] = "--enable-capstone,--disable-capstone"
 
 INSANE_SKIP_${PN} = "arch"