[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 11/13] configure xen in a single place
From: |
quintela |
Subject: |
[Qemu-devel] [PATCH 11/13] configure xen in a single place |
Date: |
Wed, 1 Jul 2009 18:58:37 +0200 |
From: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
configure | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/configure b/configure
index 5b35b69..56e4d38 100755
--- a/configure
+++ b/configure
@@ -1991,11 +1991,6 @@ case "$target_cpu" in
echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
echo "#define CONFIG_KVM 1" >> $config_h
fi
- if test "$xen" = "yes" -a "$target_softmmu" = "yes";
- then
- echo "CONFIG_XEN=y" >> $config_mak
- echo "#define CONFIG_XEN 1" >> $config_h
- fi
target_phys_bits=32
;;
x86_64)
@@ -2014,11 +2009,6 @@ case "$target_cpu" in
echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
echo "#define CONFIG_KVM 1" >> $config_h
fi
- if test "$xen" = "yes" -a "$target_softmmu" = "yes"
- then
- echo "CONFIG_XEN=y" >> $config_mak
- echo "#define CONFIG_XEN 1" >> $config_h
- fi
target_phys_bits=64
;;
alpha)
@@ -2174,6 +2164,13 @@ esac
if [ $target_phys_bits -lt $hostlongbits ] ; then
target_phys_bits=$hostlongbits
fi
+case "$target_cpu" in
+ i386|x86_64)
+ if test "$xen" = "yes" -a "$target_softmmu" = "yes" ; then
+ echo "CONFIG_XEN=y" >> $config_mak
+ echo "#define CONFIG_XEN 1" >> $config_h
+ fi
+esac
echo "HWLIB=../libhw$target_phys_bits/libqemuhw$target_phys_bits.a" >>
$config_mak
echo "#define TARGET_PHYS_ADDR_BITS $target_phys_bits" >> $config_h
echo "subdir-$target: subdir-libhw$target_phys_bits" >> $config_host_mak
--
1.6.2.2
- [Qemu-devel] [PATCH 04/13] use block-nested-y for files inside block/, (continued)
- [Qemu-devel] [PATCH 04/13] use block-nested-y for files inside block/, quintela, 2009/07/01
- [Qemu-devel] [PATCH 06/13] Remove unused Makefile variable, quintela, 2009/07/01
- [Qemu-devel] [PATCH 05/13] use nwfpe-obj-y for consistence, quintela, 2009/07/01
- [Qemu-devel] [PATCH 07/13] already defined several lines before in block-obj-y, quintela, 2009/07/01
- [Qemu-devel] [PATCH 08/13] configure already knows what TARGET_BASE_ARCH we need, no need to put the logic in Makefile.target, quintela, 2009/07/01
- [Qemu-devel] [PATCH 10/13] chang ifdefs by obj-, quintela, 2009/07/01
- [Qemu-devel] [PATCH 09/13] TARGET_ARCH2 is already known at configure time and it is called target_cpu Remove re-construction in Makefile.target, quintela, 2009/07/01
- [Qemu-devel] [PATCH 11/13] configure xen in a single place,
quintela <=
- [Qemu-devel] [PATCH 12/13] configure kvm in a single place, quintela, 2009/07/01
- [Qemu-devel] [PATCH 13/13] configure kqemu in a single place, quintela, 2009/07/01