summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-07-10 00:14:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-12 22:53:20 +0100
commit69dabec0b1c72069290d7d1689d39dd386af4705 (patch)
tree3a90e788a7ff25223232b54a5873a438c388e203 /meta/recipes-devtools
parente516e11d5998cdad45c670e22b980089e463a574 (diff)
downloadopenembedded-core-69dabec0b1c72069290d7d1689d39dd386af4705.tar.gz
openembedded-core-69dabec0b1c72069290d7d1689d39dd386af4705.tar.bz2
openembedded-core-69dabec0b1c72069290d7d1689d39dd386af4705.zip
qemu: remove invalid sed command
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.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc10
1 files changed, 0 insertions, 10 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index ca94fb223d..d794af9462 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"