summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMing Liu <ming.liu@windriver.com>2013-11-13 16:15:47 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-20 14:03:03 +0000
commitfd638b975aac826d7137fd11db94b64ba82de592 (patch)
treeea2dc02a3ce366c1b24ed7833066e30dfdcec100
parent7d2767d4e27c6d0eaa56f3e126df56e65a5364c9 (diff)
downloadopenembedded-core-contrib-fd638b975aac826d7137fd11db94b64ba82de592.tar.gz
openembedded-core-contrib-fd638b975aac826d7137fd11db94b64ba82de592.tar.bz2
openembedded-core-contrib-fd638b975aac826d7137fd11db94b64ba82de592.zip
qemu: explicitly disable xen support
We don't make use of xen and when building on Ubuntu 13.04 when libxen-dev is installed on the build host you will get errors like the following: | /usr/include/x86_64-linux-gnu/bits/string3.h:81: warning: memset used with constant zero length parameter; this could be due to transposed parameters | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_alone_decoder@XZ_5.0' | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_code@XZ_5.0' | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_stream_decoder@XZ_5.0' | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_end@XZ_5.0' This change disables xen for both -native and target packages but since it is a PACKAGECONFIG a user could tune this to have xen support in the target package. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 26b670bab4..21ce4891e1 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -80,6 +80,7 @@ PACKAGECONFIG ??= ""
PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap attr,"
PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
PACKAGECONFIG[xfs] = "--enable-xfsctl,--disable-xfsctl,xfsprogs,"
+PACKAGECONFIG[xen] = "--enable-xen, --disable-xen,,"
# Qemu target will not build in world build for ARM or Mips
BROKEN_qemuarm = "1"