summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-01-05 08:37:45 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:50 (GMT)
commitcc6b7fad46f5cb3d84cf87ae47c5f723803a67a3 (patch)
treebc5ebd566bc39ffe8a8600bbaf66c91d1316aec1 /config/libc
parent4c6604e730ee786709e8c39ab9e54eec06990e49 (diff)
Retire obsoleted milestones
... and the code dependent on them, after the latest wave of obsolete package removals. This concludes the glorious history of the original uClibc (non-NG) with lots of kludges removed. There was a choice here, whether to call the resulting libc "uClibc" or "uClibc-ng". I opted in favor of giving uClibc-ng the recognition it deserves, although it had some ripple effect in the ct-ng code. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/glibc.in1
-rw-r--r--config/libc/mingw-w64.in4
-rw-r--r--config/libc/newlib.in18
-rw-r--r--config/libc/uClibc-ng.in (renamed from config/libc/uClibc.in)75
4 files changed, 4 insertions, 94 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index 63c31f6..39c2c20 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -66,7 +66,6 @@ config GLIBC_DEP_MAKE_4_0
def_bool y
depends on GLIBC_2_28_or_later && !CONFIGURE_has_make_4_0_or_newer
select COMP_TOOLS_MAKE
- select MAKE_REQUIRE_4_0_or_later
select MAKE_GNUMAKE_SYMLINK # Override old host make in .build/tools/bin
# Glibc 2.31 removed support for pre-v8 SPARC in 32-bit mode (64-bit mode always
diff --git a/config/libc/mingw-w64.in b/config/libc/mingw-w64.in
index d176e47..1880f08 100644
--- a/config/libc/mingw-w64.in
+++ b/config/libc/mingw-w64.in
@@ -9,10 +9,6 @@
##
## help The de-facto standard for Mingw distributions.
-config MINGW_W64_REQUIRES_W64_VENDOR
- bool
- default y if MINGW_W64_V4_or_later
-
config THREADS
default "win32" if THREADS_NATIVE
default "posix" if THREADS_POSIX
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index ce426da..83ae4b1 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -1,6 +1,7 @@
# newlib options
## depends on BARE_METAL
+## select LIBC_PROVIDES_CXA_ATEXIT
## select LIBC_SUPPORT_THREADS_NONE
## select CC_CORE_PASS_1_NEEDED
@@ -11,21 +12,6 @@
## help array of processors, and will usually work on any architecture with
## help the addition of a few low-level routines.
-# maybe older versions of newlib will support it too, but this
-# needs to be checked
-config NEWLIB_CXA_ATEXIT
- def_bool y
- depends on NEWLIB_2_0_or_later
- select LIBC_PROVIDES_CXA_ATEXIT
-
-config NEWLIB_HAS_NANO_MALLOC
- def_bool y
- depends on NEWLIB_2_1_or_later
-
-config NEWLIB_HAS_NANO_FORMATTED_IO
- def_bool y
- depends on NEWLIB_2_2_or_later
-
config LIBC_NEWLIB_TARGET_CFLAGS
string
prompt "Target CFLAGS for newlib"
@@ -197,7 +183,6 @@ config LIBC_NEWLIB_LTO
config LIBC_NEWLIB_NANO_MALLOC
bool
prompt "Enable Nano Malloc"
- depends on NEWLIB_HAS_NANO_MALLOC
help
NEWLIB has two implementations of malloc family's functions, one in
`mallocr.c' and the other one in `nano-mallocr.c'. This options
@@ -208,7 +193,6 @@ config LIBC_NEWLIB_NANO_MALLOC
config LIBC_NEWLIB_NANO_FORMATTED_IO
bool
prompt "Enable Nano Formatted I/O"
- depends on NEWLIB_HAS_NANO_FORMATTED_IO
help
This builds NEWLIB with a special implementation of formatted I/O
functions, designed to lower the size of application on small systems
diff --git a/config/libc/uClibc.in b/config/libc/uClibc-ng.in
index c88bbc8..705c0d4 100644
--- a/config/libc/uClibc.in
+++ b/config/libc/uClibc-ng.in
@@ -4,7 +4,7 @@
##
## select LIBC_SUPPORT_THREADS_LT
## select LIBC_SUPPORT_THREADS_NONE
-## select LIBC_SUPPORT_THREADS_NATIVE if UCLIBC_0_9_33_2_or_later
+## select LIBC_SUPPORT_THREADS_NATIVE
## select CC_CORE_PASS_1_NEEDED
##
## help The de-facto standard for embeded linux systems.
@@ -21,27 +21,6 @@ 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_HAS_SUNRPC
- bool
- default y if !UCLIBC_1_0_23_or_later
-
-config LIBC_UCLIBC_HAS_LIBICONV
- bool
- default y if UCLIBC_1_0_21_or_later
-
-config LIBC_UCLIBC_PARALLEL
- def_bool y
- depends on UCLIBC_0_9_33_2_or_later
-
-config LIBC_UCLIBC_NG
- def_bool y
- depends on UCLIBC_1_0_0_or_later
-
-# uClibc-ng 1.0.15 did away with 2 implementations of linuxthreads
-config UCLIBC_MERGED_LINUXTHREADS
- def_bool y
- depends on UCLIBC_1_0_15_or_later
-
choice
bool
prompt "uClibc verbosity:"
@@ -74,10 +53,8 @@ endchoice
config LIBC_UCLIBC_VERBOSITY
string
default "" if LIBC_UCLIBC_VERBOSITY_0
- default "V=2" if LIBC_UCLIBC_VERBOSITY_1 && LIBC_UCLIBC_NG
- default "V=1" if LIBC_UCLIBC_VERBOSITY_1
- default "V=1" if LIBC_UCLIBC_VERBOSITY_2 && LIBC_UCLIBC_NG
- default "V=2" if LIBC_UCLIBC_VERBOSITY_2
+ default "V=2" if LIBC_UCLIBC_VERBOSITY_1
+ default "V=1" if LIBC_UCLIBC_VERBOSITY_2
choice
bool
@@ -118,44 +95,6 @@ config LIBC_UCLIBC_CONFIG_FILE
If the file is not provided, we fall back to a default config file.
-if THREADS_LT && !UCLIBC_MERGED_LINUXTHREADS
-
-choice
- bool
- prompt "Linuxthread implementation: "
- default LIBC_UCLIBC_LNXTHRD_OLD
-
-config LIBC_UCLIBC_LNXTHRD_OLD
- bool
- prompt "old/stable"
- help
- From the uClibc config option help:
- There are two versions of linuxthreads. The older (stable) version
- has been in uClibc for quite a long time but hasn't seen too many
- updates other than bugfixes.
-
-config LIBC_UCLIBC_LNXTHRD_NEW
- bool
- prompt "new"
- help
- From the uClibc config option help:
- The new version has not been tested much, and lacks ports for arches
- which glibc does not support (like frv, etc...), but is based on
- the latest code from glibc, so it may be the only choice for the
- newer ports (like alpha/amd64/64bit arches and hppa).
-
-endchoice
-
-endif # THREADS_LT
-
-config LIBC_UCLIBC_LNXTHRD
- string
- default "" if THREADS_NONE
- default "" if THREADS_NATIVE
- default "" if UCLIBC_MERGED_LINUXTHREADS
- default "old" if LIBC_UCLIBC_LNXTHRD_OLD
- default "new" if LIBC_UCLIBC_LNXTHRD_NEW
-
config LIBC_UCLIBC_LOCALES
bool
select LIBC_UCLIBC_WCHAR
@@ -168,7 +107,6 @@ config LIBC_UCLIBC_LOCALES
config LIBC_UCLIBC_LIBICONV
bool "Enable iconv"
- depends on LIBC_UCLIBC_HAS_LIBICONV
help
Say y if you want to enable <iconv.h> and the corresponding interfaces.
@@ -201,13 +139,6 @@ config LIBC_UCLIBC_FENV
If you need fenv.h on other architectures, say 'y' here, but you may
encounter some issues.
-config LIBC_UCLIBC_RPC
- bool
- prompt "Add support for RPC"
- depends on LIBC_UCLIBC_HAS_SUNRPC
- help
- Enable support for remote procedure calls (RPC) in uClibc.
-
config LIBC_UCLIBC_HAS_SSP
bool
prompt "Support stack smashing protection (SSP)"