mirror of https://github.com/thesofproject/sof.git
zephyr: only build trace support if enabled in the configuration
Files under src/trace should only be built if CONFIG_TRACE is selected in configuration. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
5204a29e2f
commit
375a46d176
|
@ -336,7 +336,6 @@ zephyr_include_directories(${SOF_PLATFORM_PATH}/${PLATFORM}/include)
|
||||||
# Mandatory Files used on all platforms.
|
# Mandatory Files used on all platforms.
|
||||||
# Commented files will be added/removed as integration dictates.
|
# Commented files will be added/removed as integration dictates.
|
||||||
zephyr_library_sources(
|
zephyr_library_sources(
|
||||||
${SOF_SRC_PATH}/trace/dma-trace.c
|
|
||||||
${SOF_IPC_PATH}/dma-copy.c
|
${SOF_IPC_PATH}/dma-copy.c
|
||||||
${SOF_IPC_PATH}/ipc.c
|
${SOF_IPC_PATH}/ipc.c
|
||||||
${SOF_IPC_PATH}/handler.c
|
${SOF_IPC_PATH}/handler.c
|
||||||
|
@ -376,7 +375,6 @@ zephyr_library_sources(
|
||||||
${SOF_SRC_PATH}/schedule/dma_single_chan_domain.c
|
${SOF_SRC_PATH}/schedule/dma_single_chan_domain.c
|
||||||
${SOF_SRC_PATH}/schedule/dma_multi_chan_domain.c
|
${SOF_SRC_PATH}/schedule/dma_multi_chan_domain.c
|
||||||
${SOF_SRC_PATH}/schedule/ll_schedule.c
|
${SOF_SRC_PATH}/schedule/ll_schedule.c
|
||||||
${SOF_SRC_PATH}/trace/trace.c
|
|
||||||
|
|
||||||
# Bridge wrapper between SOF and Zephyr APIs - Will shrink over time.
|
# Bridge wrapper between SOF and Zephyr APIs - Will shrink over time.
|
||||||
wrapper.c
|
wrapper.c
|
||||||
|
@ -384,6 +382,11 @@ zephyr_library_sources(
|
||||||
schedule.c
|
schedule.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
zephyr_library_sources_ifdef(CONFIG_TRACE
|
||||||
|
${SOF_SRC_PATH}/trace/dma-trace.c
|
||||||
|
${SOF_SRC_PATH}/trace/trace.c
|
||||||
|
)
|
||||||
|
|
||||||
# Optional SOF sources - depends on Kconfig - WIP
|
# Optional SOF sources - depends on Kconfig - WIP
|
||||||
|
|
||||||
zephyr_library_sources_ifdef(CONFIG_COMP_FIR
|
zephyr_library_sources_ifdef(CONFIG_COMP_FIR
|
||||||
|
|
Loading…
Reference in New Issue