diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-23 13:00:45 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-23 13:00:45 +0000 |
commit | 58e57f180c46d4ad470d63b3a6033af3a395dabd (patch) | |
tree | 14f63714acd75030bd6139d079f0c17a8c7ce90f /scripts/functions | |
parent | d55709c9a34cd9155672b47266d369719806544d (diff) | |
download | crosstool-ng-58e57f180c46d4ad470d63b3a6033af3a395dabd.tar.gz crosstool-ng-58e57f180c46d4ad470d63b3a6033af3a395dabd.tar.bz2 crosstool-ng-58e57f180c46d4ad470d63b3a6033af3a395dabd.zip |
Architecture API change:
- rename the tuple function
/trunk/scripts/build/arch/mips.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/sh.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/x86_64.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/arm.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/powerpc.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/ia64.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/alpha.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/x86.sh | 2 1 1 0 +-
/trunk/scripts/functions | 12 7 5 0 +++++++-----
9 files changed, 15 insertions(+), 13 deletions(-)
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/functions b/scripts/functions index c2d3675b..f14cc277 100644 --- a/scripts/functions +++ b/scripts/functions @@ -695,14 +695,16 @@ CT_DoBuildTargetTuple() { [ "${CT_ARCH_FPU}" ] && { CT_ARCH_FPU_CFLAG="-mfpu=${CT_ARCH_FPU}"; CT_ARCH_WITH_FPU="--with-fpu=${CT_ARCH_FPU}"; } [ "${CT_ARCH_FLOAT_SW}" ] && { CT_ARCH_FLOAT_CFLAG="-msoft-float"; CT_ARCH_WITH_FLOAT="--with-float=soft"; } + # Build the kernel tuple part + case "${CT_KERNEL}" in + bare-metal) CT_TARGET_KERNEL=;; + linux) CT_TARGET_KERNEL=linux-;; + esac + # Call the architecture specific settings - CT_DoArchValues + CT_DoArchTupleValues # Finish the target tuple construction - case "${CT_KERNEL}" in - none) CT_TARGET_KERNEL=;; - linux) CT_TARGET_KERNEL=linux-;; - esac CT_TARGET=$(CT_DoConfigSub "${CT_TARGET_ARCH}-${CT_TARGET_VENDOR:-unknown}-${CT_TARGET_KERNEL}${CT_TARGET_SYS}") # Prepare the target CFLAGS |