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>2021-10-07 15:06:34 +0100
commiteb77788769c0cd31ef683f7223ba8e414fd2fc98 (patch)
tree155ff38ee497ab706fb86b91087549c9dd8ccc0b /meta/recipes-devtools/qemu/qemu.inc
parentf35d0fac9b1f47be4c781a8545252f766ecc9308 (diff)
downloadpoky-eb77788769c0cd31ef683f7223ba8e414fd2fc98.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: 42b364a25fdbc987c85dd46b8427045033924d99) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.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 76e8da159c..4c94060222 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -203,6 +203,8 @@ PACKAGECONFIG[vhost] = "--enable-vhost-net,--disable-vhost-net,,"
203PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust," 203PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust,"
204PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,," 204PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,,"
205PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp" 205PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp"
206# libnfs is currently provided by meta-kodi
207PACKAGECONFIG[libnfs] = "--enable-libnfs,--disable-libnfs,libnfs"
206 208
207INSANE_SKIP:${PN} = "arch" 209INSANE_SKIP:${PN} = "arch"
208 210