1.1 --- a/docs/9 - How is a toolchain constructed.txt Thu Jan 10 19:06:46 2013 +0100
1.2 +++ b/docs/9 - How is a toolchain constructed.txt Thu Jan 10 21:01:59 2013 +0100
1.3 @@ -243,11 +243,7 @@
1.4 added. It allows for super-stripping the target binaries, although it is not
1.5 strictly required.
1.6
1.7 -Second, some C libraries require another step after the compiler is built, to
1.8 -install additional stuff. This is the case for mingw and newlib. Hence the
1.9 -libc_finish step.
1.10 -
1.11 -Third, crosstool-NG can also build some additional debug utilities to run on
1.12 +Second, crosstool-NG can also build some additional debug utilities to run on
1.13 the target. This is where we build, for example, the cross-gdb, the gdbserver
1.14 and the native gdb (the last two run on the target, the first runs on the
1.15 same machine as the toolchain). The others (strace, ltrace, DUMA and dmalloc)
2.1 --- a/scripts/build/libc/eglibc.sh Thu Jan 10 19:06:46 2013 +0100
2.2 +++ b/scripts/build/libc/eglibc.sh Thu Jan 10 21:01:59 2013 +0100
2.3 @@ -4,7 +4,6 @@
2.4 # do_libc_extract
2.5 # do_libc_start_files
2.6 # do_libc
2.7 -# do_libc_finish
2.8 # do_libc_add_ons_list
2.9 # do_libc_min_kernel_config
2.10 . "${CT_LIB_DIR}/scripts/build/libc/glibc-eglibc.sh-common"
3.1 --- a/scripts/build/libc/glibc-eglibc.sh-common Thu Jan 10 19:06:46 2013 +0100
3.2 +++ b/scripts/build/libc/glibc-eglibc.sh-common Thu Jan 10 21:01:59 2013 +0100
3.3 @@ -471,12 +471,6 @@
3.4 fi # libc_full == y
3.5 }
3.6
3.7 -# This function finishes the C library install
3.8 -# This is a no-op
3.9 -do_libc_finish() {
3.10 - :
3.11 -}
3.12 -
3.13 # Build up the addons list, separated with $1
3.14 do_libc_add_ons_list() {
3.15 local sep="$1"
4.1 --- a/scripts/build/libc/glibc.sh Thu Jan 10 19:06:46 2013 +0100
4.2 +++ b/scripts/build/libc/glibc.sh Thu Jan 10 21:01:59 2013 +0100
4.3 @@ -6,7 +6,6 @@
4.4 # do_libc_extract
4.5 # do_libc_start_files
4.6 # do_libc
4.7 -# do_libc_finish
4.8 # do_libc_add_ons_list
4.9 # do_libc_min_kernel_config
4.10 . "${CT_LIB_DIR}/scripts/build/libc/glibc-eglibc.sh-common"
5.1 --- a/scripts/build/libc/mingw.sh Thu Jan 10 19:06:46 2013 +0100
5.2 +++ b/scripts/build/libc/mingw.sh Thu Jan 10 21:01:59 2013 +0100
5.3 @@ -77,7 +77,3 @@
5.4
5.5 CT_EndStep
5.6 }
5.7 -
5.8 -do_libc_finish() {
5.9 - :
5.10 -}
6.1 --- a/scripts/build/libc/newlib.sh Thu Jan 10 19:06:46 2013 +0100
6.2 +++ b/scripts/build/libc/newlib.sh Thu Jan 10 21:01:59 2013 +0100
6.3 @@ -135,7 +135,3 @@
6.4
6.5 CT_EndStep
6.6 }
6.7 -
6.8 -do_libc_finish() {
6.9 - :
6.10 -}
7.1 --- a/scripts/build/libc/none.sh Thu Jan 10 19:06:46 2013 +0100
7.2 +++ b/scripts/build/libc/none.sh Thu Jan 10 21:01:59 2013 +0100
7.3 @@ -21,7 +21,3 @@
7.4 do_libc() {
7.5 :
7.6 }
7.7 -
7.8 -do_libc_finish() {
7.9 - :
7.10 -}
8.1 --- a/scripts/build/libc/uClibc.sh Thu Jan 10 19:06:46 2013 +0100
8.2 +++ b/scripts/build/libc/uClibc.sh Thu Jan 10 21:01:59 2013 +0100
8.3 @@ -232,11 +232,6 @@
8.4 CT_EndStep
8.5 }
8.6
8.7 -# This function is used to install those components needing the final C compiler
8.8 -do_libc_finish() {
8.9 - :
8.10 -}
8.11 -
8.12 # Initialises the .config file to sensible values
8.13 # $1: original file
8.14 # $2: munged file
9.1 --- a/steps.mk Thu Jan 10 19:06:46 2013 +0100
9.2 +++ b/steps.mk Thu Jan 10 21:01:59 2013 +0100
9.3 @@ -30,7 +30,6 @@
9.4 libc \
9.5 cc_for_build \
9.6 cc_for_host \
9.7 - libc_finish \
9.8 libelf_for_target \
9.9 binutils_for_target \
9.10 debug \