diff options
author | 2008-10-05 15:32:00 (GMT) | |
---|---|---|
committer | 2008-10-05 15:32:00 (GMT) | |
commit | b8d189b2967843015376d5696b244958cba44202 (patch) | |
tree | c6c6fc2e4d462f63f3268feefc3ed8d7c207f12f /config/arch/arm | |
parent | 689f4b103ce4e33f612e91ec83b40d19bc892d8d (diff) |
Separate the architecture config file and function script.
/trunk/kconfig/kconfig.mk | 46 23 23 0 +++++++++++++++++++++++-----------------------
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/docs/overview.txt | 28 11 17 0 +++++++++++-----------------
3 files changed, 35 insertions(+), 41 deletions(-)
Diffstat (limited to 'config/arch/arm')
-rw-r--r-- | config/arch/arm/config.in | 26 | ||||
-rw-r--r-- | config/arch/arm/functions | 17 |
2 files changed, 0 insertions, 43 deletions
diff --git a/config/arch/arm/config.in b/config/arch/arm/config.in deleted file mode 100644 index a3c3d97..0000000 --- a/config/arch/arm/config.in +++ /dev/null @@ -1,26 +0,0 @@ -# ARM specific configuration file - -config ARCH_arm - select ARCH_SUPPORTS_BOTH_ENDIAN - select ARCH_DEFAULT_LE - select ARCH_SUPPORT_ARCH - select ARCH_SUPPORT_CPU - select ARCH_SUPPORT_TUNE - select ARCH_SUPPORT_FPU - help - The ARM architecture, as defined by: - http://www.arm.com/ - -config ARCH_ARM_EABI - bool - prompt "Use EABI" - default n - help - Set up the toolchain so that it generates EABI-compliant binaries. - -config ARCH_ARM_ABI_OK - bool - default y - depends on ! ARCH_ARM_EABI - select ARCH_SUPPORT_ABI - diff --git a/config/arch/arm/functions b/config/arch/arm/functions deleted file mode 100644 index a1b8542..0000000 --- a/config/arch/arm/functions +++ /dev/null @@ -1,17 +0,0 @@ -# Compute ARM-specific values - -CT_DoArchValues() { - # The architecture part of the tuple: - CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}" - - # The system part of the tuple: - case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in - *glibc,y) CT_TARGET_SYS=gnueabi;; - uClibc,y) CT_TARGET_SYS=uclibcgnueabi;; - none,y) CT_TARGET_SYS=eabi;; - esac - - # In case we're EABI, do *not* specify any ABI! - # which means, either we do not have an ABI specified, or we're not EABI. - CT_TestOrAbort "Internal error: CT_ARCH_ABI should not be set for EABI build." -z "${CT_ARCH_ABI}" -o -z "${CT_ARCH_ARM_EABI}" -} |