qcom: display-drivers: Add oplus flags to Kbuild
Change-Id: I6226a5b061459382f7097db21d44c9f48eb5b899
This commit is contained in:
committed by
Bruno Martins
parent
12bb926092
commit
f9a823d550
@@ -8,6 +8,7 @@ export OPLUS_FEATURE_DISPLAY_HIGH_PRECISION=y
|
||||
export OPLUS_FEATURE_DISPLAY_TEMP_COMPENSATION=y
|
||||
export OPLUS_FEATURE_DISPLAY_ONSCREENFINGERPRINT=y
|
||||
export OPLUS_TRACKPOINT_REPORT=y
|
||||
export OPLUS_FEATURE_APDMR=y
|
||||
#endif /* OPLUS_FEATURE_DISPLAY */
|
||||
#ifdef OPLUS_FEATURE_TP_BASIC
|
||||
export OPLUS_FEATURE_TP_BASIC=y
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#define OPLUS_FEATURE_DISPLAY_TEMP_COMPENSATION 1
|
||||
#define OPLUS_FEATURE_DISPLAY_ONSCREENFINGERPRINT 1
|
||||
#define OPLUS_TRACKPOINT_REPORT 1
|
||||
#define OPLUS_FEATURE_APDMR 1
|
||||
//#endif /* OPLUS_FEATURE_DISPLAY */
|
||||
//#ifdef OPLUS_FEATURE_TP_BASIC
|
||||
#define OPLUS_FEATURE_TP_BASIC 1
|
||||
|
||||
@@ -289,3 +289,34 @@ msm_drm-$(CONFIG_DRM_MSM) += msm_atomic.o \
|
||||
msm_gem_vma.o \
|
||||
msm_smmu.o \
|
||||
msm_prop.o
|
||||
|
||||
msm_drm-$(OPLUS_FEATURE_DISPLAY) += \
|
||||
../oplus/SM8750/oplus_display_utils.o \
|
||||
../oplus/SM8750/oplus_display_sysfs_attrs.o \
|
||||
../oplus/SM8750/oplus_display_dc_diming.o \
|
||||
../oplus/SM8750/oplus_display_ffl.o \
|
||||
../oplus/SM8750/oplus_display_device.o \
|
||||
../oplus/SM8750/oplus_display_proc.o \
|
||||
../oplus/SM8750/oplus_display_power.o \
|
||||
../oplus/SM8750/oplus_display_effect.o \
|
||||
../oplus/SM8750/oplus_display_device_ioctl.o \
|
||||
../oplus/SM8750/oplus_display_bl.o \
|
||||
../oplus/SM8750/oplus_display_interface.o \
|
||||
../oplus/SM8750/oplus_display_pwm.o \
|
||||
../oplus/SM8750/oplus_display_parse.o \
|
||||
../oplus/SM8750/oplus_display_panel_cmd.o \
|
||||
../oplus/SM8750/oplus_display_ext.o \
|
||||
../oplus/SM8750/oplus_display_esd.o \
|
||||
../oplus/SM8750/oplus_bl_ic_ktz8868.o
|
||||
|
||||
msm_drm-$(OPLUS_FEATURE_DISPLAY_ADFR) += ../oplus/SM8750/oplus_adfr.o
|
||||
|
||||
msm_drm-$(OPLUS_FEATURE_DISPLAY_TEMP_COMPENSATION) += ../oplus/SM8750/oplus_display_temp_compensation.o
|
||||
|
||||
msm_drm-$(OPLUS_FEATURE_DISPLAY_ONSCREENFINGERPRINT) += ../oplus/SM8750/oplus_onscreenfingerprint.o
|
||||
|
||||
msm_drm-$(OPLUS_FEATURE_TP_BASIC) += ../oplus/SM8750/oplus_display_notify_tp.o
|
||||
|
||||
ccflags-$(OPLUS_FEATURE_DISPLAY) += \
|
||||
-I$(DISPLAY_ROOT)/oplus/SM8750 \
|
||||
-I$(DISPLAY_ROOT)/oplus/SM8750/include \
|
||||
|
||||
Reference in New Issue
Block a user