simplified mips/mipsel

This commit is contained in:
phcoder 2009-10-18 11:50:40 +02:00
parent cba2cae2f5
commit 686135601f

View file

@ -46,6 +46,7 @@ AC_ARG_PROGRAM
case "$target_cpu" in case "$target_cpu" in
i[[3456]]86) target_cpu=i386 ;; i[[3456]]86) target_cpu=i386 ;;
sparc) target_cpu=sparc64 ;; sparc) target_cpu=sparc64 ;;
mipsel) target_cpu=mips ;;
esac esac
# Specify the platform (such as firmware). # Specify the platform (such as firmware).
@ -89,9 +90,7 @@ case "$target_cpu"-"$platform" in
i386-qemu) ;; i386-qemu) ;;
powerpc-ieee1275) ;; powerpc-ieee1275) ;;
sparc64-ieee1275) ;; sparc64-ieee1275) ;;
mipsel-qemu-r4k) ;;
mips-qemu-r4k) ;; mips-qemu-r4k) ;;
mipsel-qemu-mipssim) ;;
mips-qemu-mipssim) ;; mips-qemu-mipssim) ;;
*) AC_MSG_ERROR([platform "$platform" is not supported for target CPU "$target_cpu"]) ;; *) AC_MSG_ERROR([platform "$platform" is not supported for target CPU "$target_cpu"]) ;;
esac esac
@ -99,10 +98,6 @@ esac
case "$target_cpu" in case "$target_cpu" in
i386 | powerpc) target_m32=1 ;; i386 | powerpc) target_m32=1 ;;
x86_64 | sparc64) target_m64=1 ;; x86_64 | sparc64) target_m64=1 ;;
mipsel)
target_cpu=mips ;;
mips)
target_cpu=mips ;;
esac esac
case "$host_os" in case "$host_os" in