1# 2# Makefile for the 'dsc' sub-component of DAL. 3 4dsc_ccflags := -mhard-float -msse 5 6ifdef CONFIG_CC_IS_GCC 7dsc_ccflags += -mpreferred-stack-boundary=4 8endif 9 10ifdef CONFIG_CC_IS_CLANG 11dsc_ccflags += -msse2 12endif 13 14CFLAGS_$(AMDDALPATH)/dc/dsc/rc_calc.o := $(dsc_ccflags) 15CFLAGS_$(AMDDALPATH)/dc/dsc/rc_calc_dpi.o := $(dsc_ccflags) 16CFLAGS_$(AMDDALPATH)/dc/dsc/dc_dsc.o := $(dsc_ccflags) 17 18DSC = dc_dsc.o rc_calc.o rc_calc_dpi.o 19 20AMD_DAL_DSC = $(addprefix $(AMDDALPATH)/dc/dsc/,$(DSC)) 21 22AMD_DISPLAY_FILES += $(AMD_DAL_DSC) 23