Commit f57975fb7d803b32af5d10831676401ce5f16970
Committed by
Anthony Liguori
1 parent
98ec69ac
Refactor config_softfloat selection in another list
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing
1 changed file
with
7 additions
and
20 deletions
configure
... | ... | @@ -2069,26 +2069,13 @@ if test ! -z "$gdb_xml_files" ; then |
2069 | 2069 | fi |
2070 | 2070 | echo "TARGET_XML_FILES=$list" >> $config_mak |
2071 | 2071 | |
2072 | -if test "$target_arch2" = "arm" \ | |
2073 | - -o "$target_arch2" = "armeb" \ | |
2074 | - -o "$target_arch2" = "m68k" \ | |
2075 | - -o "$target_arch2" = "microblaze" \ | |
2076 | - -o "$target_arch2" = "mips" \ | |
2077 | - -o "$target_arch2" = "mipsel" \ | |
2078 | - -o "$target_arch2" = "mipsn32" \ | |
2079 | - -o "$target_arch2" = "mipsn32el" \ | |
2080 | - -o "$target_arch2" = "mips64" \ | |
2081 | - -o "$target_arch2" = "mips64el" \ | |
2082 | - -o "$target_arch2" = "ppc" \ | |
2083 | - -o "$target_arch2" = "ppc64" \ | |
2084 | - -o "$target_arch2" = "ppc64abi32" \ | |
2085 | - -o "$target_arch2" = "ppcemb" \ | |
2086 | - -o "$target_arch2" = "sparc" \ | |
2087 | - -o "$target_arch2" = "sparc64" \ | |
2088 | - -o "$target_arch2" = "sparc32plus"; then | |
2089 | - echo "CONFIG_SOFTFLOAT=y" >> $config_mak | |
2090 | - echo "#define CONFIG_SOFTFLOAT 1" >> $config_h | |
2091 | -fi | |
2072 | +case "$target_arch2" in | |
2073 | + arm|armeb|m68k|microblaze|mips|mipsel|mipsn32|mipsn32el|mips64|mips64el|ppc|ppc64|ppc64abi32|ppcemb|sparc|sparc64|sparc32plus) | |
2074 | + echo "CONFIG_SOFTFLOAT=y" >> $config_mak | |
2075 | + echo "#define CONFIG_SOFTFLOAT 1" >> $config_h | |
2076 | + ;; | |
2077 | +esac | |
2078 | + | |
2092 | 2079 | if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then |
2093 | 2080 | echo "TARGET_HAS_BFLT=y" >> $config_mak |
2094 | 2081 | echo "#define TARGET_HAS_BFLT 1" >> $config_h | ... | ... |