add dmic sources only if CONFIG_DMIC enabled

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
This commit is contained in:
Adrian Bonislawski 2019-02-01 10:50:30 +01:00 committed by Liam Girdwood
parent ba7b7a6ce5
commit 166477424a
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,4 @@
add_local_sources(sof
dmic.c
hda-dma.c
hda.c
interrupt.c
@ -12,3 +11,7 @@ if(CONFIG_SUECREEK)
else()
add_local_sources(sof ipc.c)
endif()
if(CONFIG_DMIC)
add_local_sources(sof dmic.c)
endif()