diff options
author | Alexey Neyman <stilor@att.net> | 2018-12-10 01:10:01 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-12-10 01:10:01 -0800 |
commit | 5cf859d9d9308e341c58caff45d54a910480ad24 (patch) | |
tree | c35674a1a65d77bfbdb7ffd932d70dcac97714fe /config | |
parent | afb17244d2b5d86d99dc298694417d1d97c3864d (diff) | |
download | crosstool-ng-5cf859d9d9308e341c58caff45d54a910480ad24.tar.gz crosstool-ng-5cf859d9d9308e341c58caff45d54a910480ad24.tar.bz2 crosstool-ng-5cf859d9d9308e341c58caff45d54a910480ad24.zip |
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 'config')
-rw-r--r-- | config/libc/avr-libc.in | 4 | ||||
-rw-r--r-- | config/target.in | 15 | ||||
-rw-r--r-- | config/toolchain.in | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/config/libc/avr-libc.in b/config/libc/avr-libc.in index ade44540..ac037b71 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/target.in b/config/target.in index c0054f21..8549c5b8 100644 --- a/config/target.in +++ b/config/target.in @@ -19,6 +19,21 @@ config ARCH_SUFFIX If you are not sure about what this is, leave it blank. +config OMIT_TARGET_ARCH + bool + help + Do not include architecture into the target tuple. + +config OMIT_TARGET_VENDOR + bool "Omit vendor part of the target tuple" + help + Do not include vendor into the target tuple. + +config TARGET_SKIP_CONFIG_SUB + bool + help + Skip canonicalization of the target tuple. + #-------------------------------------- comment "Generic target options" diff --git a/config/toolchain.in b/config/toolchain.in index 0599592e..36a4782e 100644 --- a/config/toolchain.in +++ b/config/toolchain.in @@ -121,7 +121,7 @@ comment "Tuple completion and aliasing" config TARGET_VENDOR string prompt "Tuple's vendor string" - depends on !LIBC_AVR_LIBC + depends on !OMIT_TARGET_VENDOR default "unknown" help Vendor part of the target tuple. |