mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-03-12 07:24:05 +00:00
libc: get rid of libc_finish
At long last, we no longer have any libc that requries a libc_finish. Yeah! Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
b8c9fdf4a3
commit
ffe80db73c
@ -243,11 +243,7 @@ that adds this support: elf2flt. Another binary utility called sstrip has been
|
|||||||
added. It allows for super-stripping the target binaries, although it is not
|
added. It allows for super-stripping the target binaries, although it is not
|
||||||
strictly required.
|
strictly required.
|
||||||
|
|
||||||
Second, some C libraries require another step after the compiler is built, to
|
Second, crosstool-NG can also build some additional debug utilities to run on
|
||||||
install additional stuff. This is the case for mingw and newlib. Hence the
|
|
||||||
libc_finish step.
|
|
||||||
|
|
||||||
Third, crosstool-NG can also build some additional debug utilities to run on
|
|
||||||
the target. This is where we build, for example, the cross-gdb, the gdbserver
|
the target. This is where we build, for example, the cross-gdb, the gdbserver
|
||||||
and the native gdb (the last two run on the target, the first runs on the
|
and the native gdb (the last two run on the target, the first runs on the
|
||||||
same machine as the toolchain). The others (strace, ltrace, DUMA and dmalloc)
|
same machine as the toolchain). The others (strace, ltrace, DUMA and dmalloc)
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
# do_libc_extract
|
# do_libc_extract
|
||||||
# do_libc_start_files
|
# do_libc_start_files
|
||||||
# do_libc
|
# do_libc
|
||||||
# do_libc_finish
|
|
||||||
# do_libc_add_ons_list
|
# do_libc_add_ons_list
|
||||||
# do_libc_min_kernel_config
|
# do_libc_min_kernel_config
|
||||||
. "${CT_LIB_DIR}/scripts/build/libc/glibc-eglibc.sh-common"
|
. "${CT_LIB_DIR}/scripts/build/libc/glibc-eglibc.sh-common"
|
||||||
|
@ -471,12 +471,6 @@ do_libc_backend_once() {
|
|||||||
fi # libc_full == y
|
fi # libc_full == y
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function finishes the C library install
|
|
||||||
# This is a no-op
|
|
||||||
do_libc_finish() {
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
|
||||||
# Build up the addons list, separated with $1
|
# Build up the addons list, separated with $1
|
||||||
do_libc_add_ons_list() {
|
do_libc_add_ons_list() {
|
||||||
local sep="$1"
|
local sep="$1"
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
# do_libc_extract
|
# do_libc_extract
|
||||||
# do_libc_start_files
|
# do_libc_start_files
|
||||||
# do_libc
|
# do_libc
|
||||||
# do_libc_finish
|
|
||||||
# do_libc_add_ons_list
|
# do_libc_add_ons_list
|
||||||
# do_libc_min_kernel_config
|
# do_libc_min_kernel_config
|
||||||
. "${CT_LIB_DIR}/scripts/build/libc/glibc-eglibc.sh-common"
|
. "${CT_LIB_DIR}/scripts/build/libc/glibc-eglibc.sh-common"
|
||||||
|
@ -77,7 +77,3 @@ do_libc() {
|
|||||||
|
|
||||||
CT_EndStep
|
CT_EndStep
|
||||||
}
|
}
|
||||||
|
|
||||||
do_libc_finish() {
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
@ -135,7 +135,3 @@ do_libc() {
|
|||||||
|
|
||||||
CT_EndStep
|
CT_EndStep
|
||||||
}
|
}
|
||||||
|
|
||||||
do_libc_finish() {
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
@ -21,7 +21,3 @@ do_libc_start_files() {
|
|||||||
do_libc() {
|
do_libc() {
|
||||||
:
|
:
|
||||||
}
|
}
|
||||||
|
|
||||||
do_libc_finish() {
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
@ -232,11 +232,6 @@ do_libc() {
|
|||||||
CT_EndStep
|
CT_EndStep
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function is used to install those components needing the final C compiler
|
|
||||||
do_libc_finish() {
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
|
||||||
# Initialises the .config file to sensible values
|
# Initialises the .config file to sensible values
|
||||||
# $1: original file
|
# $1: original file
|
||||||
# $2: munged file
|
# $2: munged file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user