mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-21 23:00:04 +08:00
initial sh4 support
Originally committed as revision 2122 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
7
configure
vendored
7
configure
vendored
@ -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
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user