From bdb2e37c4aca0ee92b6b642ca76ddfd79c255553 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 12 Aug 2003 16:47:24 +0000 Subject: [PATCH] initial sh4 support Originally committed as revision 2122 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 7 +++++++ 1 file changed, 7 insertions(+) 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