config/global/build-behave.in
changeset 1866 1539194a1877
parent 1753 fcc55af9aee5
child 2695 f2495884ca3e
     1.1 --- a/config/global/build-behave.in	Fri Jan 29 23:14:53 2010 +0100
     1.2 +++ b/config/global/build-behave.in	Mon Mar 29 10:05:21 2010 +0200
     1.3 @@ -2,9 +2,12 @@
     1.4  
     1.5  comment "Build behavior"
     1.6  
     1.7 +comment "Build options hiden"
     1.8 +    depends on BACKEND
     1.9 +
    1.10  config PARALLEL_JOBS
    1.11      int
    1.12 -    prompt "Number of parallel jobs"
    1.13 +    prompt "Number of parallel jobs" if ! BACKEND
    1.14      default 1
    1.15      help
    1.16        Number of jobs make will be allowed to run concurently.
    1.17 @@ -15,7 +18,7 @@
    1.18  
    1.19  config LOAD
    1.20      int
    1.21 -    prompt "Maximum allowed load"
    1.22 +    prompt "Maximum allowed load" if ! BACKEND
    1.23      default 0
    1.24      help
    1.25        Specifies that no new jobs should be started if there are others jobs
    1.26 @@ -30,7 +33,7 @@
    1.27  
    1.28  config USE_PIPES
    1.29      bool
    1.30 -    prompt "Use -pipe"
    1.31 +    prompt "Use -pipe" if ! BACKEND
    1.32      default y
    1.33      help
    1.34        Use gcc's option -pipe to use pipes rather than temp files when building
    1.35 @@ -40,6 +43,7 @@
    1.36      bool
    1.37      prompt "Shell to use as CONFIG_SHELL"
    1.38      default CONFIG_SHELL_BASH
    1.39 +    depends on ! BACKEND
    1.40  
    1.41  config CONFIG_SHELL_SH
    1.42      bool
    1.43 @@ -91,12 +95,6 @@
    1.44        
    1.45        See help for CONFIG_SHELL_SH, above, for more explanations.
    1.46  
    1.47 -config CONFIG_SHELL_CUSTOM_PATH
    1.48 -    string
    1.49 -    prompt "Path to custom shell"
    1.50 -    depends on CONFIG_SHELL_CUSTOM
    1.51 -    default "/bin/sh"
    1.52 -
    1.53  endchoice
    1.54  
    1.55  config CONFIG_SHELL
    1.56 @@ -104,4 +102,10 @@
    1.57      default "sh"        if CONFIG_SHELL_SH
    1.58      default "ash"       if CONFIG_SHELL_ASH
    1.59      default "bash"      if CONFIG_SHELL_BASH
    1.60 -    default "custom"    if CONFIG_SHELL_CUSTOM
    1.61 +    default "custom"    if CONFIG_SHELL_CUSTOM || BACKEND
    1.62 +
    1.63 +config CONFIG_SHELL_CUSTOM_PATH
    1.64 +    string
    1.65 +    prompt "Path to custom shell" if ! BACKEND
    1.66 +    depends on CONFIG_SHELL_CUSTOM || BACKEND
    1.67 +    default "/bin/sh"