]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
added powerpc64 support
authorhackbard <hackbard>
Thu, 23 Jun 2005 08:15:49 +0000 (08:15 +0000)
committerhackbard <hackbard>
Thu, 23 Jun 2005 08:15:49 +0000 (08:15 +0000)
Config
doc/CHANGELOG
scripts/Config

diff --git a/Config b/Config
index 2e9a7c495797c461c1c9fbf8c3b5ea3887ae6f9e..1d52d931433230fabd52a6a1fd278763fb46d4d2 100644 (file)
--- 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
index 26d988577299ff11e4730224657f5884bfa9b6be..7d240e40557ffa7ccbe754043850f416f4b40ce9 100644 (file)
@@ -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
index ba394ddb13d9f0338866d2385abfaf8dce59f035..9d85cc093ecafb2270e993e2aafe2b7c4132b42c 100755 (executable)
@@ -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"