diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/crosstool.sh | 7 | ||||
-rw-r--r-- | scripts/functions | 3 |
2 files changed, 3 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}" diff --git a/scripts/functions b/scripts/functions index e5a338a..f82b0c2 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 |