summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorBart van der Meulen <bartvdrmeulen@gmail.com>2009-06-26 17:09:22 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-06-26 17:09:22 (GMT)
commitc8c70933f0787cf11ae14bedec9ccba3bfaf1167 (patch)
tree2ffce162dc1a711a9e3c205493b8cf359a6d3248 /scripts/build
parent936286668b89d00b9ff87424c21f28f90e7b4e5f (diff)
Don't use prefix/bin to install the buildtools.
Collect the build tools in a seperate folder in order to prevent accidental calling our newly build tools. Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/internals.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh
index 8a887bf..a920c50 100644
--- a/scripts/build/internals.sh
+++ b/scripts/build/internals.sh
@@ -9,9 +9,7 @@ do_finish() {
CT_DoStep INFO "Cleaning-up the toolchain's directory"
CT_DoLog EXTRA "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"
+ CT_DoExecLog DEBUG rm -rf "${CT_PREFIX_DIR}/buildtools"
if [ "${CT_BARE_METAL}" != "y" ]; then
CT_DoLog EXTRA "Installing the populate helper"