Commit c02df52b authored by al3x's avatar al3x

initial sh4 support


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2122 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 32f47cf6
...@@ -51,6 +51,9 @@ case "$cpu" in ...@@ -51,6 +51,9 @@ case "$cpu" in
sun4u) sun4u)
cpu="sparc64" cpu="sparc64"
;; ;;
sh4)
cpu="sh4"
;;
*) *)
cpu="unknown" cpu="unknown"
;; ;;
...@@ -868,6 +871,10 @@ elif test "$cpu" = "mips" ; then ...@@ -868,6 +871,10 @@ elif test "$cpu" = "mips" ; then
echo "TARGET_ARCH_MIPS=yes" >> config.mak echo "TARGET_ARCH_MIPS=yes" >> config.mak
echo "#define ARCH_MIPS 1" >> $TMPH echo "#define ARCH_MIPS 1" >> $TMPH
fi 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 echo "#define TUNECPU $TUNECPU" >> $TMPH
if test "$bigendian" = "yes" ; then if test "$bigendian" = "yes" ; then
echo "WORDS_BIGENDIAN=yes" >> config.mak echo "WORDS_BIGENDIAN=yes" >> config.mak
......
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