summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-07 21:31:29 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-07 21:31:29 +0000
commit295defa5f1fc5f270727e128f95e561a1d47858c (patch)
tree2543ae7baf8b4dd670e69fad160945844709dcef
parentf801f97e049b3cd832f50b9743184d0e87155193 (diff)
downloadqemu-295defa5f1fc5f270727e128f95e561a1d47858c.tar.gz
alpha addition
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@74 c046a42c-6fe2-441c-8c8c-71466251a162
-rwxr-xr-xconfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index c8d06adaac..f3f725b48d 100755
--- a/configure
+++ b/configure
@@ -36,7 +36,7 @@ case "$cpu" in
alpha)
cpu="alpha"
;;
- "Power Macintosh"|ppc)
+ "Power Macintosh"|ppc|ppc64)
cpu="powerpc"
;;
mips)
@@ -209,14 +209,22 @@ echo "CFLAGS=$CFLAGS" >> config.mak
echo "LDFLAGS=$LDFLAGS" >> config.mak
if test "$cpu" = "x86" ; then
echo "ARCH=i386" >> config.mak
+ echo "#define HOST_I386 1" >> $TMPH
elif test "$cpu" = "armv4l" ; then
echo "ARCH=arm" >> config.mak
+ echo "#define HOST_ARM 1" >> $TMPH
elif test "$cpu" = "powerpc" ; then
echo "ARCH=ppc" >> config.mak
+ echo "#define HOST_PPC 1" >> $TMPH
elif test "$cpu" = "mips" ; then
echo "ARCH=mips" >> config.mak
+ echo "#define HOST_MIPS 1" >> $TMPH
elif test "$cpu" = "s390" ; then
echo "ARCH=s390" >> config.mak
+ echo "#define HOST_S390 1" >> $TMPH
+elif test "$cpu" = "alpha" ; then
+ echo "ARCH=alpha" >> config.mak
+ echo "#define HOST_ALPHA 1" >> $TMPH
else
echo "Unsupported CPU"
exit 1