Explorar el Código

asoc: codecs: fix compile error for bengal_32

For bengal_32 local compile fails. Update
the condition check in make to avoid compile
of wsa and hdmi modules for bengal, bengal_32.

Change-Id: I90db0a36b4c435874137d312545e3757f335fa78
Signed-off-by: Laxminath Kasam <[email protected]>
Laxminath Kasam hace 5 años
padre
commit
5b1458d315
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      asoc/codecs/Android.mk

+ 2 - 2
asoc/codecs/Android.mk

@@ -111,7 +111,7 @@ LOCAL_MODULE_PATH         := $(KERNEL_MODULES_OUT)
 include $(DLKM_DIR)/AndroidKernelModule.mk
 endif
 ###########################################################
-ifneq ($(TARGET_PRODUCT), $(filter $(TARGET_PRODUCT), bengal))
+ifneq ($(call is-board-platform-in-list, bengal),true)
 include $(CLEAR_VARS)
 LOCAL_MODULE              := $(AUDIO_CHIPSET)_wsa881x.ko
 LOCAL_MODULE_KBUILD_NAME  := wsa881x_dlkm.ko
@@ -148,7 +148,7 @@ LOCAL_MODULE_DEBUG_ENABLE := true
 LOCAL_MODULE_PATH         := $(KERNEL_MODULES_OUT)
 include $(DLKM_DIR)/AndroidKernelModule.mk
 ###########################################################
-ifneq ($(TARGET_PRODUCT), $(filter $(TARGET_PRODUCT), bengal))
+ifneq ($(call is-board-platform-in-list, bengal),true)
 include $(CLEAR_VARS)
 LOCAL_MODULE              := $(AUDIO_CHIPSET)_hdmi.ko
 LOCAL_MODULE_KBUILD_NAME  := hdmi_dlkm.ko