Skip to content
Snippets Groups Projects
Andrei Gherzan's avatar
Andrei Gherzan authored
The upstream qemu recipe uses host's pkg-config files as a solution to
detecting host's SDL[1]. 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 by default pkgconfig autodetection in
configure.

[1] https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/qemu/qemu.inc?h=dunfell#n165

Fixes: https://git.ostc-eu.org/OSTC/OHOS/meta-ohos/-/issues/141
Upstream-status: Submitted [https://lists.openembedded.org/g/openembedded-core/message/156694

]
Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
0d2b5864
History

meta-ohos

meta-ohos is a collection of bitbake layers that implement the build system support in All Scenarios OS. The build system documentation is available in the docs subdirectory.

Contributing

See the CONTRIBUTING.md file.

License

See the LICENSES subdirectory.