diff options
Diffstat (limited to 'config/libc/uClibc.in')
-rw-r--r-- | config/libc/uClibc.in | 69 |
1 files changed, 51 insertions, 18 deletions
diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in index 06a8975..ae26f3a 100644 --- a/config/libc/uClibc.in +++ b/config/libc/uClibc.in @@ -20,6 +20,55 @@ comment "'softfp' ABI and uClibc is not entirely tested in crosstool-NG" comment "You may experience issues, although it should work just fine" endif # ARCH_FLOAT_SOFTFP +config LIBC_UCLIBC_CUSTOM + bool + prompt "Custom uClibc" + depends on EXPERIMENTAL + help + The choosen uclibc version shall be not downloaded. Instead use + a custom location to get the source. + +if LIBC_UCLIBC_CUSTOM + +choice + bool + prompt "uClibc Version Name" + +config LIBC_UCLIBC_CUSTOM_UCLIBC + bool "uClibc" + select LIBC_UCLIBC_0_9_33_2_or_later + +config LIBC_UCLIBC_CUSTOM_UCLIBC_NG + bool "uClibc-ng" + select LIBC_UCLIBC_NG_1_0_0_or_later + +endchoice + +config LIBC_UCLIBC_CUSTOM_LOCATION + string + prompt "Full path to custom uClibc source" + help + Enter the path to the directory or tarball of your source for uClibc. + + If the path is a tarball, it should extract to: <name>-<version>/ + where the name is this component will be set by the uClibc Version Name + option from above, and the version is set below in the custom version + string. + +config LIBC_UCLIBC_CUSTOM_VERSION + string + prompt "Custom uClibc Version" + help + Enter the version number for your custom uClibc. + +config LIBC_VERSION + string + default LIBC_UCLIBC_CUSTOM_VERSION + +endif # LIBC_UCLIBC_CUSTOM + +if ! LIBC_UCLIBC_CUSTOM + choice bool prompt "uClibc version" @@ -36,26 +85,8 @@ config LIBC_UCLIBC_V_0_9_33_2 prompt "0.9.33.2" select LIBC_UCLIBC_0_9_33_2_or_later -config LIBC_UCLIBC_CUSTOM - bool - prompt "Custom uClibc" - depends on EXPERIMENTAL - select LIBC_UCLIBC_0_9_33_2_or_later - endchoice -if LIBC_UCLIBC_CUSTOM - -config LIBC_UCLIBC_CUSTOM_LOCATION - string - prompt "Full path to custom uClibc source" - default "" - help - Enter the path to the directory (or tarball) of your source for uClibc, - or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/uClibc - -endif # LIBC_UCLIBC_CUSTOM - config LIBC_VERSION string # Don't remove next line @@ -63,6 +94,8 @@ config LIBC_VERSION default "1.0.9" if LIBC_UCLIBC_NG_V_1_0_9 default "0.9.33.2" if LIBC_UCLIBC_V_0_9_33_2 +endif # ! LIBC_UCLIBC_CUSTOM + config LIBC_UCLIBC_NG_1_0_9_or_later bool select LIBC_UCLIBC_NG_1_0_0_or_later |