OSDN Git Service

Add mipsel architecture that differs from mips in endianness.
authorDiego Biurrun <diego@biurrun.de>
Wed, 22 Aug 2007 22:16:48 +0000 (22:16 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 22 Aug 2007 22:16:48 +0000 (22:16 +0000)
based on patch by Johansson Erik-EJO017, erik.johansson motorola com

Originally committed as revision 10188 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index a9a4fd7..e0196f5 100755 (executable)
--- a/configure
+++ b/configure
@@ -645,6 +645,7 @@ ARCH_LIST='
     ia64
     m68k
     mips
+    mipsel
     parisc
     powerpc
     s390
@@ -730,7 +731,7 @@ altivec_deps="powerpc"
 armv5te_deps="armv4l"
 armv6_deps="armv4l"
 iwmmxt_deps="armv4l"
-mmi_deps="mips"
+mmi_deps_any="mips mipsel"
 mmx_deps="x86"
 ssse3_deps="x86"
 
@@ -1051,9 +1052,12 @@ case "$arch" in
     arch="powerpc"
     enable fast_64bit
   ;;
-  mips|mipsel|IP*)
+  mips|IP*)
     arch="mips"
   ;;
+  mipsel)
+    arch="mipsel"
+  ;;
   sun4u|sparc64)
     arch="sparc64"
     enable fast_64bit
@@ -1092,6 +1096,7 @@ esac
 enable $arch
 enabled_any x86_32 x86_64 && enable x86
 enabled     sparc64       && enable sparc
+enabled     mipsel        && enable mips
 
 # OS specific
 osextralibs="-lm"
@@ -1823,7 +1828,7 @@ if test $arch = "armv4l"; then
     echo "ARMv6 enabled             ${armv6-no}"
     echo "IWMMXT enabled            ${iwmmxt-no}"
 fi
-if test $arch = "mips"; then
+if test $arch = "mips" -o $arch = "mipsel"; then
     echo "MMI enabled               ${mmi-no}"
 fi
 if test $arch = "powerpc"; then