Skip to content
Snippets Groups Projects
Commit 0d2b5864 authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

qemu: Define libnfs PACKAGECONFIG

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>
parent 6a8c6ddd
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
PACKAGECONFIG[libnfs] = "--enable-libnfs,--disable-libnfs,libnfs"
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
require asos-qemu.inc
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
require asos-qemu.inc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment