Commit ded66cdb authored by Diego Biurrun's avatar Diego Biurrun

Add mipsel architecture that differs from mips in endianness.

based on patch by Johansson Erik-EJO017, erik.johansson motorola com

Originally committed as revision 10188 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9eebe687
...@@ -645,6 +645,7 @@ ARCH_LIST=' ...@@ -645,6 +645,7 @@ ARCH_LIST='
ia64 ia64
m68k m68k
mips mips
mipsel
parisc parisc
powerpc powerpc
s390 s390
...@@ -730,7 +731,7 @@ altivec_deps="powerpc" ...@@ -730,7 +731,7 @@ altivec_deps="powerpc"
armv5te_deps="armv4l" armv5te_deps="armv4l"
armv6_deps="armv4l" armv6_deps="armv4l"
iwmmxt_deps="armv4l" iwmmxt_deps="armv4l"
mmi_deps="mips" mmi_deps_any="mips mipsel"
mmx_deps="x86" mmx_deps="x86"
ssse3_deps="x86" ssse3_deps="x86"
...@@ -1051,9 +1052,12 @@ case "$arch" in ...@@ -1051,9 +1052,12 @@ case "$arch" in
arch="powerpc" arch="powerpc"
enable fast_64bit enable fast_64bit
;; ;;
mips|mipsel|IP*) mips|IP*)
arch="mips" arch="mips"
;; ;;
mipsel)
arch="mipsel"
;;
sun4u|sparc64) sun4u|sparc64)
arch="sparc64" arch="sparc64"
enable fast_64bit enable fast_64bit
...@@ -1092,6 +1096,7 @@ esac ...@@ -1092,6 +1096,7 @@ esac
enable $arch enable $arch
enabled_any x86_32 x86_64 && enable x86 enabled_any x86_32 x86_64 && enable x86
enabled sparc64 && enable sparc enabled sparc64 && enable sparc
enabled mipsel && enable mips
# OS specific # OS specific
osextralibs="-lm" osextralibs="-lm"
...@@ -1823,7 +1828,7 @@ if test $arch = "armv4l"; then ...@@ -1823,7 +1828,7 @@ if test $arch = "armv4l"; then
echo "ARMv6 enabled ${armv6-no}" echo "ARMv6 enabled ${armv6-no}"
echo "IWMMXT enabled ${iwmmxt-no}" echo "IWMMXT enabled ${iwmmxt-no}"
fi fi
if test $arch = "mips"; then if test $arch = "mips" -o $arch = "mipsel"; then
echo "MMI enabled ${mmi-no}" echo "MMI enabled ${mmi-no}"
fi fi
if test $arch = "powerpc"; then if test $arch = "powerpc"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment