Skip to content

Commit

Permalink
llext: fix broken executable quoting
Browse files Browse the repository at this point in the history
Fix the rimage execution failure when run under Windows:
    ''"'"'D:\a\sof\sof\workspace\build-rimage\rimage.EXE'"'"'' -o \
'D:\a\sof\sof\workspace\build-mtl\zephyr\eq_iir_llext\eq_iir.llext.ri' \
-e -c 'D:\a\sof\sof\workspace\build-mtl\zephyr\eq_iir_llext\rimage_config.toml' \
-k 'D:\a\sof\sof\workspace\sof\keys\otc_private_key_3k.pem' -l -r \
'D:\a\sof\sof\workspace\build-mtl\zephyr\eq_iir_llext\eq_iir.llext'

Signed-off-by: Guennadi Liakhovetski <[email protected]>
  • Loading branch information
lyakh committed Jul 4, 2024
1 parent 4311402 commit eda0ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/xtensa-build-zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ def install_lib(sof_lib_dir, abs_build_dir, platform_wconfig):
"-e", "-c", str(rimage_cfg),
"-k", str(signing_key), "-l", "-r",
str(llext_input)]
execute_command(sign_cmd, cwd=west_top)
subprocess.run(sign_cmd, cwd=west_top)

# An intuitive way to make this multiline would be
# with (open(dst, 'wb') as fdst, open(llext_output, 'rb') as fllext,
Expand Down

0 comments on commit eda0ae4

Please sign in to comment.