summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-24 07:34:03 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-24 07:34:03 +0000
commitd4082e95f18fdcbe4f1a80534086d4a28f651d38 (patch)
treeac54936fc6554a47fe00908261a1f337110ce44d /configure
parent86f55663bd3926abba1d37e0440503a89ed2900f (diff)
downloadhqemu-d4082e95f18fdcbe4f1a80534086d4a28f651d38.zip
hqemu-d4082e95f18fdcbe4f1a80534086d4a28f651d38.tar.gz
New target for embedded PowerPC emulation (only system emulation, for now).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2720 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index adfc268..e8c8257 100755
--- a/configure
+++ b/configure
@@ -469,7 +469,7 @@ fi
if test -z "$target_list" ; then
# these targets are portable
if [ "$softmmu" = "yes" ] ; then
- target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu arm-softmmu ppc64-softmmu"
+ target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu arm-softmmu ppc64-softmmu ppcemb-softmmu "
fi
# the following are Linux specific
if [ "$linux_user" = "yes" ] ; then
@@ -868,6 +868,7 @@ target_bigendian="no"
[ "$target_cpu" = "sparc64" ] && target_bigendian=yes
[ "$target_cpu" = "ppc" ] && target_bigendian=yes
[ "$target_cpu" = "ppc64" ] && target_bigendian=yes
+[ "$target_cpu" = "ppcemb" ] && target_bigendian=yes
[ "$target_cpu" = "mips" ] && target_bigendian=yes
[ "$target_cpu" = "mips64" ] && target_bigendian=yes
[ "$target_cpu" = "sh4eb" ] && target_bigendian=yes
@@ -958,6 +959,11 @@ elif test "$target_cpu" = "ppc64" ; then
echo "#define TARGET_ARCH \"ppc64\"" >> $config_h
echo "#define TARGET_PPC 1" >> $config_h
echo "#define TARGET_PPC64 1" >> $config_h
+elif test "$target_cpu" = "ppcemb" ; then
+ echo "TARGET_ARCH=ppcemb" >> $config_mak
+ echo "#define TARGET_ARCH \"ppcemb\"" >> $config_h
+ echo "#define TARGET_PPC 1" >> $config_h
+ echo "#define TARGET_PPCEMB 1" >> $config_h
elif test "$target_cpu" = "x86_64" ; then
echo "TARGET_ARCH=x86_64" >> $config_mak
echo "#define TARGET_ARCH \"x86_64\"" >> $config_h
OpenPOWER on IntegriCloud