Commit 37172013 authored by Matthias Kaehlcke's avatar Matthias Kaehlcke Committed by Alex Deucher
Browse files

amdgpu/dc/calcs: Consolidate redundant CFLAGS



Use a variable for common CFLAGS instead of specifying the same flags
for every source file.

Signed-off-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4007e92b
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -24,9 +24,11 @@
# It calculates Bandwidth and Watermarks values for HW programming
#

CFLAGS_dcn_calcs.o := -mhard-float -msse -mpreferred-stack-boundary=4
CFLAGS_dcn_calc_auto.o := -mhard-float -msse -mpreferred-stack-boundary=4
CFLAGS_dcn_calc_math.o := -mhard-float -msse -mpreferred-stack-boundary=4 -Wno-tautological-compare
calcs_ccflags := -mhard-float -msse -mpreferred-stack-boundary=4

CFLAGS_dcn_calcs.o := $(calcs_ccflags)
CFLAGS_dcn_calc_auto.o := $(calcs_ccflags)
CFLAGS_dcn_calc_math.o := $(calcs_ccflags) -Wno-tautological-compare

BW_CALCS = dce_calcs.o bw_fixed.o custom_float.o