Loading Makefile.target +5 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,11 @@ ifeq ($(TARGET_ARCH),arm) TARGET_ARCH2=armeb endif endif ifeq ($(TARGET_ARCH),sh4) ifeq ($(TARGET_WORDS_BIGENDIAN),yes) TARGET_ARCH2=sh4eb endif endif ifeq ($(TARGET_ARCH),mips) ifneq ($(TARGET_WORDS_BIGENDIAN),yes) TARGET_ARCH2=mipsel Loading configure +2 −1 Original line number Diff line number Diff line Loading @@ -737,6 +737,7 @@ target_bigendian="no" [ "$target_cpu" = "ppc" ] && target_bigendian=yes [ "$target_cpu" = "ppc64" ] && target_bigendian=yes [ "$target_cpu" = "mips" ] && target_bigendian=yes [ "$target_cpu" = "sh4eb" ] && target_bigendian=yes target_softmmu="no" if expr $target : '.*-softmmu' > /dev/null ; then target_softmmu="yes" Loading Loading @@ -827,7 +828,7 @@ elif test "$target_cpu" = "mips" -o "$target_cpu" = "mipsel" ; then echo "#define TARGET_MIPS 1" >> $config_h echo "CONFIG_SOFTFLOAT=yes" >> $config_mak echo "#define CONFIG_SOFTFLOAT 1" >> $config_h elif test "$target_cpu" = "sh4" ; then elif test "$target_cpu" = "sh4" -o "$target_cpu" = "sh4eb" ; then echo "TARGET_ARCH=sh4" >> $config_mak echo "#define TARGET_ARCH \"sh4\"" >> $config_h echo "#define TARGET_SH4 1" >> $config_h Loading Loading
Makefile.target +5 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,11 @@ ifeq ($(TARGET_ARCH),arm) TARGET_ARCH2=armeb endif endif ifeq ($(TARGET_ARCH),sh4) ifeq ($(TARGET_WORDS_BIGENDIAN),yes) TARGET_ARCH2=sh4eb endif endif ifeq ($(TARGET_ARCH),mips) ifneq ($(TARGET_WORDS_BIGENDIAN),yes) TARGET_ARCH2=mipsel Loading
configure +2 −1 Original line number Diff line number Diff line Loading @@ -737,6 +737,7 @@ target_bigendian="no" [ "$target_cpu" = "ppc" ] && target_bigendian=yes [ "$target_cpu" = "ppc64" ] && target_bigendian=yes [ "$target_cpu" = "mips" ] && target_bigendian=yes [ "$target_cpu" = "sh4eb" ] && target_bigendian=yes target_softmmu="no" if expr $target : '.*-softmmu' > /dev/null ; then target_softmmu="yes" Loading Loading @@ -827,7 +828,7 @@ elif test "$target_cpu" = "mips" -o "$target_cpu" = "mipsel" ; then echo "#define TARGET_MIPS 1" >> $config_h echo "CONFIG_SOFTFLOAT=yes" >> $config_mak echo "#define CONFIG_SOFTFLOAT 1" >> $config_h elif test "$target_cpu" = "sh4" ; then elif test "$target_cpu" = "sh4" -o "$target_cpu" = "sh4eb" ; then echo "TARGET_ARCH=sh4" >> $config_mak echo "#define TARGET_ARCH \"sh4\"" >> $config_h echo "#define TARGET_SH4 1" >> $config_h Loading