ASoC: Add audio support for sdmshrike
Add audio support for sdmshrike.
Change-Id: I0b86ab7b123a3215617b81a645202785f6810d02
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
diff --git a/Makefile b/Makefile
index 4e123b6..73185c9 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,10 @@
include $(srctree)/techpack/audio/config/sdm855auto.conf
export
endif
+ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+include $(srctree)/techpack/audio/config/sdm855auto.conf
+export
+endif
# Use USERINCLUDE when you must reference the UAPI directories only.
USERINCLUDE += \
@@ -42,6 +46,10 @@
LINUXINCLUDE += \
-include $(srctree)/techpack/audio/config/sdm855autoconf.h
endif
+ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+LINUXINCLUDE += \
+ -include $(srctree)/techpack/audio/config/sdm855autoconf.h
+endif
obj-y += asoc/
obj-y += dsp/
diff --git a/asoc/Kbuild b/asoc/Kbuild
index eec5947..1a6d45a 100644
--- a/asoc/Kbuild
+++ b/asoc/Kbuild
@@ -35,6 +35,11 @@
export
INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+ include $(AUDIO_ROOT)/config/sdm855auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
+ endif
endif
# As per target team, build is done as follows:
diff --git a/asoc/codecs/Kbuild b/asoc/codecs/Kbuild
index 01a6e2d..ef817fc 100644
--- a/asoc/codecs/Kbuild
+++ b/asoc/codecs/Kbuild
@@ -34,6 +34,11 @@
export
INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+ include $(AUDIO_ROOT)/config/sdm855auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
+ endif
endif
# As per target team, build is done as follows:
diff --git a/asoc/codecs/aqt1000/Kbuild b/asoc/codecs/aqt1000/Kbuild
index f982951..b942988 100644
--- a/asoc/codecs/aqt1000/Kbuild
+++ b/asoc/codecs/aqt1000/Kbuild
@@ -28,6 +28,12 @@
export
INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
endif
+
+ ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+ include $(AUDIO_ROOT)/config/sdm855auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
+ endif
endif
# As per target team, build is done as follows:
diff --git a/asoc/codecs/wcd934x/Kbuild b/asoc/codecs/wcd934x/Kbuild
index 60b2485..e3d57b3 100644
--- a/asoc/codecs/wcd934x/Kbuild
+++ b/asoc/codecs/wcd934x/Kbuild
@@ -36,6 +36,11 @@
export
INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+ include $(AUDIO_ROOT)/config/sdm855auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
+ endif
endif
# As per target team, build is done as follows:
diff --git a/asoc/codecs/wcd9360/Kbuild b/asoc/codecs/wcd9360/Kbuild
index a1b5fe4..ddd64e0 100644
--- a/asoc/codecs/wcd9360/Kbuild
+++ b/asoc/codecs/wcd9360/Kbuild
@@ -21,6 +21,12 @@
export
INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
endif
+
+ ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+ include $(AUDIO_ROOT)/config/sdm855auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
+ endif
endif
# As per target team, build is done as follows:
diff --git a/dsp/Kbuild b/dsp/Kbuild
index df73215..0a0490d 100644
--- a/dsp/Kbuild
+++ b/dsp/Kbuild
@@ -34,6 +34,11 @@
export
INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+ include $(AUDIO_ROOT)/config/sdm855auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
+ endif
endif
diff --git a/dsp/codecs/Kbuild b/dsp/codecs/Kbuild
index 0f2adf7..12e9cf0 100644
--- a/dsp/codecs/Kbuild
+++ b/dsp/codecs/Kbuild
@@ -35,6 +35,11 @@
export
INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+ include $(AUDIO_ROOT)/config/sdm855auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
+ endif
endif
# As per target team, build is done as follows:
diff --git a/ipc/Kbuild b/ipc/Kbuild
index 3cc021c..4ad14cf 100644
--- a/ipc/Kbuild
+++ b/ipc/Kbuild
@@ -20,6 +20,10 @@
TARGET_KERNEL_VERSION := 4.14
endif
+ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+ TARGET_KERNEL_VERSION := 4.14
+endif
+
KDIR := $(TOP)/kernel/msm-$(TARGET_KERNEL_VERSION)
ifeq ($(KERNEL_BUILD), 1)
@@ -47,6 +51,11 @@
export
INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+ include $(AUDIO_ROOT)/config/sdm855auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
+ endif
endif
# As per target team, build is done as follows:
diff --git a/soc/Kbuild b/soc/Kbuild
index 36a2c88..f61ecdc 100644
--- a/soc/Kbuild
+++ b/soc/Kbuild
@@ -34,6 +34,11 @@
export
INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
+ include $(AUDIO_ROOT)/config/sdm855auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
+ endif
endif
# As per target team, build is done as follows: