Commit 295defa5f1fc5f270727e128f95e561a1d47858c
1 parent
f801f97e
alpha addition
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@74 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
9 additions
and
1 deletions
configure
... | ... | @@ -36,7 +36,7 @@ case "$cpu" in |
36 | 36 | alpha) |
37 | 37 | cpu="alpha" |
38 | 38 | ;; |
39 | - "Power Macintosh"|ppc) | |
39 | + "Power Macintosh"|ppc|ppc64) | |
40 | 40 | cpu="powerpc" |
41 | 41 | ;; |
42 | 42 | mips) |
... | ... | @@ -209,14 +209,22 @@ echo "CFLAGS=$CFLAGS" >> config.mak |
209 | 209 | echo "LDFLAGS=$LDFLAGS" >> config.mak |
210 | 210 | if test "$cpu" = "x86" ; then |
211 | 211 | echo "ARCH=i386" >> config.mak |
212 | + echo "#define HOST_I386 1" >> $TMPH | |
212 | 213 | elif test "$cpu" = "armv4l" ; then |
213 | 214 | echo "ARCH=arm" >> config.mak |
215 | + echo "#define HOST_ARM 1" >> $TMPH | |
214 | 216 | elif test "$cpu" = "powerpc" ; then |
215 | 217 | echo "ARCH=ppc" >> config.mak |
218 | + echo "#define HOST_PPC 1" >> $TMPH | |
216 | 219 | elif test "$cpu" = "mips" ; then |
217 | 220 | echo "ARCH=mips" >> config.mak |
221 | + echo "#define HOST_MIPS 1" >> $TMPH | |
218 | 222 | elif test "$cpu" = "s390" ; then |
219 | 223 | echo "ARCH=s390" >> config.mak |
224 | + echo "#define HOST_S390 1" >> $TMPH | |
225 | +elif test "$cpu" = "alpha" ; then | |
226 | + echo "ARCH=alpha" >> config.mak | |
227 | + echo "#define HOST_ALPHA 1" >> $TMPH | |
220 | 228 | else |
221 | 229 | echo "Unsupported CPU" |
222 | 230 | exit 1 | ... | ... |