2022-07-25 11:57:50 +08:00
|
|
|
# Intel ADSP SoCs family CMake file
|
|
|
|
#
|
|
|
|
# Copyright (c) 2022 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-10-30 18:18:51 +08:00
|
|
|
zephyr_include_directories(include)
|
|
|
|
zephyr_include_directories(include/${SOC_NAME})
|
2022-07-25 11:57:50 +08:00
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
|
|
|
|
|
|
|
|
zephyr_library_sources(
|
|
|
|
sram.c
|
2022-07-30 09:45:52 +08:00
|
|
|
power.c
|
2023-03-01 14:13:48 +08:00
|
|
|
power_down_cavs.S
|
2022-07-25 11:57:50 +08:00
|
|
|
)
|
|
|
|
|
2022-10-25 03:04:49 +08:00
|
|
|
if(CONFIG_SMP OR CONFIG_MP_MAX_NUM_CPUS GREATER 1)
|
2022-07-28 04:20:50 +08:00
|
|
|
zephyr_library_sources(multiprocessing.c)
|
2022-07-25 11:57:50 +08:00
|
|
|
endif()
|
2022-08-06 19:10:18 +08:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_CAVS_ICTL irq.c)
|
2023-10-28 03:46:21 +08:00
|
|
|
|
|
|
|
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/include/xtensa-cavs-linker.ld CACHE INTERNAL "")
|