summaryrefslogtreecommitdiff
path: root/scripts/crosstool.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-07 07:52:09 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-07 07:52:09 (GMT)
commite348d316b73b02fb2e6fc9b83ba2613f8adb36c1 (patch)
tree3b56c00703cf3d388320b4c5d790384a4fcd3d37 /scripts/crosstool.sh
parentce57cdb096390cf4d899e6339bba35e0af6253d7 (diff)
Beautify final output.
/trunk/scripts/crosstool.sh | 7 4 3 0 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
Diffstat (limited to 'scripts/crosstool.sh')
-rwxr-xr-xscripts/crosstool.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh
index aa2105f..dcbbfd9 100755
--- a/scripts/crosstool.sh
+++ b/scripts/crosstool.sh
@@ -34,7 +34,7 @@ CT_TestOrAbort "Configuration file not found. Please create one." -f "${CT_TOP_D
CT_DoLog INFO "Build started ${CT_STAR_DATE_HUMAN}"
# renice oursleves
-renice ${CT_NICE} $$ |CT_DoLog DEBUG
+CT_DoExecLog DEBUG renice ${CT_NICE} $$
CT_DoStep DEBUG "Dumping crosstool-NG configuration"
cat "${CT_TOP_DIR}/.config" |egrep '^(# |)CT_' |CT_DoLog DEBUG
@@ -419,6 +419,8 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then
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_UNIQ_BUILD}-"'*' -exec rm -fv {} \; |CT_DoLog DEBUG
@@ -433,7 +435,7 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then
chmod 755 "${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate"
# Create the aliases to the target tools
- CT_DoStep EXTRA "Creating toolchain aliases"
+ CT_DoLog EXTRA "Creating toolchain aliases"
CT_Pushd "${CT_PREFIX_DIR}/bin"
for t in "${CT_TARGET}-"*; do
if [ -n "${CT_TARGET_ALIAS}" ]; then
@@ -446,7 +448,6 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then
fi
done |CT_DoLog ALL
CT_Popd
- CT_EndStep
# Remove the generated documentation files
if [ "${CT_REMOVE_DOCS}" = "y" ]; then