Prechádzať zdrojové kódy

asoc: codec: compile wcd dsp manager only for external codec

wcd dsp manager is not needed for bolero and wcd938x. Compile it
when CONFIG_WCD9XXX_CODEC_CORE is enabled

Change-Id: Ia341e6893520769eb1f973a5df74ad9bb2b57063
Signed-off-by: Meng Wang <[email protected]>
Meng Wang 5 rokov pred
rodič
commit
b2bdcaa776
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      asoc/codecs/Kbuild

+ 2 - 2
asoc/codecs/Kbuild

@@ -122,13 +122,13 @@ ifdef CONFIG_SND_SOC_WCD9XXX_V2
 ifdef CONFIG_WCD9XXX_CODEC_CORE
 	WCD9XXX_OBJS += wcd9xxx-common-v2.o
 	WCD9XXX_OBJS += wcd9xxx-resmgr-v2.o
+	WCD9XXX_OBJS += wcd-dsp-utils.o
+	WCD9XXX_OBJS += wcd-dsp-mgr.o
 else
 	WCD9XXX_OBJS += wcd-clsh.o
 endif
 	WCD9XXX_OBJS += wcdcal-hwdep.o
 	WCD9XXX_OBJS += wcd9xxx-soc-init.o
-	WCD9XXX_OBJS += wcd-dsp-utils.o
-	WCD9XXX_OBJS += wcd-dsp-mgr.o
 	WCD9XXX_OBJS += audio-ext-clk-up.o
 endif