scripts/crosstool.sh
changeset 755 c2212f59e1cf
parent 754 b13657cd64b3
child 762 9d85c3a08033
     1.1 --- a/scripts/crosstool.sh	Fri Aug 01 09:23:58 2008 +0000
     1.2 +++ b/scripts/crosstool.sh	Mon Aug 04 08:44:54 2008 +0000
     1.3 @@ -427,9 +427,9 @@
     1.4  
     1.5      # Install the /populator/
     1.6      CT_DoLog EXTRA "Installing the populate helper"
     1.7 -    sed -r -e 's,@@CT_READELF@@,'"${CT_PREFIX_DIR}/bin/${CT_TARGET}-readelf"',g;'   \
     1.8 -           -e 's,@@CT_SYSROOT_DIR@@,'"${CT_SYSROOT_DIR}"',g;'                       \
     1.9 -           "${CT_LIB_DIR}/tools/populate.in" >"${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate"
    1.10 +    sed -r -e 's|@@CT_TARGET@@|'"${CT_TARGET}"'|g;' \
    1.11 +        "${CT_LIB_DIR}/tools/populate.in"           \
    1.12 +        >"${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate"
    1.13      chmod 755 "${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate"
    1.14  
    1.15      # Create the aliases to the target tools
    1.16 @@ -438,15 +438,13 @@
    1.17      for t in "${CT_TARGET}-"*; do
    1.18          if [ -n "${CT_TARGET_ALIAS}" ]; then
    1.19              _t=$(echo "$t" |sed -r -e 's/^'"${CT_TARGET}"'-/'"${CT_TARGET_ALIAS}"'-/;')
    1.20 -            CT_DoLog DEBUG "Linking '${_t}' -> '${t}'"
    1.21 -            ln -sv "${t}" "${_t}" 2>&1 |CT_DoLog ALL
    1.22 +            ln -sv "${t}" "${_t}" 2>&1
    1.23          fi
    1.24          if [ -n "${CT_TARGET_ALIAS_SED_EXPR}" ]; then
    1.25              _t=$(echo "$t" |sed -r -e "${CT_TARGET_ALIAS_SED_EXPR}")
    1.26 -            CT_DoLog DEBUG "Linking '${_t}' -> '${t}'"
    1.27 -            ln -sv "${t}" "${_t}" 2>&1 |CT_DoLog ALL
    1.28 +            ln -sv "${t}" "${_t}" 2>&1
    1.29          fi
    1.30 -    done
    1.31 +    done |CT_DoLog ALL
    1.32      CT_Popd
    1.33      CT_EndStep
    1.34