xtensa-build-zephyr.py: use string path for rimage_desc

PosixPath doesn't convert to string automatically, and
it is not acceptable in sign_cmd, convert it to string
explicitly.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
This commit is contained in:
Chao Song 2022-03-02 12:58:34 +08:00 committed by Liam Girdwood
parent de7016edd4
commit f645b36cc8
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ def build_platforms():
if args.ipc == "IPC4": if args.ipc == "IPC4":
rimage_desc = pathlib.Path(SOF_TOP, "rimage", "config", platform_dict["IPC4_RIMAGE_DESC"]) rimage_desc = pathlib.Path(SOF_TOP, "rimage", "config", platform_dict["IPC4_RIMAGE_DESC"])
sign_cmd += ["-c", rimage_desc] sign_cmd += ["-c", str(rimage_desc)]
execute_command(sign_cmd, check=True, cwd=west_top) execute_command(sign_cmd, check=True, cwd=west_top)
# Install by copy # Install by copy