2008-04-17 20:02:07 +00:00
|
|
|
# Options related to how the build behaves
|
|
|
|
|
|
|
|
comment "Build behavior"
|
|
|
|
|
|
|
|
config PARALLEL_JOBS
|
|
|
|
int
|
2017-04-23 06:51:05 +00:00
|
|
|
prompt "Number of parallel jobs"
|
2011-10-16 11:26:26 +00:00
|
|
|
default 0
|
2008-04-17 20:02:07 +00:00
|
|
|
help
|
|
|
|
Number of jobs make will be allowed to run concurently.
|
|
|
|
Set this higher than the number of processors you have, but not too high.
|
|
|
|
A good rule of thumb is twice the number of processors you have.
|
|
|
|
|
2011-10-16 11:26:26 +00:00
|
|
|
Enter 1 to have only one job at a time.
|
2008-04-17 20:02:07 +00:00
|
|
|
|
2011-10-16 11:26:26 +00:00
|
|
|
Enter 0 to set automatically based on how many processors the host has.
|
2011-09-28 23:40:42 +00:00
|
|
|
|
2008-04-17 20:02:07 +00:00
|
|
|
config LOAD
|
2013-01-27 16:54:19 +00:00
|
|
|
string
|
2017-04-23 06:51:05 +00:00
|
|
|
prompt "Maximum allowed load"
|
2013-01-27 16:54:19 +00:00
|
|
|
default ""
|
2008-04-17 20:02:07 +00:00
|
|
|
help
|
|
|
|
Specifies that no new jobs should be started if there are others jobs
|
|
|
|
running and the load average is at least this value.
|
2013-01-27 16:54:19 +00:00
|
|
|
|
|
|
|
Leave to empty for no load limit.
|
|
|
|
|
|
|
|
Note: any float value is allowed and will be passed to the '-l' option
|
|
|
|
of make (for further details, refer to the make manpage).
|
2008-04-17 20:02:07 +00:00
|
|
|
|
|
|
|
config USE_PIPES
|
|
|
|
bool
|
2017-04-23 06:51:05 +00:00
|
|
|
prompt "Use -pipe"
|
2008-04-17 20:02:07 +00:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Use gcc's option -pipe to use pipes rather than temp files when building
|
|
|
|
the toolchain.
|
2008-08-25 19:44:39 +00:00
|
|
|
|
2012-11-16 14:25:57 +00:00
|
|
|
config EXTRA_CFLAGS_FOR_BUILD
|
|
|
|
string
|
|
|
|
prompt "Extra build compiler flags"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Extra flags to pass to the build C and C++ compiler.
|
|
|
|
|
|
|
|
May be used to change the default features of the build
|
|
|
|
compiler such as turning off the stack protector or fortify.
|
|
|
|
|
|
|
|
config EXTRA_LDFLAGS_FOR_BUILD
|
|
|
|
string
|
|
|
|
prompt "Extra build linker flags"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Extra flags to pass to the build linker.
|
|
|
|
|
|
|
|
May be used to change the default features of the build
|
|
|
|
linker.
|
|
|
|
|
|
|
|
config EXTRA_CFLAGS_FOR_HOST
|
2011-10-05 01:19:51 +00:00
|
|
|
string
|
|
|
|
prompt "Extra host compiler flags"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Extra flags to pass to the host C and C++ compiler.
|
|
|
|
|
|
|
|
May be used to change the default features of the host
|
|
|
|
compiler such as turning off the stack protector or fortify.
|
2012-11-16 14:25:57 +00:00
|
|
|
|
|
|
|
config EXTRA_LDFLAGS_FOR_HOST
|
|
|
|
string
|
|
|
|
prompt "Extra host linker flags"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Extra flags to pass to the host linker.
|
|
|
|
|
|
|
|
May be used to change the default features of the host
|
|
|
|
linker.
|
2011-10-05 01:19:51 +00:00
|
|
|
|
2009-08-02 21:43:15 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "Shell to use as CONFIG_SHELL"
|
2009-08-06 17:40:26 +00:00
|
|
|
default CONFIG_SHELL_BASH
|
2009-08-02 21:43:15 +00:00
|
|
|
|
|
|
|
config CONFIG_SHELL_SH
|
2008-08-25 19:44:39 +00:00
|
|
|
bool
|
2009-08-02 21:43:15 +00:00
|
|
|
prompt "sh (the system shell)"
|
2008-08-25 19:44:39 +00:00
|
|
|
help
|
2009-08-02 21:43:15 +00:00
|
|
|
Use 'sh' as CONFIG_SHELL.
|
2008-08-25 19:44:39 +00:00
|
|
|
|
2009-08-02 21:43:15 +00:00
|
|
|
./configure scripts and Makefiles make intensive use of calling
|
|
|
|
sub-shells. This is usually done by calling /bin/sh. /bin/sh ought
|
|
|
|
to be an at-least-POSIX-conformant shell (that is, able to interpret
|
|
|
|
POSIX shell scripts).
|
2008-08-25 19:44:39 +00:00
|
|
|
|
2009-08-02 21:43:15 +00:00
|
|
|
On many (most?) systems, /bin/sh is a symlink to bash. On some other
|
|
|
|
systems (eg. Ubuntu, latest Debian), /bin/sh points to dash (or ash).
|
|
|
|
bash is a full-featured shell, with many extension to POSIX, but is
|
|
|
|
quite slow (see ection BUGS in the bash man page), while dash is
|
|
|
|
faster, with very few extensions to POSIX. On the other hand, some
|
|
|
|
./configure scripts, although written to use /bin/sh, may really
|
|
|
|
require to be run by bash.
|
|
|
|
|
2009-08-06 17:40:26 +00:00
|
|
|
The default is to use bash, as some components (eg. GMP) will fail
|
|
|
|
to build with anything else than bash.
|
2011-10-11 19:43:42 +00:00
|
|
|
|
|
|
|
Unless you have a very strong reason not to (eg. you are debugging
|
|
|
|
the bashisms in a ./configure script), you should use the default,
|
|
|
|
and use bash.
|
2009-08-06 17:40:26 +00:00
|
|
|
|
2009-08-02 21:43:15 +00:00
|
|
|
config CONFIG_SHELL_ASH
|
|
|
|
bool
|
2009-08-02 21:50:22 +00:00
|
|
|
prompt "ash (READ HELP!)"
|
2009-08-02 21:43:15 +00:00
|
|
|
help
|
|
|
|
Use 'ash' as CONFIG_SHELL.
|
|
|
|
|
|
|
|
See help for CONFIG_SHELL_SH, above, for more explanations.
|
2009-08-02 21:50:22 +00:00
|
|
|
|
|
|
|
NOTE: It is advised that you do NOT use ash as CONFIG_SHELL, as some
|
|
|
|
components are broken. If you decide to use ash, and the build breaks,
|
|
|
|
don't come moaning and set the CONFIG_SHELL to bash, below.
|
2009-08-02 21:43:15 +00:00
|
|
|
|
2009-08-02 18:06:06 +00:00
|
|
|
config CONFIG_SHELL_BASH
|
|
|
|
bool
|
|
|
|
prompt "bash"
|
|
|
|
help
|
|
|
|
Use 'bash' as CONFIG_SHELL.
|
|
|
|
|
|
|
|
See help for CONFIG_SHELL_SH, above, for more explanations.
|
|
|
|
|
2009-08-02 18:06:44 +00:00
|
|
|
config CONFIG_SHELL_CUSTOM
|
|
|
|
bool
|
|
|
|
prompt "custom shell"
|
|
|
|
help
|
|
|
|
Enter full path to the custom shell below.
|
|
|
|
|
|
|
|
See help for CONFIG_SHELL_SH, above, for more explanations.
|
|
|
|
|
2009-08-02 21:43:15 +00:00
|
|
|
endchoice
|
|
|
|
|
2010-03-29 08:05:21 +00:00
|
|
|
config CONFIG_SHELL_CUSTOM_PATH
|
|
|
|
string
|
2017-04-23 06:51:05 +00:00
|
|
|
prompt "Path to custom shell"
|
|
|
|
depends on CONFIG_SHELL_CUSTOM
|
2010-03-29 08:05:21 +00:00
|
|
|
default "/bin/sh"
|
2011-10-11 19:43:42 +00:00
|
|
|
|
|
|
|
# Ditto.
|
|
|
|
# And we must use the ./configured bash...
|
|
|
|
config CONFIG_SHELL
|
|
|
|
string
|
|
|
|
default "/bin/sh" if CONFIG_SHELL_SH
|
|
|
|
default "/bin/ash" if CONFIG_SHELL_ASH
|
|
|
|
default "${bash}" if CONFIG_SHELL_BASH
|
2017-04-23 06:51:05 +00:00
|
|
|
default CONFIG_SHELL_CUSTOM_PATH if CONFIG_SHELL_CUSTOM
|