config/global/paths.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Aug 30 19:33:48 2009 +0200 (2009-08-30)
changeset 1497 1b90f0b34c80
parent 613 81f456c7bc68
child 1507 ec5314609c00
permissions -rw-r--r--
config: move down companion libraries sub-menu

Move the companion libraries sub-menu down the main menu.
That way, the user does not need to go back and forth in the menu
to change options set by the different components that select the
companion libraries (binutils, gcc, gdb).
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@85
     7
    prompt "Local tarballs directory"
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@265
    15
    prompt "Save new tarballs"
yann@265
    16
    default n
yann@265
    17
    depends on LOCAL_TARBALLS_DIR != ""
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
yann@610
    22
config WORK_DIR
yann@610
    23
    string
yann@610
    24
    prompt "Working directory"
yann@610
    25
    default "${CT_TOP_DIR}/targets"
yann@610
    26
    help
yann@610
    27
      Set this to the directory where all build actions will be done.
yann@610
    28
      
yann@610
    29
      The default is "${CT_TOP_DIR}/targets", and leaving this option
yann@610
    30
      empty will also use the default.
yann@610
    31
      
yann@610
    32
      You should not need to change that, except in one very peculiar
yann@610
    33
      setup:
yann@610
    34
       - your crosstool-NG source directory is on the network
yann@610
    35
       - you configured crosstool-NG with --local
yann@610
    36
      This kind of setup is a pain, as any action involving source file
yann@610
    37
      access would have to go through the wire. In this case, you should
yann@610
    38
      set CT_WORK_DIR to point to a path local to your machine, to avoid
yann@610
    39
      any network overhead.
yann@610
    40
      
yann@610
    41
      Do *NOT* change it if you don't know better.
yann@610
    42
yann@1
    43
config PREFIX_DIR
yann@1
    44
    string
yann@1
    45
    prompt "Prefix directory"
yann@613
    46
    default "${HOME}/x-tools/${CT_TARGET}"
yann@1
    47
    help
yann@1
    48
      This is the path the toolchain will run from.
yann@1
    49
yann@1
    50
config INSTALL_DIR
yann@1
    51
    string
yann@1
    52
#    prompt "Install directory"
yann@1
    53
    default "${CT_PREFIX_DIR}"
yann@1
    54
#    help
yann@610
    55
#      This is the path the toolchain will be installed into.
yann@1
    56
#      
yann@1
    57
#      Normally, you would set this to ${CT_PREFIX_DIR}, but if for some reasons
yann@1
    58
#      you can't write there, you can install somewhere else and have a third
yann@1
    59
#      person do the install for you.
yann@1
    60
#      The reason you might also want to install elsewhere is if you are going
yann@1
    61
#      to package your shinny new toolchain for distribution.
yann@1
    62
yann@1
    63
config CUSTOM_PATCH
yann@1
    64
    bool
yann@1
    65
    prompt "Use custom patch directory"
yann@1
    66
    default n
yann@1
    67
    help
yann@1
    68
      If you have custom patches that you want to be applied, say 'Y' here and
yann@1
    69
      enter the path directory below.
yann@1
    70
      
yann@1
    71
      Note that you must ensure that the patch directory is arranged the same
yann@1
    72
      way the official directory is.
yann@1
    73
yann@1
    74
config CUSTOM_PATCH_ONLY
yann@1
    75
    bool
yann@1
    76
    prompt "Only use custom patches"
yann@1
    77
    default n
yann@1
    78
    depends on CUSTOM_PATCH
yann@1
    79
    help
yann@197
    80
      Don't apply patches coming with crosstool-NG, only those patches available
yann@197
    81
      in the directory below.
yann@1
    82
      
yann@197
    83
      If you say 'N' here, then the patches provided with crosstool-NG will be
yann@197
    84
      applied first, and then your patches.
yann@1
    85
yann@1
    86
config CUSTOM_PATCH_DIR
yann@1
    87
    string
yann@1
    88
    prompt "Custom patch directory"
yann@1
    89
    default ""
yann@1
    90
    depends on CUSTOM_PATCH
yann@1
    91
    help
yann@1
    92
      Enter the custom patch directory here.
yann@1
    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
yann@174
   102
config INSTALL_DIR_RO
yann@174
   103
    bool
yann@174
   104
    prompt "Render the toolchain read-only"
yann@753
   105
    default y
yann@174
   106
    help
yann@174
   107
      Render the directory of the toolchain (and its sub-directories)
yann@174
   108
      read-only.
yann@174
   109
      
yann@174
   110
      Usefull for toolchains destined for production.