config/global/ct-behave.in
author Esben Haabendal <esben.haabendal@prevas.dk>
Fri Oct 07 15:06:44 2011 +0200 (2011-10-07)
changeset 2721 7b64746b0ab3
parent 2227 5158aa602e58
child 3083 3a7b2eee9dcd
permissions -rw-r--r--
scripts/functions: Fix CT_ExtractGit function.

Change CT_ExtractGit so that it clones the repository, instead of just
symlinking it. After cloning, any given ref is checked out, or if no
ref is given, the HEAD of the repository is checked out.

This makes CT_Extract behave similar for git repositories as it does
for tarballs, so that it for example can be used for passing glibc-ports
as a git repository.

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