Revision 67867308 configure
b/configure | ||
---|---|---|
27 | 27 |
make="make" |
28 | 28 |
strip="strip" |
29 | 29 |
cpu=`uname -m` |
30 |
target_list="i386-user i386 i386-softmmu arm-user sparc-user" |
|
30 |
target_list="i386-user i386 i386-softmmu arm-user sparc-user ppc-user"
|
|
31 | 31 |
case "$cpu" in |
32 | 32 |
i386|i486|i586|i686|i86pc|BePC) |
33 | 33 |
cpu="i386" |
... | ... | |
322 | 322 |
target_cpu=`echo $target | cut -d '-' -f 1` |
323 | 323 |
target_bigendian="no" |
324 | 324 |
[ "$target_cpu" = "sparc" ] && target_bigendian=yes |
325 |
[ "$target_cpu" = "ppc" ] && target_bigendian=yes |
|
325 | 326 |
target_softmmu="no" |
326 | 327 |
if expr $target : '.*-softmmu' > /dev/null ; then |
327 | 328 |
target_softmmu="yes" |
... | ... | |
358 | 359 |
echo "TARGET_ARCH=sparc" >> $config_mak |
359 | 360 |
echo "#define TARGET_ARCH \"sparc\"" >> $config_h |
360 | 361 |
echo "#define TARGET_SPARC 1" >> $config_h |
362 |
elif test "$target_cpu" = "ppc" ; then |
|
363 |
echo "TARGET_ARCH=ppc" >> $config_mak |
|
364 |
echo "#define TARGET_ARCH \"ppc\"" >> $config_h |
|
365 |
echo "#define TARGET_PPC 1" >> $config_h |
|
361 | 366 |
else |
362 | 367 |
echo "Unsupported target CPU" |
363 | 368 |
exit 1 |
Also available in: Unified diff