audio-driver: update Makefile.am for LV

update Makefile.am for automotive LV audio driver build.

Change-Id: I1ad1a3de85fdb09818b8c1774919872b619dd0fd
Signed-off-by: Cong Tang <congt@codeaurora.org>
This commit is contained in:
Cong Tang 2019-01-10 18:36:55 +08:00 • committed by Gerrit - the friendly Code Review server
commit fe8dee2aa2

View file

@ -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)