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_rc_calc.o := $(dsc_ccflags) 13CFLAGS_rc_calc_dpi.o := $(dsc_ccflags) 14CFLAGS_codec_main_amd.o := $(dsc_ccflags) 15CFLAGS_dc_dsc.o := $(dsc_ccflags) 16 17DSC = dc_dsc.o rc_calc.o rc_calc_dpi.o 18 19AMD_DAL_DSC = $(addprefix $(AMDDALPATH)/dc/dsc/,$(DSC)) 20 21AMD_DISPLAY_FILES += $(AMD_DAL_DSC) 22