diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-17 21:38:35 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-17 21:38:35 (GMT) |
commit | 1a32a0fbbc1962afd3b020fdc6dd7ac6d10136ae (patch) | |
tree | 90d6feb5810bbeabb7c6c6c64301a44d93b24ff8 /scripts | |
parent | 2175c8b29d42d2a7afbc8505944f4f9a745a85bf (diff) |
Remove the symlinks to the build/host tools earlier.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/crosstool.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index 6b3b30b..1fa17c0 100755 --- a/scripts/crosstool.sh +++ b/scripts/crosstool.sh @@ -424,6 +424,11 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then prev_step="${step}" done + CT_DoLog DEBUG "Removing access to the build system tools" + find "${CT_PREFIX_DIR}/bin" -name "${CT_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG + find "${CT_PREFIX_DIR}/bin" -name "${CT_UNIQ_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG + find "${CT_PREFIX_DIR}/bin" -name "${CT_HOST}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG + # Install the /populator/ CT_DoLog EXTRA "Installing the populate helper" sed -r -e 's,@@CT_READELF@@,'"${CT_PREFIX_DIR}/bin/${CT_TARGET}-readelf"',g;' \ @@ -450,11 +455,6 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then rm -rf "${CT_SYSROOT_DIR}/"{,usr/}{man,info} rm -rf "${CT_DEBUG_INSTALL_DIR}/"{,usr/}{man,info} fi - - CT_DoLog DEBUG "Removing access to the build system tools" - find "${CT_PREFIX_DIR}/bin" -name "${CT_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG - find "${CT_PREFIX_DIR}/bin" -name "${CT_UNIQ_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG - find "${CT_PREFIX_DIR}/bin" -name "${CT_HOST}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG fi CT_DoEnd INFO |