mirror of https://github.com/proxmox/mirror_qemu
configure xen in a single place
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>master
parent
9637443f85
commit
1b0c87fc0f
|
@ -1993,11 +1993,6 @@ case "$target_arch2" in
|
||||||
echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
|
echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
|
||||||
echo "#define CONFIG_KVM 1" >> $config_h
|
echo "#define CONFIG_KVM 1" >> $config_h
|
||||||
fi
|
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
|
target_phys_bits=32
|
||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64)
|
||||||
|
@ -2016,11 +2011,6 @@ case "$target_arch2" in
|
||||||
echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
|
echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
|
||||||
echo "#define CONFIG_KVM 1" >> $config_h
|
echo "#define CONFIG_KVM 1" >> $config_h
|
||||||
fi
|
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
|
target_phys_bits=64
|
||||||
;;
|
;;
|
||||||
alpha)
|
alpha)
|
||||||
|
@ -2177,6 +2167,13 @@ esac
|
||||||
if [ $target_phys_bits -lt $hostlongbits ] ; then
|
if [ $target_phys_bits -lt $hostlongbits ] ; then
|
||||||
target_phys_bits=$hostlongbits
|
target_phys_bits=$hostlongbits
|
||||||
fi
|
fi
|
||||||
|
case "$target_arch2" 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 "HWLIB=../libhw$target_phys_bits/libqemuhw$target_phys_bits.a" >> $config_mak
|
||||||
echo "#define TARGET_PHYS_ADDR_BITS $target_phys_bits" >> $config_h
|
echo "#define TARGET_PHYS_ADDR_BITS $target_phys_bits" >> $config_h
|
||||||
echo "subdir-$target: subdir-libhw$target_phys_bits" >> $config_host_mak
|
echo "subdir-$target: subdir-libhw$target_phys_bits" >> $config_host_mak
|
||||||
|
|
Loading…
Reference in New Issue