autotest: pass any supplied -j through to waf make
This commit is contained in:
parent
3969bde84a
commit
efef39732e
@ -86,6 +86,8 @@ def build_SIL(build_target, j=None, debug=False, board='sitl'):
|
||||
|
||||
# then build
|
||||
cmd_make = [relwaf(), "build", "--target", build_target]
|
||||
if j is not None:
|
||||
cmd_make.extend(['-j', str(j)])
|
||||
run_cmd(cmd_make, dir=topdir(), checkfail=True, show=True)
|
||||
return True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user