summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-12-05 10:03:03 +0800
committerAvi Kivity <avi@qumranet.com>2007-12-09 19:09:51 +0200
commit62ea6423d88d670a51fdc507fbec79f9a4168354 (patch)
tree5ecfba37baad46bf7868ebdbb78f57204f3268f5
parent7fe5f8e2c65ca86d06320076c05a49a47609273d (diff)
kvm: configure: Move CONFIG_X86 to x86 arch for other arch support.
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index c6b3ff31..dadda8e0 100755
--- a/configure
+++ b/configure
@@ -99,6 +99,7 @@ fi
#set parameters compiling
if [ "$arch" = "i386" -o "$arch" = "x86_64" ]; then
target_exec="x86_64-softmmu"
+ qemu_cflags="$qemu_cflags -DCONFIG_X86"
fi
if [ "$arch" = "ia64" ]; then
@@ -113,7 +114,7 @@ fi
#configure qemu
(cd qemu; ./configure --target-list=$target_exec \
--disable-kqemu \
- --extra-cflags="-I $PWD/../libkvm $qemu_cflags -DCONFIG_X86" \
+ --extra-cflags="-I $PWD/../libkvm $qemu_cflags" \
--extra-ldflags="-L $PWD/../libkvm $qemu_ldflags" \
--enable-kvm --kernel-path="$libkvm_kerneldir" \
${enable_alsa:+"--enable-alsa"} \