diff options
author | Alexey Neyman <stilor@att.net> | 2018-11-23 22:14:07 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-12-01 10:10:51 -0800 |
commit | 40d5bf64408a0e103f8149f941ea50fbbb11dc91 (patch) | |
tree | 67532a4e3a2498ab5663bb400649ec847ced6ba7 /config/libc | |
parent | 172308cb1be5b23c816c19d0b9c84ba4910cbe80 (diff) | |
download | crosstool-ng-40d5bf64408a0e103f8149f941ea50fbbb11dc91.tar.gz crosstool-ng-40d5bf64408a0e103f8149f941ea50fbbb11dc91.tar.bz2 crosstool-ng-40d5bf64408a0e103f8149f941ea50fbbb11dc91.zip |
Add moxiebox as a choice for libc
This required some rework of the libc selection, as moxiebox is a layer on
top of another libc - newlib.
Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will
not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox
needs from libcrypto is SHA256, and it already includes a standalone implementation
of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use
that implementation for the host binary, too.
Also, automate collecting/printing the list of all packages in a given category
(e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given
category.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/libc')
-rw-r--r-- | config/libc/avr-libc.in | 2 | ||||
-rw-r--r-- | config/libc/moxiebox.in | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/config/libc/avr-libc.in b/config/libc/avr-libc.in index f35a206f..ade44540 100644 --- a/config/libc/avr-libc.in +++ b/config/libc/avr-libc.in @@ -1,7 +1,7 @@ # avr-libc options ## depends on ARCH_AVR -## depends on ! LINUX && ! WINDOWS && BARE_METAL +## depends on BARE_METAL ## ## select LIBC_SUPPORT_THREADS_NONE ## diff --git a/config/libc/moxiebox.in b/config/libc/moxiebox.in new file mode 100644 index 00000000..ac0324c4 --- /dev/null +++ b/config/libc/moxiebox.in @@ -0,0 +1,16 @@ +# moxiebox options + +# Moxie is distributed in non-bootstrapped form, so we really need +# autoconfig and automake. + +## depends on ARCH_MOXIE +## depends on BARE_METAL +## select LIBC_NEWLIB_SHOW +## select LIBC_SUPPORT_THREADS_NONE +## select COMP_TOOLS_AUTOCONF if !CONFIGURE_has_autoconf_2_65_or_newer || !CONFIGURE_has_autoreconf_2_64_or_newer +## select COMP_TOOLS_AUTOMAKE if !CONFIGURE_has_automake_1_15_or_newer +## select CC_CORE_PASSES_NEEDED if CANADIAN +## select CC_CORE_PASS_2_NEEDED if ! CANADIAN +## select LIBELF_NEEDED +## +## help Secure execution runtime for Moxie architecture. |