Remove the symlinks to the build/host tools earlier.
1.1 --- a/scripts/crosstool.sh Tue Jul 17 07:18:04 2007 +0000
1.2 +++ b/scripts/crosstool.sh Tue Jul 17 21:38:35 2007 +0000
1.3 @@ -424,6 +424,11 @@
1.4 prev_step="${step}"
1.5 done
1.6
1.7 + CT_DoLog DEBUG "Removing access to the build system tools"
1.8 + find "${CT_PREFIX_DIR}/bin" -name "${CT_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG
1.9 + find "${CT_PREFIX_DIR}/bin" -name "${CT_UNIQ_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG
1.10 + find "${CT_PREFIX_DIR}/bin" -name "${CT_HOST}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG
1.11 +
1.12 # Install the /populator/
1.13 CT_DoLog EXTRA "Installing the populate helper"
1.14 sed -r -e 's,@@CT_READELF@@,'"${CT_PREFIX_DIR}/bin/${CT_TARGET}-readelf"',g;' \
1.15 @@ -450,11 +455,6 @@
1.16 rm -rf "${CT_SYSROOT_DIR}/"{,usr/}{man,info}
1.17 rm -rf "${CT_DEBUG_INSTALL_DIR}/"{,usr/}{man,info}
1.18 fi
1.19 -
1.20 - CT_DoLog DEBUG "Removing access to the build system tools"
1.21 - find "${CT_PREFIX_DIR}/bin" -name "${CT_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG
1.22 - find "${CT_PREFIX_DIR}/bin" -name "${CT_UNIQ_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG
1.23 - find "${CT_PREFIX_DIR}/bin" -name "${CT_HOST}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG
1.24 fi
1.25
1.26 CT_DoEnd INFO