Skip to content

Commit 35e8e6f

Browse files
marc-hbcarlescufi
authored andcommitted
soc/xtensa/nxp_adsp/CMakeLists.txt: use new WEST_SIGN_OPTS variable
Align `soc/nxp_adsp` with new `WEST_SIGN_OPTS` option added to `soc/intel_adsp` by recent commit d98a7c2 ("soc: xtensa: cmake: add new WEST_SIGN_OPTS variable"). This allows per-board rimage customization at the CMake level. Example in `zephyr/boards/xtensa/nxp_adsp_NEWBOARD/board.cmake`: set(WEST_SIGN_OPTS -- -c rimage/config/special.toml) Signed-off-by: Marc Herbert <[email protected]>
1 parent a36af82 commit 35e8e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soc/xtensa/nxp_adsp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ add_custom_target(zephyr.ri ALL
1515
add_custom_command(
1616
OUTPUT ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri
1717
COMMENT "west sign --if-tool-available --tool rimage ..."
18-
COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR}
18+
COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_OPTS}
1919
DEPENDS ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME}
2020
)

0 commit comments

Comments
 (0)