Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions scripts/xtensa-build-zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,13 @@ def parse_args():
help="""Use an output subdirectory for each platform.
Otherwise, all firmware files are installed in the same staging directory by default.""")

parser.add_argument(
"--extra-rimage-args",
default="",
help="""Temporary solution until the `west sign` situation
is finalized upstream, see zephyrproject-rtos/zephyr/pull/52942 and others.""",
)

parser.add_argument("--no-interactive", default=False, action="store_true",
help="""Run script in non-interactive mode when user input can not be provided.
This should be used with programmatic script invocations (eg. Continuous Integration).
Expand Down Expand Up @@ -648,6 +655,8 @@ def build_platforms():

sign_cmd += ["-b", sof_build_vers]

sign_cmd += shlex.split(args.extra_rimage_args)

if args.ipc == "IPC4":
rimage_desc = pathlib.Path(SOF_TOP, "rimage", "config", platform_dict["IPC4_RIMAGE_DESC"])
sign_cmd += ["-c", str(rimage_desc)]
Expand Down