diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-12-18 09:42:09 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-12-18 09:42:09 (GMT) |
commit | 7f949eafaf8167855b7749910e1aa304f5316edb (patch) | |
tree | 115b1bca266d57cc7e2c0940fd4f14ca415a888d /config/libc/musl.in | |
parent | 2d3c70dd3ddc5a569c0fa1a833fd5920029b5794 (diff) | |
parent | 9f89e082c5bcb3c49013eeeae0a1ccbac1d91ba9 (diff) |
Merge pull request #288 from bhundven/custom_locations_rewrite
Custom locations rewrite
Diffstat (limited to 'config/libc/musl.in')
-rw-r--r-- | config/libc/musl.in | 42 |
1 files changed, 36 insertions, 6 deletions
diff --git a/config/libc/musl.in b/config/libc/musl.in index 8df09df..522478a 100644 --- a/config/libc/musl.in +++ b/config/libc/musl.in @@ -12,6 +12,40 @@ config THREADS default "musl" +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 + choice bool prompt "musl version" @@ -27,11 +61,6 @@ config LIBC_MUSL_V_1_0 bool prompt "1.0.5 (Stable)" -config LIBC_MUSL_V_CUSTOM - bool - prompt "Custom musl" - depends on EXPERIMENTAL - endchoice config LIBC_VERSION @@ -40,4 +69,5 @@ config LIBC_VERSION # CT_INSERT_VERSION_STRING_BELOW default "1.1.12" if LIBC_MUSL_V_1_1 default "1.0.5" if LIBC_MUSL_V_1_0 - default "custom" if LIBC_MUSL_V_CUSTOM + +endif # ! LIBC_MUSL_CUSTOM |