config/global/paths.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Apr 30 23:13:12 2011 +0200 (2011-04-30)
changeset 2424 28092887b486
parent 2284 7ede374110e5
child 2484 d1a8c2ae7946
permissions -rw-r--r--
scripts: fix installation

Changeset e013ddebc063 forgot to install the samples.mk file.

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