Merge "ASOC: fix audio machine driver compile issue"

这个提交包含在:
qctecmdr
2020-09-03 18:06:23 -07:00
提交者 Gerrit - the friendly Code Review server
当前提交 994eb4e818
修改 6 个文件,包含 66 行新增2 行删除

查看文件

@@ -13,6 +13,18 @@ ifeq ($(KERNEL_BUILD), 1)
AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio
endif
ifeq ($(CONFIG_SND_SOC_AUTO), y)
ifdef CONFIG_SND_SOC_SA8155
include $(AUDIO_ROOT)/config/sa8155auto.conf
export
INCS += -include $(AUDIO_ROOT)/config/sa8155autoconf.h
endif
ifdef CONFIG_SND_SOC_SA6155
include $(AUDIO_ROOT)/config/sa6155auto.conf
export
INCS += -include $(AUDIO_ROOT)/config/sa6155autoconf.h
endif
else
ifeq ($(KERNEL_BUILD), 0)
ifeq ($(CONFIG_ARCH_SM8150), y)
ifdef CONFIG_SND_SOC_SA8155
@@ -71,6 +83,7 @@ ifeq ($(KERNEL_BUILD), 0)
INCS += -include $(AUDIO_ROOT)/config/gvmautoconf.h
endif
endif
endif
# As per target team, build is done as follows:
# Defconfig : build with default flags