config/global/paths.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 26 20:05:19 2012 +0100 (2012-12-26)
changeset 3150 1d6fd9bde73c
parent 3075 aadd4647dd91
permissions -rw-r--r--
all: unmark experimental features

It's been some time now we've had those features, so unmark them
being experimental.

It does not mean everything is perfect, but may gather some more
testing of those features.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.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@265
    18
    help
yann@425
    19
      If you say 'y' here, new downloaded tarballs will be saved in the
yann@265
    20
      directory you entered above.
yann@265
    21
david@3075
    22
config CUSTOM_LOCATION_ROOT_DIR
david@3075
    23
    string
yann@3150
    24
    prompt "Directory containing custom source components"
david@3075
    25
    depends on EXPERIMENTAL
david@3075
    26
    help
david@3075
    27
      This is the path CT-NG will attempt to use as a root for locating
david@3075
    28
      local copies of source components (CUSTOM_LOCATION_ROOT_DIR/component)
david@3075
    29
      unless a component declares its own specific custom location.
david@3075
    30
yann@610
    31
config WORK_DIR
yann@610
    32
    string
yann@1865
    33
    prompt "Working directory" if ! BACKEND
yann@2109
    34
    default "${CT_TOP_DIR}/.build"
yann@610
    35
    help
yann@610
    36
      Set this to the directory where all build actions will be done.
yann@610
    37
      
yann@2419
    38
      The default is "${CT_TOP_DIR}/.build", and leaving this option
yann@610
    39
      empty will also use the default.
yann@610
    40
      
yann@610
    41
      You should not need to change that, except in one very peculiar
yann@610
    42
      setup:
yann@610
    43
       - your crosstool-NG source directory is on the network
yann@610
    44
       - you configured crosstool-NG with --local
yann@610
    45
      This kind of setup is a pain, as any action involving source file
yann@610
    46
      access would have to go through the wire. In this case, you should
yann@610
    47
      set CT_WORK_DIR to point to a path local to your machine, to avoid
yann@610
    48
      any network overhead.
yann@610
    49
      
yann@610
    50
      Do *NOT* change it if you don't know better.
yann@610
    51
yann@1
    52
config PREFIX_DIR
yann@1
    53
    string
yann@1865
    54
    prompt "Prefix directory" if ! BACKEND
yann@613
    55
    default "${HOME}/x-tools/${CT_TARGET}"
yann@1
    56
    help
yann@1
    57
      This is the path the toolchain will run from.
yann@1
    58
yann@1
    59
config INSTALL_DIR
yann@1
    60
    string
yann@1
    61
#    prompt "Install directory"
yann@1
    62
    default "${CT_PREFIX_DIR}"
yann@1
    63
#    help
yann@610
    64
#      This is the path the toolchain will be installed into.
yann@1
    65
#      
yann@1
    66
#      Normally, you would set this to ${CT_PREFIX_DIR}, but if for some reasons
yann@1
    67
#      you can't write there, you can install somewhere else and have a third
yann@1
    68
#      person do the install for you.
yann@1
    69
#      The reason you might also want to install elsewhere is if you are going
yann@1
    70
#      to package your shinny new toolchain for distribution.
yann@1
    71
yann@2284
    72
config RM_RF_PREFIX_DIR
yann@2284
    73
    bool
yann@2284
    74
    prompt "|  Remove the prefix dir prior to building"
yann@2284
    75
    default y
yann@2284
    76
    depends on !BACKEND
yann@2284
    77
    help
yann@2284
    78
      If you say 'y' here, then PREFIX_DIR (above) will be eradicated
yann@2284
    79
      prior to the toolchain is built.
yann@2284
    80
      
antony@2564
    81
      This can be useful when you are trying different settings (due
yann@2284
    82
      to build failures or feature tests). In this case, to avoid using
yann@2284
    83
      a potentially broken previous toolchain, the install location is
yann@2284
    84
      removed, to start afresh.
yann@2284
    85
      
antony@2564
    86
      On the other hand, if you are building a final toolchain, and install
yann@2284
    87
      it into a directory with pre-install, unrelated programs, it would be
yann@2284
    88
      damageable to remove that directory. In this case, you may want to
yann@2284
    89
      say 'n' here.
yann@2284
    90
      
yann@2284
    91
      Note that when acting as a backend, this option is not available, and
yann@2284
    92
      is forced to 'n'.
yann@2284
    93
yann@14
    94
config REMOVE_DOCS
yann@14
    95
    bool
yann@14
    96
    prompt "Remove documentation"
yann@753
    97
    default y
yann@14
    98
    help
yann@14
    99
      Remove the installed documentation (man and info pages).
yann@14
   100
      Gains around 8MiB for a uClibc-based, C and C++ compiler.
yann@14
   101
michael@2765
   102
config BUILD_MANUALS
michael@2765
   103
    bool
michael@2765
   104
    prompt "Build the manuals"
michael@2765
   105
    depends on ! REMOVE_DOCS
michael@2765
   106
    help
michael@2765
   107
      Build the PDF and HTML manuals for the main components such as
michael@2765
   108
      binutils, GCC, GDB, and the C library.
michael@2765
   109
yann@174
   110
config INSTALL_DIR_RO
yann@174
   111
    bool
yann@174
   112
    prompt "Render the toolchain read-only"
yann@753
   113
    default y
yann@174
   114
    help
yann@174
   115
      Render the directory of the toolchain (and its sub-directories)
yann@174
   116
      read-only.
yann@174
   117
      
antony@2564
   118
      Useful for toolchains destined for production.
linux@2060
   119
linux@2060
   120
config STRIP_ALL_TOOLCHAIN_EXECUTABLES
linux@2060
   121
    bool
linux@2060
   122
    prompt "Strip all toolchain executables"
linux@2060
   123
    default y
linux@2060
   124
    help
linux@2060
   125
      All build host executables contain a lot of unnecessary info.
linux@2060
   126
      By stripping all executables it slightly speeds up the compilation
linux@2060
   127
      of large projects.
linux@2060
   128
      NOTE: It does NOT strip the target libraries, only HOST executables