From fe8dee2aa22a257bbde8e8e59a0b20490336158d Mon Sep 17 00:00:00 2001 From: Cong Tang Date: Thu, 10 Jan 2019 18:36:55 +0800 Subject: [PATCH] audio-driver: update Makefile.am for LV update Makefile.am for automotive LV audio driver build. Change-Id: I1ad1a3de85fdb09818b8c1774919872b619dd0fd Signed-off-by: Cong Tang --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index 7ee55c0d236c..b705366b6c23 100644 --- a/Makefile.am +++ b/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)