config/toolchain.in
changeset 2280 3d480d12124e
parent 2227 5158aa602e58
child 2281 1333e4ac89f0
     1.1 --- a/config/toolchain.in	Wed Dec 22 00:34:56 2010 +0100
     1.2 +++ b/config/toolchain.in	Tue Jan 25 21:59:03 2011 +0100
     1.3 @@ -8,10 +8,23 @@
     1.4      default y
     1.5      help
     1.6        Use the 'shinny new' sysroot feature of gcc: libraries split between
     1.7 -      prefix/target/sys-root/lib and prefix/target/sys-root/usr/lib
     1.8 +      prefix/target/sysroot/lib and prefix/target/sysroot/usr/lib
     1.9        
    1.10        You definitely want to say 'Y' here. Yes you do. I know you do. Say 'Y'.
    1.11  
    1.12 +config SYSROOT_NAME
    1.13 +    string
    1.14 +    prompt "sysroot directory name"
    1.15 +    depends on USE_SYSROOT
    1.16 +    default "sysroot"
    1.17 +    help
    1.18 +      Enter the base name of the sysroot directory. Usually, this simply
    1.19 +      is 'sysroot' (the default) or 'sys-root'.
    1.20 +      
    1.21 +      You are free to enter anything here, except for spaces, and '/'
    1.22 +      (see SYSROOT_DIR_PREFIX, below). If you leave this empy, then the
    1.23 +      default 'sysroot' is used.
    1.24 +
    1.25  config SYSROOT_DIR_PREFIX
    1.26      string
    1.27      prompt "sysroot prefix dir (READ HELP)" if ! BACKEND
    1.28 @@ -26,7 +39,7 @@
    1.29        to the sysroot path, just before the actual sysroot directory.
    1.30        
    1.31        In fact, the sysroot path is constructed as:
    1.32 -        ${CT_PREFIX_DIR}/${CT_TARGET}/${CT_SYSROOT_DIR_PREFIX}/sys-root
    1.33 +        ${CT_PREFIX_DIR}/${CT_TARGET}/${CT_SYSROOT_DIR_PREFIX}/${CT_SYSROOT_NAME}
    1.34  
    1.35  config STATIC_TOOLCHAIN
    1.36      bool