Commit ea2d6a39b87da5bf28a663eb7c8ab169759d0daa

Authored by Juan Quintela
Committed by Anthony Liguori
1 parent e0da9dd3

Refactor targe_bigendian 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 5 additions and 14 deletions
configure
... ... @@ -1827,20 +1827,11 @@ config_mak=$target_dir/config.mak
1827 1827 config_h=$target_dir/config.h
1828 1828 target_arch2=`echo $target | cut -d '-' -f 1`
1829 1829 target_bigendian="no"
1830   -[ "$target_arch2" = "armeb" ] && target_bigendian=yes
1831   -[ "$target_arch2" = "m68k" ] && target_bigendian=yes
1832   -[ "$target_arch2" = "microblaze" ] && target_bigendian=yes
1833   -[ "$target_arch2" = "mips" ] && target_bigendian=yes
1834   -[ "$target_arch2" = "mipsn32" ] && target_bigendian=yes
1835   -[ "$target_arch2" = "mips64" ] && target_bigendian=yes
1836   -[ "$target_arch2" = "ppc" ] && target_bigendian=yes
1837   -[ "$target_arch2" = "ppcemb" ] && target_bigendian=yes
1838   -[ "$target_arch2" = "ppc64" ] && target_bigendian=yes
1839   -[ "$target_arch2" = "ppc64abi32" ] && target_bigendian=yes
1840   -[ "$target_arch2" = "sh4eb" ] && target_bigendian=yes
1841   -[ "$target_arch2" = "sparc" ] && target_bigendian=yes
1842   -[ "$target_arch2" = "sparc64" ] && target_bigendian=yes
1843   -[ "$target_arch2" = "sparc32plus" ] && target_bigendian=yes
  1830 +case "$target_arch2" in
  1831 + armeb|m68k|microblaze|mips|mipsn32|mips64|ppc|ppcemb|ppc64|ppc64abi32|sh4eb|sparc|sparc64|sparc32plus)
  1832 + target_bigendian=yes
  1833 + ;;
  1834 +esac
1844 1835 target_softmmu="no"
1845 1836 target_user_only="no"
1846 1837 target_linux_user="no"
... ...