summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu.inc
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@huawei.com>2021-10-06 13:08:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-23 16:22:59 +0100
commit9cc9232e31df86a4573ef680de6e3ad5b1fc6dfe (patch)
tree3b9e2a916344d9906098a1a01f0e54079918db92 /meta/recipes-devtools/qemu/qemu.inc
parentb44d2090439187bcdc740736abd5a9879f455e51 (diff)
downloadpoky-9cc9232e31df86a4573ef680de6e3ad5b1fc6dfe.tar.gz
qemu: Define libnfs PACKAGECONFIG
The upstream qemu recipe uses host's pkg-config files as a solution to detecting host's SDL. This has a side effect of using other host libraries that are later queried by the configure script. This can get into a situation when the host provides libnfs (for example) and because later this dependency is not in place anymore, qemu will fail at runtime. This change adds a PACKAGECONFIG definition for libnfs that is disabled by default, in turn disabling the pkgconfig autodetection in configure. (From OE-Core rev: 9badcf0261f6b735d65a5498bb8fbb9979d7a07f) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 42b364a25fdbc987c85dd46b8427045033924d99) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index c1db723e90..b432b01224 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -271,6 +271,8 @@ PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,eudev"
271PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2" 271PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2"
272PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp" 272PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp"
273PACKAGECONFIG[capstone] = "--enable-capstone,--disable-capstone" 273PACKAGECONFIG[capstone] = "--enable-capstone,--disable-capstone"
274# libnfs is currently provided by meta-kodi
275PACKAGECONFIG[libnfs] = "--enable-libnfs,--disable-libnfs,libnfs"
274 276
275INSANE_SKIP_${PN} = "arch" 277INSANE_SKIP_${PN} = "arch"
276 278