1.1 --- a/scripts/functions Tue Oct 21 21:04:25 2008 +0000
1.2 +++ b/scripts/functions Thu Oct 23 13:00:45 2008 +0000
1.3 @@ -695,14 +695,16 @@
1.4 [ "${CT_ARCH_FPU}" ] && { CT_ARCH_FPU_CFLAG="-mfpu=${CT_ARCH_FPU}"; CT_ARCH_WITH_FPU="--with-fpu=${CT_ARCH_FPU}"; }
1.5 [ "${CT_ARCH_FLOAT_SW}" ] && { CT_ARCH_FLOAT_CFLAG="-msoft-float"; CT_ARCH_WITH_FLOAT="--with-float=soft"; }
1.6
1.7 + # Build the kernel tuple part
1.8 + case "${CT_KERNEL}" in
1.9 + bare-metal) CT_TARGET_KERNEL=;;
1.10 + linux) CT_TARGET_KERNEL=linux-;;
1.11 + esac
1.12 +
1.13 # Call the architecture specific settings
1.14 - CT_DoArchValues
1.15 + CT_DoArchTupleValues
1.16
1.17 # Finish the target tuple construction
1.18 - case "${CT_KERNEL}" in
1.19 - none) CT_TARGET_KERNEL=;;
1.20 - linux) CT_TARGET_KERNEL=linux-;;
1.21 - esac
1.22 CT_TARGET=$(CT_DoConfigSub "${CT_TARGET_ARCH}-${CT_TARGET_VENDOR:-unknown}-${CT_TARGET_KERNEL}${CT_TARGET_SYS}")
1.23
1.24 # Prepare the target CFLAGS