Browse Source

Android: add conditional compilation for HDMI modules

add conditional compilation for HDMI modules.

Change-Id: Ia8189bfec4f1f8b2106472301a1be7579ea9c0fe
Signed-off-by: Prasad Kumpatla <[email protected]>
Prasad Kumpatla 1 year ago
parent
commit
6e6449082f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Android.mk

+ 2 - 0
Android.mk

@@ -391,6 +391,7 @@ LOCAL_MODULE_DEBUG_ENABLE := true
 LOCAL_MODULE_PATH         := $(KERNEL_MODULES_OUT)
 include $(DLKM_DIR)/Build_external_kernelmodule.mk
 ###########################################################
+ifeq ($(AUDIO_DLKM_ENABLE), true)
 include $(CLEAR_VARS)
 LOCAL_SRC_FILES           := $(AUDIO_SRC_FILES)
 LOCAL_MODULE              := hdmi_dlkm.ko
@@ -402,6 +403,7 @@ LOCAL_REQUIRED_MODULES    := msm-ext-disp-module-symvers
 LOCAL_ADDITIONAL_DEPENDENCIES := $(call intermediates-dir-for,DLKM,msm-ext-disp-module-symvers)/Module.symvers
 include $(DLKM_DIR)/Build_external_kernelmodule.mk
 endif
+endif
 
 ifeq ($(call is-board-platform-in-list, bengal holi blair),true)
 ###########################################################