Skip to content

Commit eb203fc

Browse files
committed
audio/cmake: add more inline documentation
The audio top-level CMakeLists.txt is a bit complex to follow as it has two separate set of build rules. One to build normal SOF firmware target, with rules in subfolders and another for the host-library build (not using subfolder CMakeLists.txt). The two sets are broken with a return() in the middle. Add inline commentary to the different sections making this easier to follow. Link: #8606 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent 9ecaa89 commit eb203fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/audio/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ if(it_is) ### Zephyr ###
3939
return()
4040
endif()
4141

42+
### XTOS normal build (not shared library) ###
43+
4244
if(NOT CONFIG_COMP_MODULE_SHARED_LIBRARY_BUILD)
4345
add_local_sources(sof
4446
host-legacy.c
@@ -143,6 +145,8 @@ if(NOT CONFIG_COMP_MODULE_SHARED_LIBRARY_BUILD)
143145
return()
144146
endif()
145147

148+
### Shared library build (CONFIG_COMP_MODULE_SHARED_LIBRARY_BUILD) ###
149+
146150
subdirs(pipeline)
147151

148152
if(CONFIG_COMP_MODULE_ADAPTER)

0 commit comments

Comments
 (0)