Bladeren bron

audio-driver: update Makefile.am for LV

update Makefile.am for automotive LV audio driver build.

Change-Id: I1ad1a3de85fdb09818b8c1774919872b619dd0fd
Signed-off-by: Cong Tang <[email protected]>
Cong Tang 6 jaren geleden
bovenliggende
commit
fe8dee2aa2
1 gewijzigde bestanden met toevoegingen van 8 en 0 verwijderingen
  1. 8 0
      Makefile.am

+ 8 - 0
Makefile.am

@@ -37,6 +37,14 @@ obj-m += asoc/codecs/bolero/
 obj-m += asoc/codecs/wcd937x/
 endif
 
+ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sa8155))
+obj-m := ipc/
+obj-m += dsp/
+obj-m += asoc/
+obj-m += asoc/codecs/
+KBUILD_OPTIONS += CONFIG_SND_SOC_SA8155=m
+endif
+
 all:
 	$(shell rm -fr $(shell pwd)/soc/core.h)
 	$(shell ln -s $(KERNEL_SRC)/drivers/pinctrl/core.h $(shell pwd)/soc/core.h)