1# Intel ADSP SoCs family CMake file
2#
3# Copyright (c) 2022 Intel Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6zephyr_include_directories(include)
7zephyr_include_directories(include/${CONFIG_SOC})
8zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
9
10zephyr_library_sources(
11    sram.c
12    power.c
13    power_down_cavs.S
14    )
15
16if(CONFIG_SMP OR CONFIG_MP_MAX_NUM_CPUS GREATER 1)
17    zephyr_library_sources(multiprocessing.c)
18endif()
19
20zephyr_library_sources_ifdef(CONFIG_CAVS_ICTL irq.c)
21
22set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/include/xtensa-cavs-linker.ld CACHE INTERNAL "")
23