[oe-commits] Robert Yang : qemu: remove invalid sed command
git at git.openembedded.org
git at git.openembedded.org
Sun Jul 12 21:51:07 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: b0c900a0df4d7e4bdfdc02df272ea68d496a629b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b0c900a0df4d7e4bdfdc02df272ea68d496a629b
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Fri Jul 10 00:14:50 2015 -0700
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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 7a3f1e6..7f21c15 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -36,16 +36,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"
More information about the Openembedded-commits
mailing list