config/global/paths.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Jul 28 23:55:10 2010 +0200 (2010-07-28)
changeset 2043 efb1058baa31
parent 1510 0d601781661d
child 2060 51e4597b07fc
permissions -rw-r--r--
cc/gcc: add option to enable/disable libmudflap

For some scenarii, libmudflap is not very usefull
or can break the build. Make in an optioon that
defaults to 'N' to be on the safe side.

For the core gcc-s, there is absolutely no need
to build libmidflap.

Idea from: Bernhard Pfund <bernhard@chapter7.ch>
     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}/targets"
    27     help
    28       Set this to the directory where all build actions will be done.
    29       
    30       The default is "${CT_TOP_DIR}/targets", 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 REMOVE_DOCS
    65     bool
    66     prompt "Remove documentation"
    67     default y
    68     help
    69       Remove the installed documentation (man and info pages).
    70       Gains around 8MiB for a uClibc-based, C and C++ compiler.
    71 
    72 config INSTALL_DIR_RO
    73     bool
    74     prompt "Render the toolchain read-only"
    75     default y
    76     help
    77       Render the directory of the toolchain (and its sub-directories)
    78       read-only.
    79       
    80       Usefull for toolchains destined for production.