summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorbellard2003-03-29 18:32:36 +0100
committerbellard2003-03-29 18:32:36 +0100
commitfb3e5849bb139e8213b7afb5abd7ef5cc985d10b (patch)
tree667fc6ee486c6a762c1fddb007396660ae3f5733 /configure
parentendian fixes by Ulrich weigand (diff)
downloadqemu-fb3e5849bb139e8213b7afb5abd7ef5cc985d10b.tar.gz
qemu-fb3e5849bb139e8213b7afb5abd7ef5cc985d10b.tar.xz
qemu-fb3e5849bb139e8213b7afb5abd7ef5cc985d10b.zip
s390 support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@65 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index d58c460795..c8d06adaac 100755
--- a/configure
+++ b/configure
@@ -42,6 +42,9 @@ case "$cpu" in
mips)
cpu="mips"
;;
+ s390)
+ cpu="s390"
+ ;;
*)
cpu="unknown"
;;
@@ -137,7 +140,7 @@ fi
else
# if cross compiling, cannot launch a program, so make a static guess
-if test "$cpu" = "powerpc" -o "$cpu" = "mips" ; then
+if test "$cpu" = "powerpc" -o "$cpu" = "mips" -o "$cpu" = "s390" ; then
bigendian="yes"
fi
@@ -212,6 +215,8 @@ elif test "$cpu" = "powerpc" ; then
echo "ARCH=ppc" >> config.mak
elif test "$cpu" = "mips" ; then
echo "ARCH=mips" >> config.mak
+elif test "$cpu" = "s390" ; then
+ echo "ARCH=s390" >> config.mak
else
echo "Unsupported CPU"
exit 1