diff options
author | Alexey Neyman <stilor@att.net> | 2017-07-04 19:19:42 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-07-08 10:57:56 -0700 |
commit | ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69 (patch) | |
tree | 3866631ee0fa3fc650fd71de948f9a8b32bfc359 /config/libc/musl.in | |
parent | 50a387afa7abd24255ef865dada5d324265e1250 (diff) | |
download | crosstool-ng-ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69.tar.gz crosstool-ng-ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69.tar.bz2 crosstool-ng-ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69.zip |
Switch gen-kconfig to new framework
Also:
- Move companion_* to comp_* to match the kconfig symbols
- Replace bootstrap with former gen-versions.sh
- Fold *.in.2 into their respective first parts; this moves common
options to the end - if it is undesirable, inclusion of *.in
can be moved where *.in.2 used to be (but that will also move
version selection after common options).
- Retire addToolVersion.sh (may later replace with a more
comprehensive script that tries to download the added tarballs,
copy the patches and try to apply them, and create a version.desc).
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/libc/musl.in')
-rw-r--r-- | config/libc/musl.in | 57 |
1 files changed, 53 insertions, 4 deletions
diff --git a/config/libc/musl.in b/config/libc/musl.in index 24f522a6..e16e85a1 100644 --- a/config/libc/musl.in +++ b/config/libc/musl.in @@ -1,17 +1,66 @@ -# musl options +# musl second-part option ## depends on ! WINDOWS && ! BARE_METAL ## depends on EXPERIMENTAL -## ## select LIBC_SUPPORT_THREADS_NATIVE ## select CC_CORE_PASSES_NEEDED -## + ## help Musl is a new standard library to power a new generation of Linux-based ## help devices. musl is lightweight, fast, simple, free, and strives to be ## help correct in the sense of standards-conformance and safety. source "config/versions/musl.in" -# FIXME why? it claims "native", why report "musl"? +# TBD why? it claims "native", why report "musl"? config THREADS default "musl" + +config LIBC_MUSL_DEBUG + bool + prompt "Build with debugging information" + help + This option enables debugging information, this will increase the size of + the resulting library. + +config LIBC_MUSL_WARNINGS + bool + prompt "Build with recommended warnings flags" + help + Build musl-libc with extra warnings, useful for musl-libc development. + +choice + prompt "How to optimize musl-libc" + default LIBC_MUSL_OPTIMIZE_AUTO + +config LIBC_MUSL_OPTIMIZE_NONE + bool + prompt "Do not optimize musl-libc" + help + This option sets `--enable-optimize=no' to disable optimization. + +config LIBC_MUSL_OPTIMIZE_AUTO + bool + prompt "Use musl-libc's automatic optimization" + help + This option sets `--enable-optimize=auto' to automatically set optimization. + +config LIBC_MUSL_OPTIMIZE_SPEED + bool + prompt "Optimize musl-libc for speed" + help + This option sets `--enable-optimize=yes' to set optimization to -O3 for speed. + +config LIBC_MUSL_OPTIMIZE_SIZE + bool + prompt "Optimize musl-libc for size" + help + This option sets `--enable-optimize=size' to set optimization to -Os for size. + +endchoice + +config LIBC_MUSL_OPTIMIZE + string + default "no" if LIBC_MUSL_OPTIMIZE_NONE + default "auto" if LIBC_MUSL_OPTIMIZE_AUTO + default "yes" if LIBC_MUSL_OPTIMIZE_SPEED + default "size" if LIBC_MUSL_OPTIMIZE_SIZE |