mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 20:27:58 +02:00
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. (From OE-Core rev: 69dabec0b1c72069290d7d1689d39dd386af4705) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4e9c3db01e
commit
8d1a344eea
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user