diff options
author | Juan Quintela | 2009-07-16 18:34:19 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-07-17 00:28:58 +0200 |
commit | f57975fb7d803b32af5d10831676401ce5f16970 (patch) | |
tree | 3e37a884db464be0f0770b2c3a4e8aba9ce06051 /configure | |
parent | rename s/config_mak/config_host_mak/ and s/config_h/config_host_h/ (diff) | |
download | qemu-f57975fb7d803b32af5d10831676401ce5f16970.tar.gz qemu-f57975fb7d803b32af5d10831676401ce5f16970.tar.xz qemu-f57975fb7d803b32af5d10831676401ce5f16970.zip |
Refactor config_softfloat selection in another list
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 27 |
1 files changed, 7 insertions, 20 deletions
@@ -2069,26 +2069,13 @@ if test ! -z "$gdb_xml_files" ; then fi echo "TARGET_XML_FILES=$list" >> $config_mak -if test "$target_arch2" = "arm" \ - -o "$target_arch2" = "armeb" \ - -o "$target_arch2" = "m68k" \ - -o "$target_arch2" = "microblaze" \ - -o "$target_arch2" = "mips" \ - -o "$target_arch2" = "mipsel" \ - -o "$target_arch2" = "mipsn32" \ - -o "$target_arch2" = "mipsn32el" \ - -o "$target_arch2" = "mips64" \ - -o "$target_arch2" = "mips64el" \ - -o "$target_arch2" = "ppc" \ - -o "$target_arch2" = "ppc64" \ - -o "$target_arch2" = "ppc64abi32" \ - -o "$target_arch2" = "ppcemb" \ - -o "$target_arch2" = "sparc" \ - -o "$target_arch2" = "sparc64" \ - -o "$target_arch2" = "sparc32plus"; then - echo "CONFIG_SOFTFLOAT=y" >> $config_mak - echo "#define CONFIG_SOFTFLOAT 1" >> $config_h -fi +case "$target_arch2" in + arm|armeb|m68k|microblaze|mips|mipsel|mipsn32|mipsn32el|mips64|mips64el|ppc|ppc64|ppc64abi32|ppcemb|sparc|sparc64|sparc32plus) + echo "CONFIG_SOFTFLOAT=y" >> $config_mak + echo "#define CONFIG_SOFTFLOAT 1" >> $config_h + ;; +esac + if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then echo "TARGET_HAS_BFLT=y" >> $config_mak echo "#define TARGET_HAS_BFLT 1" >> $config_h |