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