1*4562236bSHarry Wentland# 2*4562236bSHarry Wentland# Makefile for the DAL (Display Abstract Layer), which is a sub-component 3*4562236bSHarry Wentland# of the AMDGPU drm driver. 4*4562236bSHarry Wentland# It provides the HW control for display related functionalities. 5*4562236bSHarry Wentland 6*4562236bSHarry WentlandAMDDALPATH = $(RELATIVE_AMD_DISPLAY_PATH) 7*4562236bSHarry Wentland 8*4562236bSHarry Wentlandsubdir-ccflags-y += -I$(AMDDALPATH)/ -I$(AMDDALPATH)/include 9*4562236bSHarry Wentland 10*4562236bSHarry Wentlandsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/ 11*4562236bSHarry Wentlandsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/hw 12*4562236bSHarry Wentlandsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/inc 13*4562236bSHarry Wentlandsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/freesync 14*4562236bSHarry Wentland 15*4562236bSHarry Wentland#TODO: remove when Timing Sync feature is complete 16*4562236bSHarry Wentlandsubdir-ccflags-y += -DBUILD_FEATURE_TIMING_SYNC=0 17*4562236bSHarry Wentland 18*4562236bSHarry WentlandDAL_LIBS = amdgpu_dm dc modules/freesync 19*4562236bSHarry Wentland 20*4562236bSHarry WentlandAMD_DAL = $(addsuffix /Makefile, $(addprefix $(FULL_AMD_DISPLAY_PATH)/,$(DAL_LIBS))) 21*4562236bSHarry Wentland 22*4562236bSHarry Wentlandinclude $(AMD_DAL) 23