mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 06:32:23 +00:00
5cf859d9d9
... 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>
32 lines
602 B
Bash
32 lines
602 B
Bash
# Compute ARC-specific values
|
|
|
|
CT_DoArchTupleValues()
|
|
{
|
|
# The architecture part of the tuple:
|
|
CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_SUFFIX:-${target_endian_eb}}"
|
|
}
|
|
|
|
CT_DoArchUClibcConfig()
|
|
{
|
|
local cfg="${1}"
|
|
|
|
CT_DoArchUClibcSelectArch "${cfg}" "arc"
|
|
}
|
|
|
|
CT_DoArchUClibcCflags()
|
|
{
|
|
local cfg="${1}"
|
|
local cflags="${2}"
|
|
local f
|
|
|
|
CT_KconfigDisableOption "CONFIG_ARC_HAS_ATOMICS" "${cfg}"
|
|
|
|
for f in ${cflags}; do
|
|
case "${f}" in
|
|
-matomic)
|
|
CT_KconfigEnableOption "CONFIG_ARC_HAS_ATOMICS" "${cfg}"
|
|
;;
|
|
esac
|
|
done
|
|
}
|