libc/newlib: build newlib in the proper step
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 18:01:28 2011 +0200 (2011-07-17)
changeset 289586ea5204e9ce
parent 2894 7c6f2d990384
child 2896 d325be92e763
libc/newlib: build newlib in the proper step

Currently, newlib is built in the start_file step, which is wrong, but was
needed when the baremetal integration was... well, 'unfinished'.

Now that we build the baremetal compiler from the final cc step, and a
proper core gcc in pass-1 and pass-2, we can move the newlib build to the
step do_libc, where it belongs.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
scripts/build/libc/newlib.sh
     1.1 --- a/scripts/build/libc/newlib.sh	Mon Feb 13 22:18:02 2012 +0100
     1.2 +++ b/scripts/build/libc/newlib.sh	Sun Jul 17 18:01:28 2011 +0200
     1.3 @@ -49,6 +49,10 @@
     1.4  }
     1.5  
     1.6  do_libc_start_files() {
     1.7 +    :
     1.8 +}
     1.9 +
    1.10 +do_libc() {
    1.11      local -a newlib_opts
    1.12  
    1.13      CT_DoStep INFO "Installing C library"
    1.14 @@ -128,10 +132,6 @@
    1.15      CT_EndStep
    1.16  }
    1.17  
    1.18 -do_libc() {
    1.19 -    :
    1.20 -}
    1.21 -
    1.22  do_libc_finish() {
    1.23      CT_DoStep INFO "Finishing C library"
    1.24