summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2013-01-10 20:01:59 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2013-01-10 20:01:59 (GMT)
commitffe80db73c6b85ea08883fb9f7ca78101431e0a1 (patch)
tree727e0e42cb18919cdc63f0dbb21d94e0b9c16d72
parentb8c9fdf4a3b16cc262db8a28646906ebfa98093e (diff)
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>
-rw-r--r--docs/9 - How is a toolchain constructed.txt6
-rw-r--r--scripts/build/libc/eglibc.sh1
-rw-r--r--scripts/build/libc/glibc-eglibc.sh-common6
-rw-r--r--scripts/build/libc/glibc.sh1
-rw-r--r--scripts/build/libc/mingw.sh4
-rw-r--r--scripts/build/libc/newlib.sh4
-rw-r--r--scripts/build/libc/none.sh4
-rw-r--r--scripts/build/libc/uClibc.sh5
-rw-r--r--steps.mk1
9 files changed, 1 insertions, 31 deletions
diff --git a/docs/9 - How is a toolchain constructed.txt b/docs/9 - How is a toolchain constructed.txt
index c288928..353c0a2 100644
--- a/docs/9 - How is a toolchain constructed.txt
+++ b/docs/9 - How is a toolchain constructed.txt
@@ -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
strictly required.
-Second, some C libraries require another step after the compiler is built, to
-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
+Second, 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
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)
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh
index 31f8ed1..37f837a 100644
--- a/scripts/build/libc/eglibc.sh
+++ b/scripts/build/libc/eglibc.sh
@@ -4,7 +4,6 @@
# do_libc_extract
# do_libc_start_files
# do_libc
-# do_libc_finish
# do_libc_add_ons_list
# do_libc_min_kernel_config
. "${CT_LIB_DIR}/scripts/build/libc/glibc-eglibc.sh-common"
diff --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common
index 2ca2453..d89405b 100644
--- a/scripts/build/libc/glibc-eglibc.sh-common
+++ b/scripts/build/libc/glibc-eglibc.sh-common
@@ -471,12 +471,6 @@ do_libc_backend_once() {
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
do_libc_add_ons_list() {
local sep="$1"
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh
index 4ef0fe3..6323c7c 100644
--- a/scripts/build/libc/glibc.sh
+++ b/scripts/build/libc/glibc.sh
@@ -6,7 +6,6 @@
# do_libc_extract
# do_libc_start_files
# do_libc
-# do_libc_finish
# do_libc_add_ons_list
# do_libc_min_kernel_config
. "${CT_LIB_DIR}/scripts/build/libc/glibc-eglibc.sh-common"
diff --git a/scripts/build/libc/mingw.sh b/scripts/build/libc/mingw.sh
index d8cbf71..9a89df7 100644
--- a/scripts/build/libc/mingw.sh
+++ b/scripts/build/libc/mingw.sh
@@ -77,7 +77,3 @@ do_libc() {
CT_EndStep
}
-
-do_libc_finish() {
- :
-}
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh
index 491583c..d074eea 100644
--- a/scripts/build/libc/newlib.sh
+++ b/scripts/build/libc/newlib.sh
@@ -135,7 +135,3 @@ do_libc() {
CT_EndStep
}
-
-do_libc_finish() {
- :
-}
diff --git a/scripts/build/libc/none.sh b/scripts/build/libc/none.sh
index 870a4b5..ca95e73 100644
--- a/scripts/build/libc/none.sh
+++ b/scripts/build/libc/none.sh
@@ -21,7 +21,3 @@ do_libc_start_files() {
do_libc() {
:
}
-
-do_libc_finish() {
- :
-}
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh
index 395d31d..1c710d1 100644
--- a/scripts/build/libc/uClibc.sh
+++ b/scripts/build/libc/uClibc.sh
@@ -232,11 +232,6 @@ do_libc() {
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
# $1: original file
# $2: munged file
diff --git a/steps.mk b/steps.mk
index dcc39a2..1323379 100644
--- a/steps.mk
+++ b/steps.mk
@@ -30,7 +30,6 @@ CT_STEPS := libc_check_config \
libc \
cc_for_build \
cc_for_host \
- libc_finish \
libelf_for_target \
binutils_for_target \
debug \