It's been a long time that the gcc libraries are all installed in the sys-root.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 19 12:25:46 2008 +0000 (2008-07-19)
changeset 688b8d87af44232
parent 687 b2b6b1d46aa1
child 689 d825913a3eb6
It's been a long time that the gcc libraries are all installed in the sys-root.
Thus populate does not need to look above to find the libraries.

/trunk/tools/populate.in | 9 3 6 0 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
tools/populate.in
     1.1 --- a/tools/populate.in	Sat Jul 19 12:17:26 2008 +0000
     1.2 +++ b/tools/populate.in	Sat Jul 19 12:25:46 2008 +0000
     1.3 @@ -99,17 +99,14 @@
     1.4                  ${CT_ECHO} "    already present"
     1.5                  continue
     1.6              fi
     1.7 -            # Need to scan .. for libgcc_s et al.
     1.8 -            for dir in . usr ..; do
     1.9 +            for dir in . usr; do
    1.10                  ${CT_ECHO} -n "    trying in '${dir}'"
    1.11 -                tgt_dir="${dir}"
    1.12 -                [ "${tgt_dir}" = ".." ] && tgt_dir="usr"
    1.13                  libfile="${CT_SYSROOT_DIR}/${dir}/lib/${libname}"
    1.14                  ${CT_ECHO} ": '${libfile}'"
    1.15                  if [ -e "${libfile}" ]; then
    1.16                      mkdir -p "${dir}/lib"
    1.17 -                    ${CT_ECHO} "      installing '${tgt_dir}/lib/${libname}'"
    1.18 -                    cp "${libfile}" "${tgt_dir}/lib/${libname}"
    1.19 +                    ${CT_ECHO} "      installing '${dir}/lib/${libname}'"
    1.20 +                    cp "${libfile}" "${dir}/lib/${libname}"
    1.21                      still_needed=1
    1.22                      break
    1.23                  fi