mirror of https://github.com/thesofproject/sof.git
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:
parent
de7016edd4
commit
f645b36cc8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue