summaryrefslogtreecommitdiffstats
path: root/Config.in
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2012-06-16 09:37:17 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-24 11:11:07 +0200
commit5016aa02fb51dbd73461f65ed8c7d9b52539a988 (patch)
tree4ac7062feff600396b5867885e126d09db4e4c41 /Config.in
parentf6b26ea4251c7bcec36a26e7059832789a3f5938 (diff)
downloadbuildroot-5016aa02fb51dbd73461f65ed8c7d9b52539a988.tar.gz
buildroot-5016aa02fb51dbd73461f65ed8c7d9b52539a988.zip
automatically set PARALLEL_JOBS when BR2_JLEVEL is 0
When BR2_JLEVEL is 0, set PARALLEL_JOBS to double the number of CPUs detected. This allows one to more or less fully utilize the host system without manually tuning the configuration. Also make 0 the default value for BR2_JLEVEL. Signed-off-by: Nathan Lynch <ntl@pobox.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/Config.in b/Config.in
index 83f64bb678..925c2474cb 100644
--- a/Config.in
+++ b/Config.in
@@ -178,10 +178,12 @@ config BR2_DEBIAN_MIRROR
endmenu
config BR2_JLEVEL
- int "Number of jobs to run simultaneously"
- default "2"
+ int "Number of jobs to run simultaneously (0 for auto)"
+ default "0"
help
- Number of jobs to run simultaneously
+ Number of jobs to run simultaneously. If 0, determine
+ automatically according to number of CPUs on the host
+ system.
config BR2_CCACHE
bool "Enable compiler cache"
OpenPOWER on IntegriCloud