summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorj_mayer2007-10-18 22:51:49 +0200
committerj_mayer2007-10-18 22:51:49 +0200
commitf85e9a6870c7e96c2748ec0c40e04c00600189ae (patch)
treef8780a9cb5415105ad4442ff9d6692ac5fda85f7 /configure
parentUse the new TARGET_ABI32 feature to implement a ppc64abi32-linux-user target (diff)
downloadqemu-f85e9a6870c7e96c2748ec0c40e04c00600189ae.tar.gz
qemu-f85e9a6870c7e96c2748ec0c40e04c00600189ae.tar.xz
qemu-f85e9a6870c7e96c2748ec0c40e04c00600189ae.zip
Use TARGET_ABI_DIR feature to unify PowerPC and PowerPC 64 definitions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3410 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 492707a7b5..ba734673cc 100755
--- a/configure
+++ b/configure
@@ -1048,6 +1048,7 @@ elif test "$target_cpu" = "ppcemb" ; then
elif test "$target_cpu" = "ppc64" ; then
echo "TARGET_ARCH=ppc64" >> $config_mak
echo "#define TARGET_ARCH \"ppc64\"" >> $config_h
+ echo "TARGET_ABI_DIR=ppc" >> $config_mak
echo "#define TARGET_PPC 1" >> $config_h
echo "#define TARGET_PPC64 1" >> $config_h
elif test "$target_cpu" = "ppc64abi32" ; then
@@ -1060,6 +1061,7 @@ elif test "$target_cpu" = "ppc64abi32" ; then
elif test "$target_cpu" = "ppc64h" ; then
echo "TARGET_ARCH=ppc64h" >> $config_mak
echo "#define TARGET_ARCH \"ppc64h\"" >> $config_h
+ echo "TARGET_ABI_DIR=ppc" >> $config_mak
echo "#define TARGET_PPC 1" >> $config_h
echo "#define TARGET_PPC64 1" >> $config_h
echo "#define TARGET_PPC64H 1" >> $config_h