From ea2d6a39b87da5bf28a663eb7c8ab169759d0daa Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Thu, 16 Jul 2009 18:34:10 +0200 Subject: Refactor targe_bigendian selection in another list Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- configure | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'configure') diff --git a/configure b/configure index d7afad293e..a02e5edb1d 100755 --- a/configure +++ b/configure @@ -1827,20 +1827,11 @@ config_mak=$target_dir/config.mak config_h=$target_dir/config.h target_arch2=`echo $target | cut -d '-' -f 1` target_bigendian="no" -[ "$target_arch2" = "armeb" ] && target_bigendian=yes -[ "$target_arch2" = "m68k" ] && target_bigendian=yes -[ "$target_arch2" = "microblaze" ] && target_bigendian=yes -[ "$target_arch2" = "mips" ] && target_bigendian=yes -[ "$target_arch2" = "mipsn32" ] && target_bigendian=yes -[ "$target_arch2" = "mips64" ] && target_bigendian=yes -[ "$target_arch2" = "ppc" ] && target_bigendian=yes -[ "$target_arch2" = "ppcemb" ] && target_bigendian=yes -[ "$target_arch2" = "ppc64" ] && target_bigendian=yes -[ "$target_arch2" = "ppc64abi32" ] && target_bigendian=yes -[ "$target_arch2" = "sh4eb" ] && target_bigendian=yes -[ "$target_arch2" = "sparc" ] && target_bigendian=yes -[ "$target_arch2" = "sparc64" ] && target_bigendian=yes -[ "$target_arch2" = "sparc32plus" ] && target_bigendian=yes +case "$target_arch2" in + armeb|m68k|microblaze|mips|mipsn32|mips64|ppc|ppcemb|ppc64|ppc64abi32|sh4eb|sparc|sparc64|sparc32plus) + target_bigendian=yes + ;; +esac target_softmmu="no" target_user_only="no" target_linux_user="no" -- cgit v1.2.3