diff options
Diffstat (limited to 'zephyr/firmware_builder.py')
-rwxr-xr-x | zephyr/firmware_builder.py | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/zephyr/firmware_builder.py b/zephyr/firmware_builder.py index f0ef0f7d96..ae19b82c81 100755 --- a/zephyr/firmware_builder.py +++ b/zephyr/firmware_builder.py @@ -31,19 +31,9 @@ def build(opts): with open(opts.metrics, 'w') as f: f.write(json_format.MessageToJson(metrics)) - targets = [ - 'projects/posix-ec', - 'projects/volteer/volteer', - ] - for target in targets: - print('Building {}'.format(target)) - cmd = ['zmake', '-D', 'configure', '-b'] - if opts.code_coverage: - cmd.append('--coverage') - cmd.append(target) - rv = subprocess.run(cmd, cwd=pathlib.Path(__file__).parent).returncode - if rv != 0: - return rv + # Nothing to do, as the test phase actually does the builds. + # TODO(b/217788621): Do a build-only here once we can separate build + # and test phases on zmake CLI. return 0 |