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(-)
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