Merge "ASoC: enable audio modules for msmnile"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
c7e057204d
@@ -11,9 +11,13 @@ ifeq ($(call is-board-platform-in-list,msm8953 sdm670 qcs605),true)
|
||||
AUDIO_SELECT := CONFIG_SND_SOC_SDM670=m
|
||||
endif
|
||||
|
||||
ifeq ($(call is-board-platform,msmnile),true)
|
||||
AUDIO_SELECT := CONFIG_SND_SOC_SDM855=m
|
||||
endif
|
||||
|
||||
AUDIO_CHIPSET := audio
|
||||
# Build/Package only in case of supported target
|
||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605),true)
|
||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
|
@@ -30,6 +30,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
||||
export
|
||||
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_SDM855), 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:
|
||||
@@ -121,8 +126,8 @@ EXTRA_CFLAGS += -Wheader-guard
|
||||
endif
|
||||
|
||||
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/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/Module.symvers
|
||||
endif
|
||||
|
||||
# Module information used by KBuild framework
|
||||
|
Reference in New Issue
Block a user