summaryrefslogtreecommitdiff
path: root/scripts/build/arch/avr.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-12-01 21:00:50 (GMT)
committerGitHub <noreply@github.com>2018-12-01 21:00:50 (GMT)
commitdc681ec8eb53eccdd18521853abaf0574d6ae75f (patch)
tree67532a4e3a2498ab5663bb400649ec847ced6ba7 /scripts/build/arch/avr.sh
parent951afda5088f202eead14e3ae281f234b160af0b (diff)
parent40d5bf64408a0e103f8149f941ea50fbbb11dc91 (diff)
Merge pull request #1102 from stilor/moxie
Moxie architecture support
Diffstat (limited to 'scripts/build/arch/avr.sh')
-rw-r--r--scripts/build/arch/avr.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/build/arch/avr.sh b/scripts/build/arch/avr.sh
index 501b020..fd8c8ed 100644
--- a/scripts/build/arch/avr.sh
+++ b/scripts/build/arch/avr.sh
@@ -2,4 +2,11 @@
CT_DoArchTupleValues() {
CT_TARGET_ARCH="${CT_ARCH}"
+ case "${CT_LIBC}" in
+ avr-libc)
+ # avr-libc only seems to work with the non-canonical "avr" target.
+ CT_TARGET_SKIP_CONFIG_SUB=y
+ CT_TARGET_SYS= # CT_TARGET_SYS must be empty
+ ;;
+ esac
}