summaryrefslogtreecommitdiff
path: root/scripts/crosstool.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-09-14 21:50:30 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-09-14 21:50:30 (GMT)
commit9501e62afa556c97c4cdc3228b6812f22b183f6a (patch)
treef9e6db0c99a7a129f26c36f140a97c0822f3c80d /scripts/crosstool.sh
parent693ceb85bcc37910abac51a541c0f715f6cca82e (diff)
Further expand the architecture-specific function: add CT_KERNEL_ARCH building.
Diffstat (limited to 'scripts/crosstool.sh')
-rwxr-xr-xscripts/crosstool.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh
index fda7cd3..206c4aa 100755
--- a/scripts/crosstool.sh
+++ b/scripts/crosstool.sh
@@ -304,13 +304,6 @@ if [ -z "${CT_RESTART}" ]; then
# Ha. cygwin host have an .exe suffix (extension) for executables.
[ "${CT_KERNEL}" = "cygwin" ] && EXEEXT=".exe" || EXEEXT=""
- # Transform the ARCH into a kernel-understandable ARCH
- case "${CT_ARCH}" in
- x86) CT_KERNEL_ARCH=i386;;
- ppc) CT_KERNEL_ARCH=powerpc;;
- *) CT_KERNEL_ARCH="${CT_ARCH}";;
- esac
-
# Build up the TARGET_CFLAGS from user-provided options
# Override with user-specified CFLAGS
[ -n "${CT_ARCH_CPU}" ] && CT_TARGET_CFLAGS="-mcpu=${CT_ARCH_CPU} ${CT_TARGET_CFLAGS}"