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