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 12ifdef CONFIG_CC_IS_CLANG 13dsc_ccflags += -msse2 14endif 15 16CFLAGS_rc_calc.o := $(dsc_ccflags) 17CFLAGS_rc_calc_dpi.o := $(dsc_ccflags) 18CFLAGS_codec_main_amd.o := $(dsc_ccflags) 19CFLAGS_dc_dsc.o := $(dsc_ccflags) 20 21DSC = dc_dsc.o rc_calc.o rc_calc_dpi.o 22 23AMD_DAL_DSC = $(addprefix $(AMDDALPATH)/dc/dsc/,$(DSC)) 24 25AMD_DISPLAY_FILES += $(AMD_DAL_DSC) 26