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