config/global/ct-behave.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 29 10:03:29 2010 +0200 (2010-03-29)
changeset 1867 dc39960ecfd2
parent 1842 2535545dd450
child 1868 89f16f038b92
permissions -rw-r--r--
config: hide options to debug crosstool-NG when a backend

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