summaryrefslogtreecommitdiff
path: root/zephyr/firmware_builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/firmware_builder.py')
-rwxr-xr-xzephyr/firmware_builder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/firmware_builder.py b/zephyr/firmware_builder.py
index b8b8756416..d04941f752 100755
--- a/zephyr/firmware_builder.py
+++ b/zephyr/firmware_builder.py
@@ -100,13 +100,13 @@ def bundle_firmware(opts):
zephyr_dir = pathlib.Path(__file__).parent
platform_ec = zephyr_dir.resolve().parent
for project in zmake.project.find_projects(zephyr_dir).values():
- build_dir = platform_ec / "build" / "zephyr" / project.config.name
+ build_dir = platform_ec / "build" / "zephyr" / project.config.project_name
artifacts_dir = build_dir / 'output'
# TODO(kmshelton): Remove once the build command does not rely
# on a pre-defined list of targets.
if not artifacts_dir.is_dir():
continue
- tarball_name = '{}.firmware.tbz2'.format(project.config.name)
+ tarball_name = '{}.firmware.tbz2'.format(project.config.project_name)
tarball_path = bundle_dir.joinpath(tarball_name)
cmd = ['tar', 'cvfj', tarball_path, '.']
subprocess.run(cmd, cwd=artifacts_dir, check=True)