From 9501e62afa556c97c4cdc3228b6812f22b183f6a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 14 Sep 2007 21:50:30 +0000 Subject: Further expand the architecture-specific function: add CT_KERNEL_ARCH building. --- scripts/crosstool.sh | 7 ------- scripts/functions | 3 +++ 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'scripts') diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index fda7cd3d..206c4aa2 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}" diff --git a/scripts/functions b/scripts/functions index e5a338a4..f82b0c2d 100644 --- a/scripts/functions +++ b/scripts/functions @@ -506,6 +506,9 @@ CT_DoBuildTargetTuple() { uClibc) CT_TARGET_SYS=uclibc;; esac + # Transform the ARCH into a kernel-understandable ARCH + CT_KERNEL_ARCH="${CT_ARCH}" + # Call the architecture specific settings CT_DoArchValues -- cgit v1.2.3