]> code.ossystems Code Review - openembedded-core.git/commit
qemu: Define libnfs PACKAGECONFIG
authorAndrei Gherzan <andrei.gherzan@huawei.com>
Wed, 6 Oct 2021 12:08:33 +0000 (13:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Oct 2021 14:06:01 +0000 (15:06 +0100)
commit42b364a25fdbc987c85dd46b8427045033924d99
treea2ca8c25f16f9b9fc21521357eaae025e130851b
parented725fb0f27c867fa5a17a28c9ec4e21ce44867a
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.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu.inc