summaryrefslogtreecommitdiff
path: root/firmware_builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'firmware_builder.py')
-rwxr-xr-xfirmware_builder.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware_builder.py b/firmware_builder.py
index 4daa05acc6..5aa35b9403 100755
--- a/firmware_builder.py
+++ b/firmware_builder.py
@@ -60,6 +60,11 @@ def build(opts):
subprocess.run(cmd,
cwd=os.path.dirname(__file__),
check=True)
+ cmd = ['make', '-j{}'.format(opts.cpus)]
+ print(f'# Running {" ".join(cmd)}.')
+ subprocess.run(cmd,
+ cwd=os.path.join(os.path.dirname(__file__), 'extra', 'usb_updater'),
+ check=True)
def bundle(opts):
if opts.code_coverage: