|
@@ -30,6 +30,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|
export
|
|
export
|
|
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
|
|
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
|
|
endif
|
|
endif
|
|
|
|
+ ifeq ($(CONFIG_ARCH_SDM855), y)
|
|
|
|
+ include $(AUDIO_ROOT)/config/sdm855auto.conf
|
|
|
|
+ export
|
|
|
|
+ INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h
|
|
|
|
+ endif
|
|
endif
|
|
endif
|
|
|
|
|
|
# As per target team, build is done as follows:
|
|
# As per target team, build is done as follows:
|
|
@@ -80,6 +85,11 @@ ifdef CONFIG_SND_SOC_MACHINE_SDM845
|
|
MACHINE_OBJS += sdm845.o
|
|
MACHINE_OBJS += sdm845.o
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+# for SDM855 sound card driver
|
|
|
|
+ifdef CONFIG_SND_SOC_SDM855
|
|
|
|
+ MACHINE_OBJS += sdm855.o
|
|
|
|
+endif
|
|
|
|
+
|
|
ifdef CONFIG_SND_SOC_CPE
|
|
ifdef CONFIG_SND_SOC_CPE
|
|
CPE_LSM_OBJS += msm-cpe-lsm.o
|
|
CPE_LSM_OBJS += msm-cpe-lsm.o
|
|
endif
|
|
endif
|
|
@@ -152,11 +162,11 @@ EXTRA_CFLAGS += -Wheader-guard
|
|
endif
|
|
endif
|
|
|
|
|
|
ifeq ($(KERNEL_BUILD), 0)
|
|
ifeq ($(KERNEL_BUILD), 0)
|
|
-KBUILD_EXTRA_SYMBOLS +=$(OUT)/obj/vendor/qcom/opensource/audio-kernel/dsp/Module.symvers
|
|
|
|
-KBUILD_EXTRA_SYMBOLS +=$(OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/Module.symvers
|
|
|
|
-KBUILD_EXTRA_SYMBOLS +=$(OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd934x/Module.symvers
|
|
|
|
-KBUILD_EXTRA_SYMBOLS +=$(OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/sdm660_cdc/Module.symvers
|
|
|
|
-KBUILD_EXTRA_SYMBOLS +=$(OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/msm_sdw/Module.symvers
|
|
|
|
|
|
+KBUILD_EXTRA_SYMBOLS +=$(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/dsp/Module.symvers
|
|
|
|
+KBUILD_EXTRA_SYMBOLS +=$(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/Module.symvers
|
|
|
|
+KBUILD_EXTRA_SYMBOLS +=$(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd934x/Module.symvers
|
|
|
|
+KBUILD_EXTRA_SYMBOLS +=$(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/sdm660_cdc/Module.symvers
|
|
|
|
+KBUILD_EXTRA_SYMBOLS +=$(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/msm_sdw/Module.symvers
|
|
endif
|
|
endif
|
|
ifeq ($(KERNEL_BUILD), 1)
|
|
ifeq ($(KERNEL_BUILD), 1)
|
|
obj-y += codecs/
|
|
obj-y += codecs/
|
|
@@ -168,6 +178,9 @@ platform_dlkm-y := $(PLATFORM_OBJS)
|
|
obj-$(CONFIG_SND_SOC_MACHINE_SDM845) += machine_dlkm.o
|
|
obj-$(CONFIG_SND_SOC_MACHINE_SDM845) += machine_dlkm.o
|
|
machine_dlkm-y := $(MACHINE_OBJS)
|
|
machine_dlkm-y := $(MACHINE_OBJS)
|
|
|
|
|
|
|
|
+obj-$(CONFIG_SND_SOC_SDM855) += machine_dlkm.o
|
|
|
|
+machine_dlkm-y := $(MACHINE_OBJS)
|
|
|
|
+
|
|
obj-$(CONFIG_SND_SOC_EXT_CODEC) += machine_dlkm.o
|
|
obj-$(CONFIG_SND_SOC_EXT_CODEC) += machine_dlkm.o
|
|
machine_dlkm-y := $(MACHINE_OBJS)
|
|
machine_dlkm-y := $(MACHINE_OBJS)
|
|
|
|
|