2014-08-01 02:01:46 +00:00
|
|
|
# musl options
|
|
|
|
|
|
|
|
## depends on ! WINDOWS && ! BARE_METAL
|
2016-03-18 05:54:43 +00:00
|
|
|
## depends on EXPERIMENTAL
|
2014-08-01 02:01:46 +00:00
|
|
|
##
|
|
|
|
## 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.
|
|
|
|
|
|
|
|
config THREADS
|
|
|
|
default "musl"
|
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
config LIBC_MUSL_CUSTOM
|
|
|
|
bool
|
|
|
|
prompt "Custom musl"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
help
|
|
|
|
The choosen musl-libc version shall be not downloaded. Instead use
|
|
|
|
a custom location to get the source.
|
|
|
|
|
|
|
|
if LIBC_MUSL_CUSTOM
|
|
|
|
|
|
|
|
config LIBC_MUSL_CUSTOM_LOCATION
|
|
|
|
string
|
|
|
|
prompt "Full path to custom musl-libc source"
|
|
|
|
help
|
|
|
|
Enter the path to the directory or tarball of your source for musl.
|
|
|
|
|
|
|
|
If the path is a tarball, it should extract to: <name>-<version>/
|
|
|
|
where the name is this component, musl, and the version is set
|
|
|
|
below in the custom version string.
|
|
|
|
|
|
|
|
config LIBC_MUSL_CUSTOM_VERSION
|
|
|
|
string
|
|
|
|
prompt "Custom MUSL version"
|
|
|
|
help
|
|
|
|
Enter the version number for your custom musl-libc.
|
|
|
|
|
|
|
|
config LIBC_VERSION
|
|
|
|
string
|
|
|
|
default LIBC_MUSL_CUSTOM_VERSION
|
|
|
|
|
|
|
|
endif # LIBC_MUSL_CUSTOM
|
|
|
|
|
|
|
|
if ! LIBC_MUSL_CUSTOM
|
|
|
|
|
2014-08-01 02:01:46 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "musl version"
|
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_BELOW
|
|
|
|
|
2017-01-14 08:03:45 +00:00
|
|
|
config LIBC_MUSL_V_1_1_16
|
2014-08-01 02:01:46 +00:00
|
|
|
bool
|
2017-01-14 08:03:45 +00:00
|
|
|
prompt "1.1.16"
|
2014-08-01 02:01:46 +00:00
|
|
|
depends on EXPERIMENTAL
|
|
|
|
|
2017-01-14 08:03:45 +00:00
|
|
|
config LIBC_MUSL_V_1_1_15
|
|
|
|
bool
|
|
|
|
prompt "1.1.15 (OBSOLETE)"
|
|
|
|
depends on EXPERIMENTAL && OBSOLETE
|
|
|
|
|
2014-08-01 02:01:46 +00:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config LIBC_VERSION
|
|
|
|
string
|
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2017-01-14 08:03:45 +00:00
|
|
|
default "1.1.16" if LIBC_MUSL_V_1_1_16
|
|
|
|
default "1.1.15" if LIBC_MUSL_V_1_1_15
|
2015-11-26 13:07:37 +00:00
|
|
|
|
|
|
|
endif # ! LIBC_MUSL_CUSTOM
|