summaryrefslogtreecommitdiff
path: root/scripts/build/debug/200-duma.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-03 17:41:59 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-03 17:41:59 (GMT)
commit6822fae02e4f32d6cd8475fb79fd10178962c53b (patch)
treeef8a3271d8080f3395c63040fdf6b84795a25ac0 /scripts/build/debug/200-duma.sh
parent4462fcd9951eeaf4e3daeea1e8ee61cf01b2d0ac (diff)
Allow user to add a directory component in the sys-root path.
Rename CT_DEBUG_INSTALL_DIR to CT_DEBUGROOT_DIR (to match CT_SYSROOT_DIR). As a side effect, fix creating lib64->lib symlinks. /trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 +- /trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 6 3 3 0 +++--- /trunk/scripts/build/debug/500-strace.sh | 2 1 1 0 +- /trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +++--- /trunk/scripts/crosstool-NG.sh.in | 16 7 9 0 +++++++--------- /trunk/scripts/functions | 2 1 1 0 +- /trunk/config/toolchain.in | 17 17 0 0 +++++++++++++++++ 8 files changed, 34 insertions(+), 19 deletions(-)
Diffstat (limited to 'scripts/build/debug/200-duma.sh')
-rw-r--r--scripts/build/debug/200-duma.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/debug/200-duma.sh b/scripts/build/debug/200-duma.sh
index b8ef5a6..a2d6a54 100644
--- a/scripts/build/debug/200-duma.sh
+++ b/scripts/build/debug/200-duma.sh
@@ -47,12 +47,12 @@ do_debug_duma_build() {
CT_DoLog EXTRA "Installing shared library link"
ln -vsf ${duma_so} "${CT_SYSROOT_DIR}/usr/lib/libduma.so" 2>&1 |CT_DoLog ALL
CT_DoLog EXTRA "Installing wrapper script"
- mkdir -p "${CT_DEBUG_INSTALL_DIR}/usr/bin"
+ mkdir -p "${CT_DEBUGROOT_DIR}/usr/bin"
# Install a simpler, smaller, safer wrapper than the one provided by D.U.M.A.
sed -r -e 's:^LIBDUMA_SO=.*:LIBDUMA_SO=/usr/lib/'"${duma_so}"':;' \
"${CT_LIB_DIR}/scripts/build/debug/duma.in" \
- >"${CT_DEBUG_INSTALL_DIR}/usr/bin/duma"
- chmod 755 "${CT_DEBUG_INSTALL_DIR}/usr/bin/duma"
+ >"${CT_DEBUGROOT_DIR}/usr/bin/duma"
+ chmod 755 "${CT_DEBUGROOT_DIR}/usr/bin/duma"
fi
CT_Popd