bengal: enable compile of required modules
Update compile of required modules for bengal target.
Change-Id: If4d512b7270cc811a05524caac5292234a0ac437
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
diff --git a/asoc/Kbuild b/asoc/Kbuild
index 9e455a9..137fd60 100644
--- a/asoc/Kbuild
+++ b/asoc/Kbuild
@@ -51,9 +51,9 @@
INCS += -include $(AUDIO_ROOT)/config/litoautoconf.h
endif
ifeq ($(CONFIG_ARCH_BENGAL), y)
- include $(AUDIO_ROOT)/config/litoauto.conf
+ include $(AUDIO_ROOT)/config/bengalauto.conf
export
- INCS += -include $(AUDIO_ROOT)/config/litoautoconf.h
+ INCS += -include $(AUDIO_ROOT)/config/bengalautoconf.h
endif
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
ifdef CONFIG_SND_SOC_SA8155
@@ -135,6 +135,11 @@
MACHINE_OBJS += kona.o
endif
+# for BENGAL sound card driver
+ifdef CONFIG_SND_SOC_BENGAL
+ MACHINE_OBJS += bengal.o
+endif
+
# for sa8155 sound card driver
ifdef CONFIG_SND_SOC_SA8155
MACHINE_OBJS += sa8155.o
@@ -244,6 +249,9 @@
obj-$(CONFIG_SND_SOC_LITO) += machine_dlkm.o
machine_dlkm-y := $(MACHINE_OBJS)
+obj-$(CONFIG_SND_SOC_BENGAL) += machine_dlkm.o
+machine_dlkm-y := $(MACHINE_OBJS)
+
obj-$(CONFIG_SND_SOC_SA8155) += machine_dlkm.o
machine_dlkm-y := $(MACHINE_OBJS)