* [PATCH 0/1] Partial fix for YB6495
@ 2014-07-03 12:57 Cristian Iorga
2014-07-03 12:57 ` [PATCH 1/1] qemu: fix qemu-native pkg-config paths Cristian Iorga
0 siblings, 1 reply; 2+ messages in thread
From: Cristian Iorga @ 2014-07-03 12:57 UTC (permalink / raw)
To: openembedded-core
For YB6495 to be completely fixed, source poky commit for Build Appliance
needs to be advanced to this patch after integration.
As such, this is a partial fix.
The following changes since commit 0ed5a13f5f9478e2c22f517fb3504b738422f85c:
python3: fix builtins imports (2014-06-30 16:36:44 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ciorga/YB6495
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ciorga/YB6495
Cristian Iorga (1):
qemu: fix qemu-native pkg-config paths
meta/recipes-devtools/qemu/qemu.inc | 4 ++++
1 file changed, 4 insertions(+)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] qemu: fix qemu-native pkg-config paths
2014-07-03 12:57 [PATCH 0/1] Partial fix for YB6495 Cristian Iorga
@ 2014-07-03 12:57 ` Cristian Iorga
0 siblings, 0 replies; 2+ messages in thread
From: Cristian Iorga @ 2014-07-03 12:57 UTC (permalink / raw)
To: openembedded-core
For qemu-native, the pkg-config paths do not
include build host paths.
This is an issue for libsdl for example, where SDL is
used by qemu, but for qemu-native libsdl-native is not
built, but assumed to be provided by the build host.
Because pkg-config do not search for libsdl config files
on the build host sysroot, the configure stage of qemu-native
will fail because it will not find SDL as being installed.
Usually, the isssue is masked by a functional sdl-config that
will be interogated instead of pkg-config. However, on Build
Appliance, sdl-config is deliberately made non-functional,
so the issue manifests itself.
The fix will create an extended PKG_CONFIG_PATH, which does
include the build host sysroot paths for pkg-config.
Fix for [YP #6495].
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
---
meta/recipes-devtools/qemu/qemu.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 076e8ad..449b5f4 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -33,6 +33,10 @@ EXTRA_OECONF_class-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disa
export LIBTOOL="${HOST_SYS}-libtool"
do_configure_prepend_class-native() {
+ #Append build host pkg-config paths for native target
+ BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config)
+ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$BHOST_PKGCONFIG_PATH
+
# Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed
sed -i 's/-lX11//g' Makefile.target
}
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-03 12:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-03 12:57 [PATCH 0/1] Partial fix for YB6495 Cristian Iorga
2014-07-03 12:57 ` [PATCH 1/1] qemu: fix qemu-native pkg-config paths Cristian Iorga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox