# sparc - 32bit sparc
# sparc64 - 64bit sparc
# ppc - powerpc's
+ # ppc64 - 64 bit powerpc's
# mips - mips architctures
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
+*) 2005-06-23
+
+- added powerpc64 support (thanks to http://tuxppc.rz.uni-augsburg.de/)
+
*) 2005-06-06
- updated openssh, openssl, zlib
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"