ASoC: sdxpoorwills: enable audio compilation
Enable compilation of audio drivers for SDXPOORWILLS.
Change-Id: I2a8d949f98ab6fb56111dffdab51d9123a41c3c1
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
diff --git a/Makefile b/Makefile
index ff83693..de65a18 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,10 @@
include $(srctree)/techpack/audio/config/sdm670auto.conf
export
endif
+ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
+include $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf
+export
+endif
# Use USERINCLUDE when you must reference the UAPI directories only.
USERINCLUDE += \
@@ -26,7 +30,10 @@
LINUXINCLUDE += \
-include $(srctree)/techpack/audio/config/sdm670autoconf.h
endif
-
+ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
+LINUXINCLUDE += \
+ -include $(srctree)/techpack/audio/config/sdxpoorwillsautoconf.h
+endif
obj-y += asoc/
obj-y += dsp/