config/global/paths.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 24 16:19:45 2008 +0000 (2008-06-24)
changeset 610 254083a796a8
parent 446 d205527c5e01
child 613 81f456c7bc68
permissions -rw-r--r--
Allow to store working files outside the build tree (eg. incase the working tree is on the network).

/trunk/scripts/crosstool.sh | 9 5 4 0 +++++----
/trunk/config/global/paths.in | 23 22 1 0 ++++++++++++++++++++++-
2 files changed, 27 insertions(+), 5 deletions(-)
     1 # Options related to paths and install
     2 
     3 comment "Paths"
     4 
     5 config LOCAL_TARBALLS_DIR
     6     string
     7     prompt "Local tarballs directory"
     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"
    16     default n
    17     depends on LOCAL_TARBALLS_DIR != ""
    18     help
    19       If you say 'y' here, new downloaded tarballs will be saved in the
    20       directory you entered above.
    21 
    22 config WORK_DIR
    23     string
    24     prompt "Working directory"
    25     default "${CT_TOP_DIR}/targets"
    26     help
    27       Set this to the directory where all build actions will be done.
    28       
    29       The default is "${CT_TOP_DIR}/targets", and leaving this option
    30       empty will also use the default.
    31       
    32       You should not need to change that, except in one very peculiar
    33       setup:
    34        - your crosstool-NG source directory is on the network
    35        - you configured crosstool-NG with --local
    36       This kind of setup is a pain, as any action involving source file
    37       access would have to go through the wire. In this case, you should
    38       set CT_WORK_DIR to point to a path local to your machine, to avoid
    39       any network overhead.
    40       
    41       Do *NOT* change it if you don't know better.
    42 
    43 config PREFIX_DIR
    44     string
    45     prompt "Prefix directory"
    46     default "${HOME}/${CT_TARGET}"
    47     help
    48       This is the path the toolchain will run from.
    49 
    50 config INSTALL_DIR
    51     string
    52 #    prompt "Install directory"
    53     default "${CT_PREFIX_DIR}"
    54 #    help
    55 #      This is the path the toolchain will be installed into.
    56 #      
    57 #      Normally, you would set this to ${CT_PREFIX_DIR}, but if for some reasons
    58 #      you can't write there, you can install somewhere else and have a third
    59 #      person do the install for you.
    60 #      The reason you might also want to install elsewhere is if you are going
    61 #      to package your shinny new toolchain for distribution.
    62 
    63 config CUSTOM_PATCH
    64     bool
    65     prompt "Use custom patch directory"
    66     default n
    67     help
    68       If you have custom patches that you want to be applied, say 'Y' here and
    69       enter the path directory below.
    70       
    71       Note that you must ensure that the patch directory is arranged the same
    72       way the official directory is.
    73 
    74 config CUSTOM_PATCH_ONLY
    75     bool
    76     prompt "Only use custom patches"
    77     default n
    78     depends on CUSTOM_PATCH
    79     help
    80       Don't apply patches coming with crosstool-NG, only those patches available
    81       in the directory below.
    82       
    83       If you say 'N' here, then the patches provided with crosstool-NG will be
    84       applied first, and then your patches.
    85 
    86 config CUSTOM_PATCH_DIR
    87     string
    88     prompt "Custom patch directory"
    89     default ""
    90     depends on CUSTOM_PATCH
    91     help
    92       Enter the custom patch directory here.
    93 
    94 config REMOVE_DOCS
    95     bool
    96     prompt "Remove documentation"
    97     default n
    98     help
    99       Remove the installed documentation (man and info pages).
   100       Gains around 8MiB for a uClibc-based, C and C++ compiler.
   101 
   102 config INSTALL_DIR_RO
   103     bool
   104     prompt "Render the toolchain read-only"
   105     default n
   106     help
   107       Render the directory of the toolchain (and its sub-directories)
   108       read-only.
   109       
   110       Usefull for toolchains destined for production.