Files
android_kernel_samsung_sm86…/Android.mk
Prabhanjan Kandula 91cfcb8220 mm-drivers: add support for compiling out mm driver modules
This change provides required support to disable mm driver modules
compilation along with all modules and supports specific flag for
override to enable compilation if required.

Change-Id: I3ea1383855a6be49ed12a23a3585e9d6ebb1810a
Signed-off-by: Prabhanjan Kandula <quic_pkandula@quicinc.com>
(cherry picked from commit 91a337989da77e6071fdfbd03b43c423356c14c0)
2022-06-13 11:27:12 -07:00

17 lines
441 B
Makefile

MM_DRIVER_PATH := $(call my-dir)
MM_DRV_DLKM_ENABLE := true
ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
ifeq ($(TARGET_KERNEL_DLKM_MM_DRV_OVERRIDE), false)
MM_DRV_DLKM_ENABLE := false
endif
endif
ifeq ($(MM_DRV_DLKM_ENABLE), true)
include $(MM_DRIVER_PATH)/msm_ext_display/Android.mk
ifneq ($(TARGET_BOARD_PLATFORM), taro)
include $(MM_DRIVER_PATH)/hw_fence/Android.mk
include $(MM_DRIVER_PATH)/sync_fence/Android.mk
endif
endif