From 6822fae02e4f32d6cd8475fb79fd10178962c53b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 3 Mar 2009 17:41:59 +0000 Subject: 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(-) --- config/toolchain.in | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'config/toolchain.in') diff --git a/config/toolchain.in b/config/toolchain.in index 61d939dd..6a97e4cf 100644 --- a/config/toolchain.in +++ b/config/toolchain.in @@ -12,6 +12,23 @@ config USE_SYSROOT You definitely want to say 'Y' here. Yes you do. I know you do. Say 'Y'. +config SYSROOT_DIR_PREFIX + string + prompt "sysroot prefix dir (READ HELP)" + depends on USE_SYSROOT + depends on EXPERIMENTAL + default "" + help + * + * Unless you realy know you need that, leave it empty! + * + + This string will be interpreted as a directory component to be added + to the sysroot path, just before the actual sysroot directory. + + In fact, the sysroot path is constructed as: + ${CT_PREFIX_DIR}/${CT_TARGET}/${CT_SYSROOT_DIR_PREFIX}/sys-root + config SHARED_LIBS bool prompt "Build shared libraries" -- cgit v1.2.3