initial sh4 support

Originally committed as revision 2122 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Beregszaszi 2003-08-12 16:47:24 +00:00
parent 966df5b6b3
commit bdb2e37c4a

7
configure vendored
View File

@ -51,6 +51,9 @@ case "$cpu" in
sun4u)
cpu="sparc64"
;;
sh4)
cpu="sh4"
;;
*)
cpu="unknown"
;;
@ -868,6 +871,10 @@ elif test "$cpu" = "mips" ; then
echo "TARGET_ARCH_MIPS=yes" >> config.mak
echo "#define ARCH_MIPS 1" >> $TMPH
fi
elif test "$cpu" = "sh4" ; then
echo "TARGET_ARCH_SH4=yes" >> config.mak
echo "#define ARCH_SH4 1" >> $TMPH
fi
echo "#define TUNECPU $TUNECPU" >> $TMPH
if test "$bigendian" = "yes" ; then
echo "WORDS_BIGENDIAN=yes" >> config.mak