diff options
author | Phil Sutter <phil@nwl.cc> | 2009-08-28 22:56:27 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2009-08-28 23:09:28 +0200 |
commit | 6d3405b4161a9cf5f1e16ebeb8426dadb48dbe71 (patch) | |
tree | 7f637675bd8b2a1c1fe5f77614a3b0ef2bfc6ef5 /Config.in | |
parent | 0b6742af9d19cc389ed0f0bb08a65e1f84268893 (diff) |
core: allow selecting parallel builds
The value of CONFIG_ADK_MAKE_JOBS is being passed to make via the option
'-j', in order to have it run multiple jobs simultaneously. This is done
for all kernel builds, and per default for each package using the
default BUILD_STYLE of 'auto', unless the package makefile defines
PKG_NOPARALLEL to a non-empty string.
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -15,5 +15,34 @@ config ADK_HAVE_DOT_CONFIG bool default y +menu "ADK settings" + +config ADK_MAKE_JOBS + int + default 1 if ! ADK_MAKE_PARALLEL + +config ADK_MAKE_PARALLEL + prompt "Enable parallel building of packages that claim to support it" + boolean + default n + +config ADK_MAKE_JOBS + prompt "How many jobs to use" + int + default 2 + depends on ADK_MAKE_PARALLEL + help + The number specified here will be passed to make as N in '-jN' + +config ADK_FORCE_PARALLEL + prompt "Force parallel building of all packages (DANGEROUS)" + bool + default n + depends on ADK_MAKE_PARALLEL + help + Do not enable this! It's for testing purposes only. + +endmenu + source "target/Config.in" source "package/Config.in" |