1# SPDX-License-Identifier: BSD-3-Clause
2
3add_library(pdown STATIC "")
4target_link_libraries(pdown sof_options)
5target_compile_options(pdown PRIVATE -mtext-section-literals)
6
7add_local_sources(pdown power_down.S)
8target_link_libraries(sof_static_libraries INTERFACE pdown)
9
10add_local_sources(sof
11	clk.c
12	dai.c
13	dma.c
14	memory.c
15	pm_runtime.c
16	pm_memory.c
17)
18
19if(CONFIG_MEM_WND)
20	add_local_sources(sof mem_window.c)
21endif()
22