summaryrefslogtreecommitdiff
path: root/scripts/build/tools
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-07-14 21:57:57 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-07-14 21:57:57 (GMT)
commit6e1b1ccb7d5993346292b7ecd4293ef1719f683c (patch)
tree0f7221bd11ed24f37ad92a3952261e50bece2973 /scripts/build/tools
parente377769fb19a01b03e0205960b74f4b2b87793b1 (diff)
Use CT_DoExecLog when building tools and debug utilities.
/trunk/scripts/build/tools/200-sstrip.sh | 12 6 6 0 ++++++------ /trunk/scripts/build/debug/100-dmalloc.sh | 10 5 5 0 +++++----- /trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 +++-- /trunk/scripts/build/debug/300-gdb.sh | 30 17 13 0 +++++++++++++++++------------- /trunk/scripts/build/debug/500-strace.sh | 7 4 3 0 ++++--- /trunk/scripts/build/debug/200-duma.sh | 5 3 2 0 +++-- 6 files changed, 38 insertions(+), 31 deletions(-)
Diffstat (limited to 'scripts/build/tools')
-rw-r--r--scripts/build/tools/200-sstrip.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build/tools/200-sstrip.sh b/scripts/build/tools/200-sstrip.sh
index 5be5b40..46271db 100644
--- a/scripts/build/tools/200-sstrip.sh
+++ b/scripts/build/tools/200-sstrip.sh
@@ -21,10 +21,10 @@ case "${CT_SSTRIP_FROM}" in
( cd "${CT_SRC_DIR}/ELFkickers-${CT_SSTRIP_ELFKICKERS_VERSION}/sstrip"; tar cf - . ) |tar xf -
CT_DoLog EXTRA "Building sstrip"
- make CC="${CT_CC_NATIVE}" sstrip 2>&1 |CT_DoLog ALL
+ CT_DoExecLog ALL make CC="${CT_CC_NATIVE}" sstrip
CT_DoLog EXTRA "Installing sstrip"
- install -m 755 sstrip "${CT_PREFIX_DIR}/bin/${CT_TARGET}-sstrip" 2>&1 |CT_DoLog ALL
+ CT_DoExecLog ALL install -m 755 sstrip "${CT_PREFIX_DIR}/bin/${CT_TARGET}-sstrip"
CT_EndStep
}
@@ -60,14 +60,14 @@ case "${CT_SSTRIP_FROM}" in
mv -v sstrip.c?* sstrip.c 2>&1 |CT_DoLog DEBUG
if [ "${CT_SAVE_TARBALLS}" = "y" ]; then
CT_DoLog EXTRA "Saving 'sstrip.c' to local storage"
- cp -v sstrip.c "${CT_LOCAL_TARBALLS_DIR}" 2>&1 |CT_DoLog DEBUG
+ CT_DoExecLog ALL cp -v sstrip.c "${CT_LOCAL_TARBALLS_DIR}"
fi
CT_Popd
}
do_tools_sstrip_extract() {
# We'll let buildroot guys take care of sstrip maintenance and patching.
mkdir -p "${CT_SRC_DIR}/sstrip"
- cp -v "${CT_TARBALLS_DIR}/sstrip.c" "${CT_SRC_DIR}/sstrip" |CT_DoLog ALL
+ CT_DoExecLog ALL cp -v "${CT_TARBALLS_DIR}/sstrip.c" "${CT_SRC_DIR}/sstrip"
}
do_tools_sstrip_build() {
CT_DoStep INFO "Installing sstrip"
@@ -75,10 +75,10 @@ case "${CT_SSTRIP_FROM}" in
cd "${CT_BUILD_DIR}/build-sstrip"
CT_DoLog EXTRA "Building sstrip"
- ${CT_CC_NATIVE} -Wall -o sstrip "${CT_SRC_DIR}/sstrip/sstrip.c" 2>&1 |CT_DoLog ALL
+ CT_DoExecLog ALL ${CT_CC_NATIVE} -Wall -o sstrip "${CT_SRC_DIR}/sstrip/sstrip.c"
CT_DoLog EXTRA "Installing sstrip"
- install -m 755 sstrip "${CT_PREFIX_DIR}/bin/${CT_TARGET}-sstrip" 2>&1 |CT_DoLog ALL
+ CT_DoExecLog ALL install -m 755 sstrip "${CT_PREFIX_DIR}/bin/${CT_TARGET}-sstrip"
CT_EndStep
}