mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 06:07:49 +00:00
94e376af77
/trunk/scripts/build/arch/powerpc64.sh | 21 1 20 0 - /trunk/scripts/build/arch/powerpc.sh | 21 1 20 0 - /trunk/samples/powerpc64-unknown-linux-gnu/crosstool.config | 388 388 0 0 +++++++++++++++++++ /trunk/samples/powerpc64-unknown-linux-gnu/reported.by | 3 3 0 0 + /trunk/config/arch/powerpc-powerpc64.in-common | 12 4 8 0 - /trunk/config/arch/powerpc.in | 15 0 15 0 - /trunk/config/arch/powerpc64.in | 19 3 16 0 - 7 files changed, 400 insertions(+), 79 deletions(-)
23 lines
638 B
Plaintext
23 lines
638 B
Plaintext
# Compute powerpc-specific values
|
|
|
|
CT_DoArchTupleValues () {
|
|
# The architecture part of the tuple:
|
|
CT_TARGET_ARCH="${CT_ARCH}"
|
|
|
|
# The kernel ARCH:
|
|
CT_KERNEL_ARCH=powerpc
|
|
|
|
# Add spe in the tuplet if needed
|
|
case "${CT_LIBC},${CT_ARCH_POWERPC_SPE}" in
|
|
glibc,|eglibc,) CT_TARGET_SYS=gnu;;
|
|
glibc,y|eglibc,y) CT_TARGET_SYS=gnuspe;;
|
|
esac
|
|
|
|
# Add extra flags for SPE if needed
|
|
if [ "${CT_ARCH_POWERPC_SPE}" = "y" ]; then
|
|
CT_ARCH_TARGET_CFLAGS="-mabi=spe -mspe"
|
|
CT_ARCH_CC_CORE_EXTRA_CONFIG="--enable-e500_double"
|
|
CT_ARCH_CC_EXTRA_CONFIG="--enable-e500_double"
|
|
fi
|
|
}
|