1# SPDX-License-Identifier: BSD-3-Clause
2
3add_subdirectory(platform)
4add_subdirectory(arch)
5add_subdirectory(ipc)
6add_subdirectory(audio)
7add_subdirectory(lib)
8add_subdirectory(math)
9if(CONFIG_SAMPLES)
10	add_subdirectory(samples)
11endif()
12add_local_sources(sof spinlock.c)
13add_subdirectory(drivers)
14
15if (CONFIG_TRACE)
16	add_subdirectory(trace)
17endif()
18
19if(CONFIG_LIBRARY)
20	return()
21endif()
22
23add_subdirectory(debug)
24add_subdirectory(init)
25add_subdirectory(schedule)
26
27if (CONFIG_PROBE)
28	add_subdirectory(probe)
29endif()
30
31if (CONFIG_MULTICORE)
32	add_subdirectory(idc)
33endif()
34