config/global/paths.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 03 23:40:22 2011 +0100 (2011-01-03)
changeset 2267 7af68e6083aa
parent 2060 51e4597b07fc
child 2284 7ede374110e5
permissions -rw-r--r--
libc-glibc: remove 2.3.6

This is an obsolete version which is no longer used by any sample (the only
user, the ia64 sample, has been removed).

It also makes the code path a bit complex, with twists just to accomodate
that version. Removing the version will make those twists go away, and
will ease commonalisation of glibc and eglibc in the future (hopefully!).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@445
     1
# Options related to paths and install
yann@1
     2
yann@1
     3
comment "Paths"
yann@1
     4
yann@85
     5
config LOCAL_TARBALLS_DIR
yann@1
     6
    string
yann@1865
     7
    prompt "Local tarballs directory" if ! BACKEND
yann@85
     8
    default ""
yann@1
     9
    help
yann@85
    10
      If you have previously downloaded the tarballs, enter the PATH where
yann@85
    11
      you stored them here.
yann@31
    12
yann@265
    13
config SAVE_TARBALLS
yann@265
    14
    bool
yann@1865
    15
    prompt "Save new tarballs" if ! BACKEND
yann@1865
    16
    depends on LOCAL_TARBALLS_DIR != "" || BACKEND
yann@1865
    17
    default y if BACKEND
yann@1865
    18
    default n if ! BACKEND
yann@265
    19
    help
yann@425
    20
      If you say 'y' here, new downloaded tarballs will be saved in the
yann@265
    21
      directory you entered above.
yann@265
    22
yann@610
    23
config WORK_DIR
yann@610
    24
    string
yann@1865
    25
    prompt "Working directory" if ! BACKEND
yann@2109
    26
    default "${CT_TOP_DIR}/.build"
yann@610
    27
    help
yann@610
    28
      Set this to the directory where all build actions will be done.
yann@610
    29
      
yann@610
    30
      The default is "${CT_TOP_DIR}/targets", and leaving this option
yann@610
    31
      empty will also use the default.
yann@610
    32
      
yann@610
    33
      You should not need to change that, except in one very peculiar
yann@610
    34
      setup:
yann@610
    35
       - your crosstool-NG source directory is on the network
yann@610
    36
       - you configured crosstool-NG with --local
yann@610
    37
      This kind of setup is a pain, as any action involving source file
yann@610
    38
      access would have to go through the wire. In this case, you should
yann@610
    39
      set CT_WORK_DIR to point to a path local to your machine, to avoid
yann@610
    40
      any network overhead.
yann@610
    41
      
yann@610
    42
      Do *NOT* change it if you don't know better.
yann@610
    43
yann@1
    44
config PREFIX_DIR
yann@1
    45
    string
yann@1865
    46
    prompt "Prefix directory" if ! BACKEND
yann@613
    47
    default "${HOME}/x-tools/${CT_TARGET}"
yann@1
    48
    help
yann@1
    49
      This is the path the toolchain will run from.
yann@1
    50
yann@1
    51
config INSTALL_DIR
yann@1
    52
    string
yann@1
    53
#    prompt "Install directory"
yann@1
    54
    default "${CT_PREFIX_DIR}"
yann@1
    55
#    help
yann@610
    56
#      This is the path the toolchain will be installed into.
yann@1
    57
#      
yann@1
    58
#      Normally, you would set this to ${CT_PREFIX_DIR}, but if for some reasons
yann@1
    59
#      you can't write there, you can install somewhere else and have a third
yann@1
    60
#      person do the install for you.
yann@1
    61
#      The reason you might also want to install elsewhere is if you are going
yann@1
    62
#      to package your shinny new toolchain for distribution.
yann@1
    63
yann@14
    64
config REMOVE_DOCS
yann@14
    65
    bool
yann@14
    66
    prompt "Remove documentation"
yann@753
    67
    default y
yann@14
    68
    help
yann@14
    69
      Remove the installed documentation (man and info pages).
yann@14
    70
      Gains around 8MiB for a uClibc-based, C and C++ compiler.
yann@14
    71
yann@174
    72
config INSTALL_DIR_RO
yann@174
    73
    bool
yann@174
    74
    prompt "Render the toolchain read-only"
yann@753
    75
    default y
yann@174
    76
    help
yann@174
    77
      Render the directory of the toolchain (and its sub-directories)
yann@174
    78
      read-only.
yann@174
    79
      
yann@174
    80
      Usefull for toolchains destined for production.
linux@2060
    81
linux@2060
    82
config STRIP_ALL_TOOLCHAIN_EXECUTABLES
linux@2060
    83
    bool
linux@2060
    84
    prompt "Strip all toolchain executables"
linux@2060
    85
    default y
linux@2060
    86
    help
linux@2060
    87
      All build host executables contain a lot of unnecessary info.
linux@2060
    88
      By stripping all executables it slightly speeds up the compilation
linux@2060
    89
      of large projects.
linux@2060
    90
      NOTE: It does NOT strip the target libraries, only HOST executables