cmake/zephyr: change if condition to zephyr metod

For syntax clearity changed if conditional to zephyr method

Signed-off-by: Dobrowolski, PawelX <pawelx.dobrowolski@intel.com>
This commit is contained in:
Dobrowolski, PawelX 2024-06-07 09:42:22 +02:00 committed by Michal Wasko
parent 28a5265568
commit 1704870309
1 changed files with 2 additions and 6 deletions

View File

@ -251,17 +251,13 @@ if (CONFIG_SOC_SERIES_INTEL_ADSP_ACE)
lib/dma.c
)
if (CONFIG_SOC_INTEL_ACE15_MTPM)
zephyr_library_sources(
zephyr_library_sources_ifdef(CONFIG_SOC_INTEL_ACE15_MTPM
${SOF_PLATFORM_PATH}/meteorlake/lib/clk.c
)
endif()
if (CONFIG_SOC_INTEL_ACE20_LNL)
zephyr_library_sources(
zephyr_library_sources_ifdef(CONFIG_SOC_INTEL_ACE20_LNL
${SOF_PLATFORM_PATH}/lunarlake/lib/clk.c
)
endif()
# SOF core infrastructure - runs on top of Zephyr
zephyr_library_sources(