summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
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.