1# NXP RT SoC family CMake file 2# 3# Copyright (c) 2021 NXP 4# SPDX-License-Identifier: Apache-2.0 5 6zephyr_compile_definitions(CPU_MIMXRT595SFFOC_dsp) 7 8zephyr_include_directories(include) 9 10# west sign 11 12add_custom_target(zephyr.ri ALL 13 DEPENDS ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri 14) 15 16add_custom_command( 17 OUTPUT ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri 18 COMMENT "west sign --if-tool-available --tool rimage ..." 19 COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_OPTS} 20 DEPENDS ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME} 21) 22 23set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "") 24