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 We know that the kernel headers are in place. Don't try to install them.
3 diff -dur uClibc-0.9.28.1.orig/Makefile uClibc-0.9.28.1/Makefile
4 --- uClibc-0.9.28.1.orig/Makefile 2007-01-28 06:38:00.000000000 +0100
5 +++ uClibc-0.9.28.1/Makefile 2007-01-28 18:55:46.000000000 +0100
7 $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
8 $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
9 -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
10 - if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
11 - extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
13 - extra_exclude="" ; \
15 - tar -chf - include --exclude .svn --exclude CVS $$extra_exclude \
16 + extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
17 + tar -chf - include --exclude .svn --exclude CVS \
18 + --exclude include/linux \
19 + --exclude include/asm'*' \
20 | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX)
21 echo '/* Dont use _syscall#() macros; use the syscall() function */' > \
22 $(PREFIX)$(DEVEL_PREFIX)include/bits/syscalls.h