diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-12-23 15:57:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-23 17:31:23 +0000 |
commit | a922112e197925db47cf02682c08f3af2bc760b4 (patch) | |
tree | 19f0b42cb20dd9b8dc49c4faa57cfbe96c463bf8 /meta/recipes-devtools/qemu/qemu.inc | |
parent | c38693f78c968ab5f4bb557c20d1c8c55393ed6b (diff) | |
download | openembedded-core-a922112e197925db47cf02682c08f3af2bc760b4.tar.gz openembedded-core-a922112e197925db47cf02682c08f3af2bc760b4.tar.bz2 openembedded-core-a922112e197925db47cf02682c08f3af2bc760b4.tar.xz openembedded-core-a922112e197925db47cf02682c08f3af2bc760b4.zip |
qemu: explicitly disable kvm support for native without kvm header
Addendum to previous fix - instead of just not specifying --enable-kvm,
explicitly specify --disable-kvm when building native version and
kvm header is unavailable. Fixes reported do_configure failure on
earlier CentOS 5.x versions (e.g. 5.4).
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index bd86b4e9c..33abf96f6 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -40,7 +40,7 @@ do_configure_prepend_virtclass-native() { do_configure() { # Handle distros such as CentOS 5 32-bit that do not have kvm support - KVMOPTS="" + KVMOPTS="--disable-kvm" if [ "${PN}" != "qemu-native" ] || [ -f /usr/include/linux/kvm.h ] ; then KVMOPTS="--enable-kvm" fi |