config/global/ct-behave.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 17 23:06:02 2010 +0100 (2010-01-17)
changeset 1740 c57458bb354d
parent 1064 492d939dbb19
child 1842 2535545dd450
permissions -rw-r--r--
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.
yann@445
     1
# Options specific to crosstool-NG overall behavior
yann@1
     2
yann@197
     3
comment "crosstool-NG behavior"
yann@121
     4
yann@244
     5
config OBSOLETE
yann@244
     6
    bool
yann@244
     7
    prompt "Use obsolete features"
yann@244
     8
    default n
yann@244
     9
    help
yann@244
    10
      If you set this to Y, you will be able to select obsolete features.
yann@1300
    11
      
yann@1300
    12
      Such obsolete features are the use of old kernel headers, old gcc
yann@1300
    13
      versions, etc... for which maintaining support in crosstool-NG
yann@1300
    14
      would be very costly.
yann@1300
    15
      
yann@1300
    16
      It does not however mean that the specific feature or version has been
yann@1300
    17
      marked obsolete by the upstream team.
yann@244
    18
yann@41
    19
config EXPERIMENTAL
yann@41
    20
    bool
yann@41
    21
    prompt "Try features marked as EXPERIMENTAL"
yann@41
    22
    default n
yann@41
    23
    help
yann@41
    24
      If you set this to Y, then you will be able to try very experimental
yann@41
    25
      features.
yann@1300
    26
      
yann@41
    27
      Experimental features can be one of:
yann@41
    28
        - working, in which case you should tell me it is!
yann@41
    29
        - buggy, in which case you could try patching and send me the result
yann@41
    30
        - unfinished, in which case you could try hacking it and send me the result
yann@384
    31
        - non-existant, in which case you could also try hacking it in and send me
yann@384
    32
          the result
yann@41
    33
yann@121
    34
config DEBUG_CT
yann@121
    35
    bool
yann@121
    36
    prompt "Debug crosstool-NG"
yann@121
    37
    default n
yann@121
    38
    help
yann@1300
    39
      Say 'y' here to get some options regarding debugging crosstool-NG.
yann@121
    40
yann@121
    41
if DEBUG_CT
yann@121
    42
yann@725
    43
config DEBUG_PAUSE_STEPS
yann@121
    44
    bool
yann@121
    45
    prompt "Pause between every steps"
yann@121
    46
    default n
yann@121
    47
    help
yann@121
    48
      Say 'y' if you intend to attend the build, and want to investigate
yann@121
    49
      the result of each steps before running the next one.
yann@121
    50
yann@121
    51
config DEBUG_CT_SAVE_STEPS
yann@121
    52
    bool
yann@121
    53
    prompt "Save intermediate steps"
yann@121
    54
    default n
yann@121
    55
    help
yann@121
    56
      If you say 'y' here, then you will be able to restart crosstool-NG at
yann@168
    57
      any step.
yann@1300
    58
      
yann@1300
    59
      It is not currently possible to restart at any of the debug facilities.
yann@168
    60
      They are treated as a whole.
yann@1300
    61
      
yann@168
    62
      See docs/overview.txt for the list of steps.
yann@121
    63
yann@121
    64
config DEBUG_CT_SAVE_STEPS_GZIP
yann@121
    65
    bool
yann@121
    66
    prompt "gzip saved states"
yann@121
    67
    default y
yann@121
    68
    depends on DEBUG_CT_SAVE_STEPS
yann@121
    69
    help
yann@121
    70
      If you are tight on space, then you can ask to gzip the saved states
yann@121
    71
      tarballs. On the other hand, this takes some longer time...
yann@1300
    72
      
yann@121
    73
      To lose as less time as possible, the gzip process is done with a low
yann@121
    74
      compression ratio (-3), which gives roughly 70% gain in size. Going
yann@121
    75
      further doesn't gain much, and takes far more time (believe me, I've
yann@121
    76
      got figures here! :-) ).
yann@121
    77
yann@1064
    78
config NO_OVERIDE_LC_MESSAGES
yann@1064
    79
    bool
yann@1064
    80
    prompt "Do *not* overide LC_MESSAGES (EXPERIMENTAL)"
yann@1064
    81
    depends on EXPERIMENTAL
yann@1064
    82
    default n
yann@1064
    83
    help
yann@1064
    84
      By default, crosstool-NG sets and exports LC_ALL=C so that the
yann@1064
    85
      build.log file contains english messages, that can be read by
yann@1064
    86
      people most likely to help interpret the logs. If you say N here,
yann@1064
    87
      and your locale is not an english language, then dissecting your
yann@1064
    88
      log file will be difficult for most people but you.
yann@1064
    89
      
yann@1064
    90
      If you say Y here, then your current locale settings will be used
yann@1064
    91
      to print messages, instead of plain english.
yann@1064
    92
      
yann@1064
    93
      Say N, please.
yann@1064
    94
yann@121
    95
endif