diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-20 20:37:43 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-20 20:37:43 +0000 |
commit | 1115b43f868e1802da67a193a84428af5b958607 (patch) | |
tree | 3dc46263566bff6f16ec0c71be7cf2b1331a807e /scripts/crosstool-NG.sh | |
parent | 0fc2762de75ab7c6ef91654dd7883cbbeef7dc92 (diff) | |
download | crosstool-ng-1115b43f868e1802da67a193a84428af5b958607.tar.gz crosstool-ng-1115b43f868e1802da67a193a84428af5b958607.tar.bz2 crosstool-ng-1115b43f868e1802da67a193a84428af5b958607.zip |
On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
... I added a step after
"debug" called "finish", and moved the code in crosstool.sh
after the loop that processes the steps from crosstool.sh
into a do_finish function in functions. Thus, it is now
possible to restart after the "debug" step to re-do the
final few things (clean and compress).
/trunk/scripts/crosstool-NG.sh | 38 0 38 0 --------------------------------------
/trunk/scripts/functions | 42 42 0 0 ++++++++++++++++++++++++++++++++++++++++++
/trunk/steps.mk | 3 2 1 0 ++-
3 files changed, 44 insertions(+), 39 deletions(-)
Diffstat (limited to 'scripts/crosstool-NG.sh')
-rwxr-xr-x | scripts/crosstool-NG.sh | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/scripts/crosstool-NG.sh b/scripts/crosstool-NG.sh index dd1156f3..277f75c9 100755 --- a/scripts/crosstool-NG.sh +++ b/scripts/crosstool-NG.sh @@ -456,44 +456,6 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then fi prev_step="${step}" done - - CT_DoLog INFO "=================================================================" - - 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_HOST}-"'*' -exec rm -fv {} \; |CT_DoLog DEBUG - CT_DoExecLog DEBUG rm -fv "${CT_PREFIX_DIR}/bin/makeinfo" - - if [ "${CT_BARE_METAL}" != "y" ]; then - CT_DoLog EXTRA "Installing the populate helper" - sed -r -e 's|@@CT_TARGET@@|'"${CT_TARGET}"'|g;' \ - "${CT_LIB_DIR}/scripts/populate.in" \ - >"${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate" - CT_DoExecLog ALL chmod 755 "${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate" - fi - - # Create the aliases to the target tools - CT_DoLog EXTRA "Creating toolchain aliases" - CT_Pushd "${CT_PREFIX_DIR}/bin" - for t in "${CT_TARGET}-"*; do - if [ -n "${CT_TARGET_ALIAS}" ]; then - _t=$(echo "$t" |sed -r -e 's/^'"${CT_TARGET}"'-/'"${CT_TARGET_ALIAS}"'-/;') - CT_DoExecLog ALL ln -sv "${t}" "${_t}" - fi - if [ -n "${CT_TARGET_ALIAS_SED_EXPR}" ]; then - _t=$(echo "$t" |sed -r -e "${CT_TARGET_ALIAS_SED_EXPR}") - CT_DoExecLog ALL ln -sv "${t}" "${_t}" - fi - done - CT_Popd - - # Remove the generated documentation files - if [ "${CT_REMOVE_DOCS}" = "y" ]; then - CT_DoLog INFO "Removing installed documentation" - CT_DoForceRmdir "${CT_PREFIX_DIR}/"{,usr/}{man,info} - CT_DoForceRmdir "${CT_SYSROOT_DIR}/"{,usr/}{man,info} - CT_DoForceRmdir "${CT_DEBUG_INSTALL_DIR}/"{,usr/}{man,info} - fi fi CT_DoEnd INFO |