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(-)
1 # Makefile for the scripts/ sub-directory
3 # Here, we can update the config.* scripts.
4 # If we're in CT_LIB_DIR, then CT_LIB_DIR == CT_TOP_DIR, and we can update those
5 # scripts for later inclusion mainline. If CT_LIB_DIR != CT_TOP_DIR, then those
6 # scripts are downloaded only for use in CT_TOP_DIR.
8 # ----------------------------------------------------------
12 @echo ' updatetools - Update the config tools'
14 # ----------------------------------------------------------
15 # Where to get tools from, and where to store them into
16 # The tools are: config.guess and config.sub
18 CONFIG_SUB_SRC="http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD"
19 CONFIG_SUB_DEST=scripts/config.sub
20 CONFIG_GUESS_SRC="http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD"
21 CONFIG_GUESS_DEST=scripts/config.guess
24 updatetools: $(CONFIG_SUB_DEST) $(CONFIG_GUESS_DEST)
26 # ----------------------------------------------------------
27 # How to retrieve the tools
30 ifeq ($(strip $(V)),2)
36 $(SILENT)mkdir -p scripts
38 FROCE += $(CONFIG_SUB_DEST)
39 $(CONFIG_SUB_DEST): scripts
41 $(SILENT)wget $(wget_opt) -O $@ $(CONFIG_SUB_SRC)
42 $(SILENT)chmod u+rwx,go+rx-w $@
44 FORCE += $(CONFIG_GUESS_DEST)
45 $(CONFIG_GUESS_DEST): scripts
47 $(SILENT)wget $(wget_opt) -O $@ $(CONFIG_GUESS_SRC)
48 $(SILENT)chmod u+rwx,go+rx-w $@
50 # ----------------------------------------------------------
54 @$(ECHO) " CLEAN scripts"
55 $(SILENT)[ $(CT_TOP_DIR) = $(CT_LIB_DIR) ] || rm -rf $(CT_TOP_DIR)/scripts