The sed command was used for editting to code added by
linker-flags.patch, but the patch had been gone in 2013, and verified
that there is no -lX11 in Makefile.target, so remove the
sed command.

Signed-off-by: Robert Yang <liezhi.y...@windriver.com>
---
 meta/recipes-devtools/qemu/qemu.inc |   10 ----------
 1 file changed, 10 deletions(-)

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index ca94fb2..d794af9 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -37,16 +37,6 @@ do_configure_prepend_class-native() {
        if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then
                export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$BHOST_PKGCONFIG_PATH
        fi
-
-       # Undo the -lX11 added by linker-flags.patch, don't assume that host 
has libX11 installed
-       sed -i 's/-lX11//g' ${S}/Makefile.target
-}
-
-do_configure_prepend_class-nativesdk() {
-       if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = 
"" ] ; then
-               # Undo the -lX11 added by linker-flags.patch
-               sed -i 's/-lX11//g' ${S}/Makefile.target
-       fi
 }
 
 KVMENABLE = "--enable-kvm"
-- 
1.7.9.5

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to