mirror of https://github.com/thesofproject/sof.git
zephyr: CMakeLists.txt: include required sources for imx95
Include required sources for the imx95 platform. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
parent
4d374ece70
commit
a65f19e5a6
|
@ -391,6 +391,28 @@ if (CONFIG_SOC_MIMX9352_A55)
|
|||
set(PLATFORM "imx93_a55")
|
||||
endif()
|
||||
|
||||
if (CONFIG_SOC_MIMX9596_M7)
|
||||
|
||||
zephyr_library_sources(
|
||||
${SOF_PLATFORM_PATH}/imx95/platform.c
|
||||
${SOF_PLATFORM_PATH}/imx95/lib/clk.c
|
||||
lib/dma.c
|
||||
)
|
||||
|
||||
zephyr_library_sources(
|
||||
${SOF_DRIVERS_PATH}/imx/ipc.c
|
||||
)
|
||||
|
||||
zephyr_library_sources(
|
||||
${SOF_SRC_PATH}/schedule/zephyr_ll.c
|
||||
)
|
||||
|
||||
# SOF-specific linker script additions
|
||||
zephyr_linker_sources(DATA_SECTIONS ${sof_top_dir}/src/platform/imx95/linker/data-sections.ld)
|
||||
|
||||
set(PLATFORM "imx95")
|
||||
endif()
|
||||
|
||||
# Building for native_posix-based whole-OS host emulator
|
||||
zephyr_library_sources_ifdef(CONFIG_ZEPHYR_POSIX
|
||||
${SOF_SRC_PATH}/schedule/zephyr_ll.c
|
||||
|
|
Loading…
Reference in New Issue