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.
6 AMDDALPATH = $(RELATIVE_AMD_DISPLAY_PATH)
8 subdir-ccflags-y += -I$(AMDDALPATH)/ -I$(AMDDALPATH)/include
10 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/
11 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/hw
12 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/inc
13 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/freesync
15 #TODO: remove when Timing Sync feature is complete
16 subdir-ccflags-y += -DBUILD_FEATURE_TIMING_SYNC=0
18 DAL_LIBS = amdgpu_dm dc modules/freesync
20 AMD_DAL = $(addsuffix /Makefile, $(addprefix $(FULL_AMD_DISPLAY_PATH)/,$(DAL_LIBS)))