From 18f0629d95f253645ed1aac3c45551aea8836aed Mon Sep 17 00:00:00 2001 From: Brian Granaghan Date: Fri, 6 Jan 2023 23:47:05 +0000 Subject: gsctool: Build gsctool in CQ. BUG=b:264704727 TEST=./firmware_builder.py --metrics /dev/null build dry tun CQ Change-Id: I51f8a9a7dcb5385aa3e76dffdcf80e356dd8cc86 Signed-off-by: Brian Granaghan Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4143815 Reviewed-by: Mary Ruthven --- firmware_builder.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware_builder.py') 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: -- cgit v1.2.1