libc/uClibc: move content of do_libc_headers into do_libc_start_files
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 22 22:32:25 2011 +0100 (2011-01-22)
changeset 22681300e1714c13
parent 2267 7af68e6083aa
child 2269 8a8dd36b1087
libc/uClibc: move content of do_libc_headers into do_libc_start_files

It is unnecessary to split C library preparation into two steps, as only
one really makes sense. So, do_libc_headers is bound to be withdrawn
short-term, in favor of do_libc_start_files.

uClibc already had all its start files installation in do_libc_headers, and
do_libc_start_files was empty, just migrate the content of the former into
the latter.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
scripts/build/libc/uClibc.sh
     1.1 --- a/scripts/build/libc/uClibc.sh	Mon Jan 03 23:40:22 2011 +0100
     1.2 +++ b/scripts/build/libc/uClibc.sh	Sat Jan 22 22:32:25 2011 +0100
     1.3 @@ -75,8 +75,12 @@
     1.4      CT_EndStep
     1.5  }
     1.6  
     1.7 -# This functions installs uClibc's headers
     1.8  do_libc_headers() {
     1.9 +    :
    1.10 +}
    1.11 +
    1.12 +# Build and install headers and start files
    1.13 +do_libc_start_files() {
    1.14      local install_rule
    1.15      local cross
    1.16  
    1.17 @@ -164,11 +168,6 @@
    1.18      CT_EndStep
    1.19  }
    1.20  
    1.21 -# Build and install start files
    1.22 -do_libc_start_files() {
    1.23 -    :
    1.24 -}
    1.25 -
    1.26  # This function build and install the full uClibc
    1.27  do_libc() {
    1.28      CT_DoStep INFO "Installing C library"