1# See detailed comments in soc/xtensa/intel_adsp/common/CMakeLists.txt
2add_custom_target(zephyr.ri ALL
3  DEPENDS ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri
4)
5add_custom_command(
6  OUTPUT ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri
7  COMMENT "west sign --if-tool-available --tool rimage ..."
8  COMMAND  west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_OPTS}
9  DEPENDS ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME}
10)
11set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/adsp/linker.ld CACHE INTERNAL "")
12