|
@@ -2,23 +2,23 @@
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
-ifeq ($(call is-board-platform, taro),true)
|
|
|
|
|
|
+ifeq ($(call is-board-platform-in-list,taro),true)
|
|
AUDIO_SELECT := CONFIG_SND_SOC_WAIPIO=m
|
|
AUDIO_SELECT := CONFIG_SND_SOC_WAIPIO=m
|
|
endif
|
|
endif
|
|
|
|
|
|
-ifeq ($(call is-board-platform, kalama),true)
|
|
|
|
|
|
+ifeq ($(call is-board-platform-in-list,kalama),true)
|
|
AUDIO_SELECT := CONFIG_SND_SOC_KALAMA=m
|
|
AUDIO_SELECT := CONFIG_SND_SOC_KALAMA=m
|
|
endif
|
|
endif
|
|
|
|
|
|
-ifeq ($(call is-board-platform, bengal),true)
|
|
|
|
|
|
+ifeq ($(call is-board-platform-in-list,bengal),true)
|
|
AUDIO_SELECT := CONFIG_SND_SOC_BENGAL=m
|
|
AUDIO_SELECT := CONFIG_SND_SOC_BENGAL=m
|
|
endif
|
|
endif
|
|
|
|
|
|
-ifeq ($(call is-board-platform, holi blair),true)
|
|
|
|
|
|
+ifeq ($(call is-board-platform-in-list,holi blair),true)
|
|
AUDIO_SELECT := CONFIG_SND_SOC_HOLI=m
|
|
AUDIO_SELECT := CONFIG_SND_SOC_HOLI=m
|
|
endif
|
|
endif
|
|
|
|
|
|
-ifeq ($(call is-board-platform, pineapple),true)
|
|
|
|
|
|
+ifeq ($(call is-board-platform-in-list,pineapple),true)
|
|
AUDIO_SELECT := CONFIG_SND_SOC_PINEAPPLE=m
|
|
AUDIO_SELECT := CONFIG_SND_SOC_PINEAPPLE=m
|
|
endif
|
|
endif
|
|
|
|
|
|
@@ -38,6 +38,7 @@ ifneq ($(findstring opensource,$(LOCAL_PATH)),)
|
|
AUDIO_BLD_DIR := $(abspath .)/vendor/qcom/opensource/audio-kernel
|
|
AUDIO_BLD_DIR := $(abspath .)/vendor/qcom/opensource/audio-kernel
|
|
endif # opensource
|
|
endif # opensource
|
|
|
|
|
|
|
|
+include $(AUDIO_BLD_DIR)/EnableBazel.mk
|
|
DLKM_DIR := $(TOP)/device/qcom/common/dlkm
|
|
DLKM_DIR := $(TOP)/device/qcom/common/dlkm
|
|
|
|
|
|
|
|
|