summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-12-11 06:31:17 (GMT)
committerGitHub <noreply@github.com>2018-12-11 06:31:17 (GMT)
commitabee9bd48239468b49913ae73dcab5283bcb8810 (patch)
tree1e4b67f370e123bd02c648bb01a86b1dc61d1676 /config/libc
parent1f65837c01bc6f25b33f4fa108045cb5082f708c (diff)
parentb0d954f0ecdf84c112aeaa249d9ca223af12cf14 (diff)
Merge pull request #1114 from stilor/strip-vendor
Allow removing vendor part of the tuple
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/avr-libc.in4
-rw-r--r--config/libc/moxiebox.in10
2 files changed, 14 insertions, 0 deletions
diff --git a/config/libc/avr-libc.in b/config/libc/avr-libc.in
index ade4454..ac037b7 100644
--- a/config/libc/avr-libc.in
+++ b/config/libc/avr-libc.in
@@ -1,9 +1,13 @@
# avr-libc options
+# Do not canonicalize the target tuple: avr-libc requires a non-canonical "avr" target.
+#
## depends on ARCH_AVR
## depends on BARE_METAL
##
## select LIBC_SUPPORT_THREADS_NONE
+## select OMIT_TARGET_VENDOR
+## select TARGET_SKIP_CONFIG_SUB
##
## help The AVR Libc package provides a subset of the standard C library for
## help Atmel AVR 8-bit RISC microcontrollers. In addition, the library
diff --git a/config/libc/moxiebox.in b/config/libc/moxiebox.in
index ca2107e..e036641 100644
--- a/config/libc/moxiebox.in
+++ b/config/libc/moxiebox.in
@@ -15,3 +15,13 @@
## select LIBELF_NEEDED
##
## help Secure execution runtime for Moxie architecture.
+
+config MOXIEBOX_SHORT_TUPLE
+ bool "Use 'moxiebox-' as target tuple"
+ select OMIT_TARGET_ARCH
+ select OMIT_TARGET_VENDOR
+ select TARGET_SKIP_CONFIG_SUB
+ help
+ Moxiebox refers to the tools configured for 'moxie-unknown-moxiebox-' by
+ a short, 'moxiebox-' prefix. Though non-canonical, it seems to be officially
+ endorsed.