1.1 --- a/scripts/build/arch/powerpc.sh Thu Oct 23 13:00:45 2008 +0000
1.2 +++ b/scripts/build/arch/powerpc.sh Fri Mar 27 21:30:47 2009 +0000
1.3 @@ -1,22 +1,3 @@
1.4 # Compute powerpc-specific values
1.5
1.6 -CT_DoArchTupleValues () {
1.7 - # The architecture part of the tuple:
1.8 - CT_TARGET_ARCH="${CT_ARCH}"
1.9 -
1.10 - # The kernel ARCH:
1.11 - CT_KERNEL_ARCH=powerpc
1.12 -
1.13 - # Add spe in the tuplet if needed
1.14 - case "${CT_LIBC},${CT_ARCH_POWERPC_SPE}" in
1.15 - glibc,|eglibc,) CT_TARGET_SYS=gnu;;
1.16 - glibc,y|eglibc,y) CT_TARGET_SYS=gnuspe;;
1.17 - esac
1.18 -
1.19 - # Add extra flags for SPE if needed
1.20 - if [ "${CT_ARCH_POWERPC_SPE}" = "y" ]; then
1.21 - CT_ARCH_TARGET_CFLAGS="-mabi=spe -mspe"
1.22 - CT_ARCH_CC_CORE_EXTRA_CONFIG="--enable-e500_double"
1.23 - CT_ARCH_CC_EXTRA_CONFIG="--enable-e500_double"
1.24 - fi
1.25 -}
1.26 +. "${CT_LIB_DIR}/scripts/build/arch/powerpc-powerpc64.sh-common"