Asoc: Enable audio-dlkm compilation for sdmsteppe target
Enable compilation for sdmsteppe target and also fix
compilation errors.
Change-Id: I18a13764415ae955843706943e338bb575c11853
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
diff --git a/Makefile.am b/Makefile.am
index bd60e53..4a9f96e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,6 +23,9 @@
ifeq ($(TARGET_SUPPORT),qcs40x)
KBUILD_OPTIONS += CONFIG_ARCH_QCS405=y
endif
+ifeq ($(TARGET_SUPPORT), sdmsteppe))
+KBUILD_OPTIONS += CONFIG_ARCH_SM6150=y
+endif
obj-m := ipc/
obj-m += dsp/
@@ -30,7 +33,7 @@
obj-m += soc/
obj-m += asoc/
obj-m += asoc/codecs/
-ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sdm670 qcs605))
+ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), sdm670 qcs605 sdmsteppe))
obj-m += asoc/codecs/wcd934x/
endif
ifeq ($(TARGET_SUPPORT), $(filter $(TARGET_SUPPORT), apq8053 sdm670 qcs605))
@@ -44,6 +47,10 @@
obj-m += asoc/codecs/csra66x0/
obj-m += asoc/codecs/ep92/
endif
+ifeq ($(TARGET_SUPPORT), sdmsteppe))
+obj-m += asoc/codecs/bolero/
+obj-m += asoc/codecs/wcd937x/
+endif
all:
$(shell rm -fr $(shell pwd)/soc/core.h)