summaryrefslogtreecommitdiff
path: root/asoc/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'asoc/Kbuild')
-rw-r--r--asoc/Kbuild13
1 files changed, 13 insertions, 0 deletions
diff --git a/asoc/Kbuild b/asoc/Kbuild
index 8c379177..02110136 100644
--- a/asoc/Kbuild
+++ b/asoc/Kbuild
@@ -45,6 +45,11 @@ ifeq ($(KERNEL_BUILD), 0)
export
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_QCS405), y)
+ include $(AUDIO_ROOT)/config/qcs405auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
+ endif
endif
# As per target team, build is done as follows:
@@ -100,6 +105,11 @@ ifdef CONFIG_SND_SOC_SM8150
MACHINE_OBJS += sm8150.o
endif
+# for qcs405 sound card driver
+ifdef CONFIG_SND_SOC_QCS405
+ MACHINE_OBJS += qcs405.o
+endif
+
ifdef CONFIG_SND_SOC_CPE
CPE_LSM_OBJS += msm-cpe-lsm.o
endif
@@ -191,6 +201,9 @@ machine_dlkm-y := $(MACHINE_OBJS)
obj-$(CONFIG_SND_SOC_SM8150) += machine_dlkm.o
machine_dlkm-y := $(MACHINE_OBJS)
+obj-$(CONFIG_SND_SOC_QCS405) += machine_dlkm.o
+machine_dlkm-y := $(MACHINE_OBJS)
+
obj-$(CONFIG_SND_SOC_EXT_CODEC) += machine_dlkm.o
machine_dlkm-y := $(MACHINE_OBJS)