config/global/extract.in
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Tue May 31 16:27:39 2011 +0200 (2011-05-31)
changeset 2484 d1a8c2ae7946
parent 2225 e48654bf7e49
child 2564 5d4e91c0343e
permissions -rw-r--r--
kconfig: remove useless 'default n'

kconfig bools are disabled by default, so specifying 'default n' is useless and
noisy. This patch removes all occurrences of 'default n'.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
     1 # Options specific to extracting packages
     2 
     3 comment "Extracting"
     4 
     5 config FORCE_EXTRACT
     6     bool
     7     prompt "Force extractions"
     8     help
     9       Force extraction of already exctracted tarballs.
    10       
    11       Usefull if you suspect a previous extract did not complete (eg. broken
    12       tarball), or you added a new set of patches for this component.
    13 
    14 config OVERIDE_CONFIG_GUESS_SUB
    15     bool
    16     prompt "Override config.{guess,sub}"
    17     default y
    18     help
    19       Override tools' versions of config.guess and config.sub with the ones
    20       from crosstool-NG. This means that all instances of config.guess and
    21       config.sub in gcc, binutils, glibc, etc... will be replaced.
    22 
    23       Most of the time, the versions of those scripts found in packages are old
    24       versions, thus lacking some target definitions. This is the case for
    25       uClibc-based tuples in old versions of gcc and gdb, for example.
    26 
    27       Also, doing so will guarantee that all components have the same tuples
    28       definitions for your target, and not diverging ones.
    29 
    30       You can update the ones provided with crosstool-NG by first running:
    31         ct-ng updatetools
    32       in the directory where you want to run crosstool-NG prior to the build.
    33 
    34 config ONLY_EXTRACT
    35     bool
    36     prompt "Stop after extracting tarballs"
    37     help
    38       Exit after unpacking and patching tarballs.
    39       
    40       Usefull to look at the code before doing the build itself.
    41 
    42 choice
    43     prompt "Patches origin"
    44     bool
    45     default PATCH_BUNDLED
    46 
    47 config PATCH_BUNDLED
    48     bool
    49     prompt "Bundled only"
    50     help
    51       Only apply patches bundled with crosstool-NG.
    52 
    53 config PATCH_LOCAL
    54     bool
    55     prompt "Local only"
    56     select PATCH_USE_LOCAL
    57     help
    58       Only apply your local patches.
    59 
    60 config PATCH_BUNDLED_LOCAL
    61     bool
    62     prompt "Bundled, then local"
    63     select PATCH_USE_LOCAL
    64     help
    65       Apply the patches bundled with crosstool-NG,
    66       then apply your local patches.
    67 
    68 config PATCH_LOCAL_BUNDLED
    69     bool
    70     prompt "Local, then bundled"
    71     select PATCH_USE_LOCAL
    72     help
    73       Apply your local patches, then apply the patches
    74       bundled with crosstool-NG.
    75 
    76 config PATCH_BUNDLED_FALLBACK_LOCAL
    77     bool
    78     prompt "Bundled only, local if no bundled"
    79     select PATCH_USE_LOCAL
    80     select PATCH_SINGLE
    81     help
    82       Apply the patches bundled with crosstool-NG;
    83       if there's no bundled patches, apply your local patches.
    84 
    85 config PATCH_LOCAL_FALLBACK_BUNDLED
    86     bool
    87     prompt "Local only, bundled if no local"
    88     select PATCH_USE_LOCAL
    89     select PATCH_SINGLE
    90     help
    91       Only apply your local patches;
    92       if there's no local patches, apply patches bundled with crosstool-NG.
    93 
    94 config PATCH_NONE
    95     bool
    96     prompt "None"
    97     help
    98       Don't use any patch at all.
    99       
   100       Please be carefull if you select this. Most components do require
   101       patches to properly build. It can happen, however, that support for
   102       your architecture is clean enough that you can build a toolchain
   103       with no patch. But most probably, this is *not* the case.
   104       
   105       Be safe, use (the bundeld) patches.
   106 
   107 endchoice
   108 
   109 config PATCH_ORDER
   110     string
   111     default "bundled"           if PATCH_BUNDLED
   112     default "local"             if PATCH_LOCAL
   113     default "bundled,local"     if PATCH_BUNDLED_LOCAL || PATCH_BUNDLED_FALLBACK_LOCAL
   114     default "local,bundled"     if PATCH_LOCAL_BUNDLED || PATCH_LOCAL_FALLBACK_BUNDLED
   115     default "none"              if PATCH_NONE
   116 
   117 config PATCH_SINGLE
   118     bool
   119 
   120 config PATCH_USE_LOCAL
   121     bool
   122 
   123 config LOCAL_PATCH_DIR
   124     string
   125     prompt "|  Local patch directory"
   126     default ""
   127     depends on PATCH_USE_LOCAL
   128     help
   129       Enter the custom patch directory here.
   130       
   131       Note that you must ensure that the directory contianing your custom
   132       patches is arranged the same way the official directory is.