From ffe80db73c6b85ea08883fb9f7ca78101431e0a1 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 10 Jan 2013 21:01:59 +0100 Subject: 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" 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 \ -- cgit v0.10.2-6-g49f6