diff options
Diffstat (limited to 'scripts/build-all.py')
| -rwxr-xr-x | scripts/build-all.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build-all.py b/scripts/build-all.py index 19ba616826f..39f12d16a0c 100755 --- a/scripts/build-all.py +++ b/scripts/build-all.py @@ -41,7 +41,7 @@ import sys version = 'build-all.py, version 0.01' build_dir = '../all-kernels' -make_command = ["-j", "6", "vmlinux", "modules"] +make_command = ["vmlinux", "modules"] make_env = os.environ make_env.update({ 'ARCH': 'arm', @@ -177,6 +177,8 @@ def main(): dest='updateconfigs', help="Update defconfigs with provided option setting, " "e.g. --updateconfigs=\'CONFIG_USE_THING=y\'") + parser.add_option('-j', '--jobs', type='int', dest="jobs", default=6, + help="Number of simultaneous jobs") (options, args) = parser.parse_args() global all_options @@ -192,6 +194,8 @@ def main(): global make_command make_command = ["oldconfig"] + make_command.append("-j%d" % options.jobs) + if args == ['all']: build_many(configs, configs.keys()) elif len(args) > 0: |
