summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-18 19:16:53 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-18 19:16:53 +0000
commit908f52b05c517b07509b2b66fcb73e9506827340 (patch)
treea6adc54711f8dedca563c9576c5d73da95074927 /configure
parent9c2a9ea1b1fe221566ca6c3f873da1454cadd263 (diff)
downloadqemu-908f52b05c517b07509b2b66fcb73e9506827340.tar.gz
Add big-endian SH4-user target
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1992 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 9ab270e289..57b59aaa08 100755
--- a/configure
+++ b/configure
@@ -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"
@@ -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