diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-12-05 10:03:03 +0800 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-12-09 19:09:51 +0200 |
commit | 62ea6423d88d670a51fdc507fbec79f9a4168354 (patch) | |
tree | 5ecfba37baad46bf7868ebdbb78f57204f3268f5 | |
parent | 7fe5f8e2c65ca86d06320076c05a49a47609273d (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-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"} \ |