summaryrefslogtreecommitdiff
path: root/scripts/build/arch/xtensa.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-12-10 09:10:01 (GMT)
committerAlexey Neyman <stilor@att.net>2018-12-10 09:10:01 (GMT)
commit5cf859d9d9308e341c58caff45d54a910480ad24 (patch)
treec35674a1a65d77bfbdb7ffd932d70dcac97714fe /scripts/build/arch/xtensa.sh
parentafb17244d2b5d86d99dc298694417d1d97c3864d (diff)
Add config flags for omitting 'arch' and 'vendor'
... parts of the config tuple. While here, remove parts that are setting portions of the target tuple to a value that's already the default. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/arch/xtensa.sh')
-rw-r--r--scripts/build/arch/xtensa.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/scripts/build/arch/xtensa.sh b/scripts/build/arch/xtensa.sh
index 744bbb2..d0ba6f5 100644
--- a/scripts/build/arch/xtensa.sh
+++ b/scripts/build/arch/xtensa.sh
@@ -1,18 +1,15 @@
# Compute Xtensa-specific values
-CT_DoArchTupleValues() {
+CT_DoArchTupleValues()
+{
# The architecture part of the tuple:
CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_SUFFIX}"
CT_ARCH_ENDIAN_CFLAG=""
CT_ARCH_ENDIAN_LDFLAG=""
- # The system part of the tuple:
- case "${CT_LIBC}" in
- *glibc) CT_TARGET_SYS=gnu;;
- uClibc) CT_TARGET_SYS=uclibc;;
- esac
}
-CT_DoArchUClibcConfig() {
+CT_DoArchUClibcConfig()
+{
local cfg="${1}"
CT_DoArchUClibcSelectArch "${cfg}" "xtensa"