From 9b2e4c451c8ea5f3ca75a425e3fb93a220252436 Mon Sep 17 00:00:00 2001 From: hackbard Date: Thu, 23 Jun 2005 08:15:49 +0000 Subject: [PATCH] added powerpc64 support --- Config | 2 ++ doc/CHANGELOG | 4 ++++ scripts/Config | 8 ++++++++ 3 files changed, 14 insertions(+) diff --git a/Config b/Config index 2e9a7c4..1d52d93 100644 --- a/Config +++ b/Config @@ -28,6 +28,7 @@ export hdw_arch="ia32" # which architecture to build for # sparc - 32bit sparc # sparc64 - 64bit sparc # ppc - powerpc's + # ppc64 - 64 bit powerpc's # mips - mips architctures export hdw_arch_opt="" # choose optimization @@ -35,6 +36,7 @@ export hdw_arch_opt="" # choose optimization # sparc64 : v9, ultrasparc ... # sparc : v7, v8, supersparc ... # ppc : 603e, 604, 740 ... + # ppc64 : power5, powerpc64 ... # mips : r2k, r3k, r4k ... export hdw_use_dietlibc="0" # 0: use gnu c library diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 26d9885..7d240e4 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -1,3 +1,7 @@ +*) 2005-06-23 + +- added powerpc64 support (thanks to http://tuxppc.rz.uni-augsburg.de/) + *) 2005-06-06 - updated openssh, openssl, zlib diff --git a/scripts/Config b/scripts/Config index ba394dd..9d85cc0 100755 --- a/scripts/Config +++ b/scripts/Config @@ -112,6 +112,14 @@ case "$hdw_arch" in hdw_cflags="-mcpu=${hdw_arch_opt}" fi hdw_arch_build=${hdw_arch_build//ppc/powerpc} ;; + ppc64) + hdw_arch_target="powerpc64-unknown-linux-gnu" + if [ -z "$hdw_arch_opt" ] ; then + hdw_cflags="-mcpu=common" + else + hdw_cflags="-mcpu=${hdw_arch_opt}" + fi + hdw_arch_build=${hdw_arch_build//ppc64/powerpc64} ;; mips) hdw_arch_target="mips-unknown-linux-gnu" if [ -z "$hdw_arch_opt" ] ; then echo "info: no optimization set" -- 2.20.1