2007-02-24 11:00:05 +00:00
|
|
|
# uClibc options
|
|
|
|
|
2012-11-14 13:05:49 +00:00
|
|
|
## depends on ! WINDOWS && ! BARE_METAL
|
2011-05-08 17:02:44 +00:00
|
|
|
##
|
2014-07-27 21:47:24 +00:00
|
|
|
## select LIBC_SUPPORT_THREADS_LT
|
2011-05-08 17:02:44 +00:00
|
|
|
## select LIBC_SUPPORT_THREADS_NONE
|
2012-11-22 22:56:58 +00:00
|
|
|
## select CC_CORE_PASSES_NEEDED
|
2011-05-08 17:02:44 +00:00
|
|
|
##
|
|
|
|
## help The de-facto standard for embeded linux systems.
|
|
|
|
## help
|
|
|
|
## help Highly configurable, thus as feature-rich as you
|
|
|
|
## help need, without compromising for size.
|
2008-09-14 18:09:36 +00:00
|
|
|
|
2014-07-27 22:09:38 +00:00
|
|
|
config THREADS
|
|
|
|
default "nptl" if THREADS_NATIVE
|
|
|
|
default "linuxthreads" if THREADS_LT
|
|
|
|
|
2011-11-14 17:54:37 +00:00
|
|
|
if ARCH_FLOAT_SOFTFP
|
|
|
|
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
|
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
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
|
2017-02-04 20:18:52 +00:00
|
|
|
bool "uClibc (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2015-11-26 13:07:37 +00:00
|
|
|
select LIBC_UCLIBC_0_9_33_2_or_later
|
|
|
|
|
|
|
|
config LIBC_UCLIBC_CUSTOM_UCLIBC_NG
|
2016-12-02 22:56:25 +00:00
|
|
|
bool "uClibc-ng (1.0.15 or later)"
|
|
|
|
select LIBC_UCLIBC_NG_1_0_15_or_later
|
|
|
|
|
|
|
|
config LIBC_UCLIBC_CUSTOM_UCLIBC_NG_OLD
|
|
|
|
bool "uClibc-ng (older than 1.0.15)"
|
2015-11-26 13:07:37 +00:00
|
|
|
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.
|
2016-10-05 22:23:40 +00:00
|
|
|
Version 1.0.18 is only enabled in EXPERIMENTAL builds due to issues
|
|
|
|
with static libraries.
|
2015-11-26 13:07:37 +00:00
|
|
|
|
|
|
|
config LIBC_VERSION
|
|
|
|
string
|
|
|
|
default LIBC_UCLIBC_CUSTOM_VERSION
|
|
|
|
|
|
|
|
endif # LIBC_UCLIBC_CUSTOM
|
|
|
|
|
|
|
|
if ! LIBC_UCLIBC_CUSTOM
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "uClibc version"
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_BELOW
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2017-02-03 07:02:43 +00:00
|
|
|
config LIBC_UCLIBC_NG_V_1_0_22
|
|
|
|
bool
|
|
|
|
prompt "1.0.22"
|
|
|
|
select LIBC_UCLIBC_NG_1_0_15_or_later
|
|
|
|
|
2017-01-13 07:13:27 +00:00
|
|
|
config LIBC_UCLIBC_NG_V_1_0_21
|
|
|
|
bool
|
2017-02-03 07:02:43 +00:00
|
|
|
prompt "1.0.21 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2017-01-13 07:13:27 +00:00
|
|
|
select LIBC_UCLIBC_NG_1_0_15_or_later
|
|
|
|
|
2016-12-06 00:06:44 +00:00
|
|
|
config LIBC_UCLIBC_NG_V_1_0_20
|
2016-12-02 21:02:54 +00:00
|
|
|
bool
|
2017-01-22 23:50:18 +00:00
|
|
|
prompt "1.0.20 (OBSOLETE)"
|
2017-01-13 07:13:27 +00:00
|
|
|
depends on OBSOLETE
|
2016-12-02 19:58:08 +00:00
|
|
|
select LIBC_UCLIBC_NG_1_0_15_or_later
|
|
|
|
|
2012-06-03 18:58:37 +00:00
|
|
|
config LIBC_UCLIBC_V_0_9_33_2
|
|
|
|
bool
|
2017-02-04 20:18:52 +00:00
|
|
|
prompt "0.9.33.2 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2015-11-10 06:47:17 +00:00
|
|
|
select LIBC_UCLIBC_0_9_33_2_or_later
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config LIBC_VERSION
|
|
|
|
string
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2017-02-03 07:02:43 +00:00
|
|
|
default "1.0.22" if LIBC_UCLIBC_NG_V_1_0_22
|
2017-01-13 07:13:27 +00:00
|
|
|
default "1.0.21" if LIBC_UCLIBC_NG_V_1_0_21
|
2016-12-06 00:06:44 +00:00
|
|
|
default "1.0.20" if LIBC_UCLIBC_NG_V_1_0_20
|
2012-06-03 18:58:37 +00:00
|
|
|
default "0.9.33.2" if LIBC_UCLIBC_V_0_9_33_2
|
2011-09-12 00:37:29 +00:00
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
endif # ! LIBC_UCLIBC_CUSTOM
|
|
|
|
|
2016-09-20 01:50:08 +00:00
|
|
|
config LIBC_UCLIBC_NG_1_0_15_or_later
|
2015-11-10 22:41:33 +00:00
|
|
|
bool
|
|
|
|
select LIBC_UCLIBC_NG_1_0_0_or_later
|
|
|
|
|
|
|
|
config LIBC_UCLIBC_NG_1_0_0_or_later
|
|
|
|
bool
|
|
|
|
select LIBC_UCLIBC_NG
|
|
|
|
select LIBC_UCLIBC_0_9_33_2_or_later
|
|
|
|
|
2015-11-10 06:47:17 +00:00
|
|
|
config LIBC_UCLIBC_0_9_33_2_or_later
|
2009-05-07 18:56:31 +00:00
|
|
|
bool
|
2015-11-10 06:47:17 +00:00
|
|
|
select LIBC_SUPPORT_THREADS_NATIVE
|
2009-05-07 18:56:31 +00:00
|
|
|
select LIBC_UCLIBC_PARALLEL
|
|
|
|
|
2008-11-01 17:16:34 +00:00
|
|
|
config LIBC_UCLIBC_PARALLEL
|
|
|
|
bool
|
|
|
|
|
2015-11-10 22:41:33 +00:00
|
|
|
config LIBC_UCLIBC_NG
|
|
|
|
bool
|
|
|
|
|
2008-05-14 17:52:53 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "uClibc verbosity:"
|
2008-05-14 21:24:03 +00:00
|
|
|
default LIBC_UCLIBC_VERBOSITY_0
|
2008-05-14 17:52:53 +00:00
|
|
|
|
|
|
|
config LIBC_UCLIBC_VERBOSITY_0
|
|
|
|
bool
|
2010-07-13 10:12:32 +00:00
|
|
|
prompt "Quiet build"
|
2008-05-14 17:52:53 +00:00
|
|
|
help
|
2010-07-13 10:12:32 +00:00
|
|
|
Print terse command indications.
|
2008-05-14 17:52:53 +00:00
|
|
|
|
|
|
|
config LIBC_UCLIBC_VERBOSITY_1
|
|
|
|
bool
|
2017-02-16 06:45:07 +00:00
|
|
|
prompt "Brief build (show defines, ld flags)"
|
2010-07-13 10:12:32 +00:00
|
|
|
help
|
|
|
|
Print simplified command lines.
|
|
|
|
|
|
|
|
config LIBC_UCLIBC_VERBOSITY_2
|
|
|
|
bool
|
2017-02-16 06:45:07 +00:00
|
|
|
prompt "Very verbose build"
|
2008-05-14 17:52:53 +00:00
|
|
|
help
|
|
|
|
Print full command lines.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2017-02-16 06:45:07 +00:00
|
|
|
# uClibc-ng has reverted the meaning of V=1 and V=2 compared to its
|
|
|
|
# ancestor, uClibc, in order to match kernel's Kbuild settings.
|
|
|
|
# Hence, for uClibc-ng supply V=2 if "brief build" is selected,
|
|
|
|
# and so forth.
|
2008-05-14 17:52:53 +00:00
|
|
|
config LIBC_UCLIBC_VERBOSITY
|
|
|
|
string
|
|
|
|
default "" if LIBC_UCLIBC_VERBOSITY_0
|
2017-02-16 06:45:07 +00:00
|
|
|
default "V=2" if LIBC_UCLIBC_VERBOSITY_1 && LIBC_UCLIBC_NG
|
2008-05-14 17:52:53 +00:00
|
|
|
default "V=1" if LIBC_UCLIBC_VERBOSITY_1
|
2017-02-16 06:45:07 +00:00
|
|
|
default "V=1" if LIBC_UCLIBC_VERBOSITY_2 && LIBC_UCLIBC_NG
|
2010-07-13 10:12:32 +00:00
|
|
|
default "V=2" if LIBC_UCLIBC_VERBOSITY_2
|
2008-05-14 17:52:53 +00:00
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "Debug level"
|
|
|
|
default LIBC_UCLIBC_DEBUG_LEVEL_0
|
|
|
|
|
|
|
|
config LIBC_UCLIBC_DEBUG_LEVEL_0
|
|
|
|
bool
|
|
|
|
prompt "none"
|
|
|
|
|
|
|
|
config LIBC_UCLIBC_DEBUG_LEVEL_1
|
|
|
|
bool
|
|
|
|
prompt "minimal"
|
|
|
|
|
|
|
|
config LIBC_UCLIBC_DEBUG_LEVEL_2
|
2012-02-24 15:08:32 +00:00
|
|
|
bool
|
|
|
|
prompt "normal"
|
|
|
|
|
|
|
|
config LIBC_UCLIBC_DEBUG_LEVEL_3
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
|
|
|
prompt "all"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config LIBC_UCLIBC_DEBUG_LEVEL
|
|
|
|
int
|
|
|
|
default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
|
|
|
|
default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
|
|
|
|
default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
|
|
|
|
|
|
|
|
config LIBC_UCLIBC_CONFIG_FILE
|
|
|
|
string
|
|
|
|
prompt "Configuration file"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Path to the configuration file.
|
2015-11-10 23:09:20 +00:00
|
|
|
|
|
|
|
If the file is not provided, we fall back to a default config file.
|