2014-09-05 06:34:00 +00:00
|
|
|
# musl second-part option
|
|
|
|
|
2014-09-05 06:34:01 +00:00
|
|
|
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.
|
|
|
|
|
2014-09-05 06:34:02 +00:00
|
|
|
config LIBC_MUSL_WARNINGS
|
|
|
|
bool
|
|
|
|
prompt "Build with recommended warnings flags"
|
|
|
|
help
|
|
|
|
Build musl-libc with extra warnings, useful for musl-libc development.
|
|
|
|
|
2014-09-05 06:34:00 +00:00
|
|
|
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
|