scripts/crosstool-NG.sh
changeset 1149 df32ef8825f9
parent 1143 eee9e8de51e3
     1.1 --- a/scripts/crosstool-NG.sh	Sun Jan 18 17:45:10 2009 +0000
     1.2 +++ b/scripts/crosstool-NG.sh	Tue Jan 20 20:37:43 2009 +0000
     1.3 @@ -456,44 +456,6 @@
     1.4          fi
     1.5          prev_step="${step}"
     1.6      done
     1.7 -
     1.8 -    CT_DoLog INFO "================================================================="
     1.9 -
    1.10 -    CT_DoLog DEBUG "Removing access to the build system tools"
    1.11 -    find "${CT_PREFIX_DIR}/bin" -name "${CT_BUILD}-"'*' -exec rm -fv {} \; |CT_DoLog DEBUG
    1.12 -    find "${CT_PREFIX_DIR}/bin" -name "${CT_HOST}-"'*' -exec rm -fv {} \; |CT_DoLog DEBUG
    1.13 -    CT_DoExecLog DEBUG rm -fv "${CT_PREFIX_DIR}/bin/makeinfo"
    1.14 -
    1.15 -    if [ "${CT_BARE_METAL}" != "y" ]; then
    1.16 -        CT_DoLog EXTRA "Installing the populate helper"
    1.17 -        sed -r -e 's|@@CT_TARGET@@|'"${CT_TARGET}"'|g;' \
    1.18 -            "${CT_LIB_DIR}/scripts/populate.in"           \
    1.19 -            >"${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate"
    1.20 -        CT_DoExecLog ALL chmod 755 "${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate"
    1.21 -    fi
    1.22 -
    1.23 -    # Create the aliases to the target tools
    1.24 -    CT_DoLog EXTRA "Creating toolchain aliases"
    1.25 -    CT_Pushd "${CT_PREFIX_DIR}/bin"
    1.26 -    for t in "${CT_TARGET}-"*; do
    1.27 -        if [ -n "${CT_TARGET_ALIAS}" ]; then
    1.28 -            _t=$(echo "$t" |sed -r -e 's/^'"${CT_TARGET}"'-/'"${CT_TARGET_ALIAS}"'-/;')
    1.29 -            CT_DoExecLog ALL ln -sv "${t}" "${_t}"
    1.30 -        fi
    1.31 -        if [ -n "${CT_TARGET_ALIAS_SED_EXPR}" ]; then
    1.32 -            _t=$(echo "$t" |sed -r -e "${CT_TARGET_ALIAS_SED_EXPR}")
    1.33 -            CT_DoExecLog ALL ln -sv "${t}" "${_t}"
    1.34 -        fi
    1.35 -    done
    1.36 -    CT_Popd
    1.37 -
    1.38 -    # Remove the generated documentation files
    1.39 -    if [ "${CT_REMOVE_DOCS}" = "y" ]; then
    1.40 -    	CT_DoLog INFO "Removing installed documentation"
    1.41 -        CT_DoForceRmdir "${CT_PREFIX_DIR}/"{,usr/}{man,info}
    1.42 -        CT_DoForceRmdir "${CT_SYSROOT_DIR}/"{,usr/}{man,info}
    1.43 -        CT_DoForceRmdir "${CT_DEBUG_INSTALL_DIR}/"{,usr/}{man,info}
    1.44 -    fi
    1.45  fi
    1.46  
    1.47  CT_DoEnd INFO