[OE-core] [PATCH 2/3] qemu: drop hooking of libsdl from the host

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Mon Oct 19 14:17:09 UTC 2015


Now as libsdl recipe provides libsdl-native, there is no need to hook in
extra library paths from host to compile qemu-native.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
 meta/recipes-devtools/qemu/qemu.inc | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index abbace8..4320031 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -35,14 +35,6 @@ 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 since the host may provide sdl
-	BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "")
-	if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then
-		export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$BHOST_PKGCONFIG_PATH
-	fi
-}
-
 KVMENABLE = "--enable-kvm"
 KVMENABLE_darwin = "--disable-kvm"
 KVMENABLE_mingw32 = "--disable-kvm"
-- 
2.6.1




More information about the Openembedded-core mailing list