aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2003-08-12 16:47:24 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2003-08-12 16:47:24 +0000
commitbdb2e37c4aca0ee92b6b642ca76ddfd79c255553 (patch)
tree4a9d7688ed1ed62038e4a3841a88e02304466be5
parent966df5b6b3c4a06de65f913eb65232ae357066c2 (diff)
downloadffmpeg-bdb2e37c4aca0ee92b6b642ca76ddfd79c255553.tar.gz
initial sh4 support
Originally committed as revision 2122 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index dc20f6e8bb..19b2442f81 100755
--- a/configure
+++ b/configure
@@ -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