mirror of https://gitee.com/openkylin/linux.git
23 lines
762 B
Makefile
23 lines
762 B
Makefile
#
|
|
# Makefile for the DAL (Display Abstract Layer), which is a sub-component
|
|
# of the AMDGPU drm driver.
|
|
# It provides the HW control for display related functionalities.
|
|
|
|
AMDDALPATH = $(RELATIVE_AMD_DISPLAY_PATH)
|
|
|
|
subdir-ccflags-y += -I$(AMDDALPATH)/ -I$(AMDDALPATH)/include
|
|
|
|
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/
|
|
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/hw
|
|
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/inc
|
|
subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/freesync
|
|
|
|
#TODO: remove when Timing Sync feature is complete
|
|
subdir-ccflags-y += -DBUILD_FEATURE_TIMING_SYNC=0
|
|
|
|
DAL_LIBS = amdgpu_dm dc modules/freesync
|
|
|
|
AMD_DAL = $(addsuffix /Makefile, $(addprefix $(FULL_AMD_DISPLAY_PATH)/,$(DAL_LIBS)))
|
|
|
|
include $(AMD_DAL)
|