Introduce a BROKEN option (depends on EXPERIMENTAL) to hide/see broken stuff for debugging sessions!
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jul 13 12:15:53 2007 +0000 (2007-07-13)
changeset 244d5a7240240c5
parent 243 56fbb4be9521
child 245 134ac2c35c49
Introduce a BROKEN option (depends on EXPERIMENTAL) to hide/see broken stuff for debugging sessions!
Re-order: OBSOLETE goes before EXPERIMENTAL.
config/global.in
     1.1 --- a/config/global.in	Fri Jul 13 10:26:30 2007 +0000
     1.2 +++ b/config/global.in	Fri Jul 13 12:15:53 2007 +0000
     1.3 @@ -3,6 +3,10 @@
     1.4  # Ah, this option is here to break the dependency tracking, and allow
     1.5  # dependent option to line-up with the options they depend on ,rather
     1.6  # than being indented
     1.7 +# Use it to intersperse two config options depending one on the other,
     1.8 +# but don't want the second to be indented (for example because you have
     1.9 +# a comment between the two to separate them). See DOWNLOAD and EXTRACT
    1.10 +# options to see how it is used.
    1.11  config FOOBAR
    1.12      bool
    1.13      default n
    1.14 @@ -11,6 +15,16 @@
    1.15  
    1.16  comment "crosstool-NG behavior"
    1.17  
    1.18 +config OBSOLETE
    1.19 +    bool
    1.20 +    prompt "Use obsolete features"
    1.21 +    default n
    1.22 +    help
    1.23 +      If you set this to Y, you will be able to select obsolete features.
    1.24 +      
    1.25 +      Such obsolete features are the use of old kernel headers, old
    1.26 +      gcc versions, etc...
    1.27 +
    1.28  config EXPERIMENTAL
    1.29      bool
    1.30      prompt "Try features marked as EXPERIMENTAL"
    1.31 @@ -25,15 +39,13 @@
    1.32          - unfinished, in which case you could try hacking it and send me the result
    1.33          - non-existant, in which case you could also try hacking it in and send the result
    1.34  
    1.35 -config OBSOLETE
    1.36 +config BROKEN
    1.37      bool
    1.38 -    prompt "Use obsolete features"
    1.39 +    prompt "Try broken stuff"
    1.40      default n
    1.41 +    depends on EXPERIMENTAL
    1.42      help
    1.43 -      If you set this to Y, you will be able to select obsolete features.
    1.44 -      
    1.45 -      Such obsolete features are the use of old kernel headers, old
    1.46 -      gcc versions, etc...
    1.47 +      Select this if you want to _debug_ broken stuff.
    1.48  
    1.49  config DEBUG_CT
    1.50      bool
    1.51 @@ -226,13 +238,13 @@
    1.52  
    1.53  config FOOBAR
    1.54  
    1.55 +if ! ONLY_DOWNLOAD
    1.56 +
    1.57  comment "Extracting"
    1.58 -    depends on ! ONLY_DOWNLOAD
    1.59  
    1.60  config FORCE_EXTRACT
    1.61      bool
    1.62      prompt "Force extractions"
    1.63 -    depends on ! ONLY_DOWNLOAD
    1.64      default n
    1.65      help
    1.66        Force extraction of already exctracted tarballs.
    1.67 @@ -243,13 +255,14 @@
    1.68  config ONLY_EXTRACT
    1.69      bool
    1.70      prompt "Stop after extracting tarballs"
    1.71 -    depends on ! ONLY_DOWNLOAD
    1.72      default n
    1.73      help
    1.74        Exit after unpacking and patching tarballs.
    1.75        
    1.76        Usefull to look at the code before doing the build itself.
    1.77  
    1.78 +endif # ! ONLY_DOWNLOAD
    1.79 +
    1.80  comment "Logging"
    1.81  
    1.82  choice