Revision 908f52b0
b/Makefile.target | ||
---|---|---|
30 | 30 |
TARGET_ARCH2=armeb |
31 | 31 |
endif |
32 | 32 |
endif |
33 |
ifeq ($(TARGET_ARCH),sh4) |
|
34 |
ifeq ($(TARGET_WORDS_BIGENDIAN),yes) |
|
35 |
TARGET_ARCH2=sh4eb |
|
36 |
endif |
|
37 |
endif |
|
33 | 38 |
ifeq ($(TARGET_ARCH),mips) |
34 | 39 |
ifneq ($(TARGET_WORDS_BIGENDIAN),yes) |
35 | 40 |
TARGET_ARCH2=mipsel |
b/configure | ||
---|---|---|
737 | 737 |
[ "$target_cpu" = "ppc" ] && target_bigendian=yes |
738 | 738 |
[ "$target_cpu" = "ppc64" ] && target_bigendian=yes |
739 | 739 |
[ "$target_cpu" = "mips" ] && target_bigendian=yes |
740 |
[ "$target_cpu" = "sh4eb" ] && target_bigendian=yes |
|
740 | 741 |
target_softmmu="no" |
741 | 742 |
if expr $target : '.*-softmmu' > /dev/null ; then |
742 | 743 |
target_softmmu="yes" |
... | ... | |
827 | 828 |
echo "#define TARGET_MIPS 1" >> $config_h |
828 | 829 |
echo "CONFIG_SOFTFLOAT=yes" >> $config_mak |
829 | 830 |
echo "#define CONFIG_SOFTFLOAT 1" >> $config_h |
830 |
elif test "$target_cpu" = "sh4" ; then |
|
831 |
elif test "$target_cpu" = "sh4" -o "$target_cpu" = "sh4eb" ; then
|
|
831 | 832 |
echo "TARGET_ARCH=sh4" >> $config_mak |
832 | 833 |
echo "#define TARGET_ARCH \"sh4\"" >> $config_h |
833 | 834 |
echo "#define TARGET_SH4 1" >> $config_h |
Also available in: Unified diff