]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu: remove support for building against host sdl
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 8 Feb 2019 14:45:46 +0000 (15:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Feb 2019 16:05:49 +0000 (16:05 +0000)
This hasn't been the default for a long time (as some distros don't
support it), and with gtk+ being the new default shouldn't
be needed at all.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu.inc

index 07f78058e7b6367b1f2f265a57fdd87ced89dce7..dccf9dcb00cfe4140ca98887dc3ebab1cbd70ea6 100644 (file)
@@ -39,14 +39,6 @@ export LIBTOOL="${HOST_SYS}-libtool"
 
 B = "${WORKDIR}/build"
 
-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
-}
-
 do_configure() {
     ${S}/configure ${EXTRA_OECONF}
 }