83 lines · 2.3 KB · Makefile
RawDownload
## Copyright 2017 Advanced Micro Devices, Inc.## Permission is hereby granted, free of charge, to any person obtaining a# copy of this software and associated documentation files (the "Software"),# to deal in the Software without restriction, including without limitation# the rights to use, copy, modify, merge, publish, distribute, sublicense,# and/or sell copies of the Software, and to permit persons to whom the# Software is furnished to do so, subject to the following conditions:## The above copyright notice and this permission notice shall be included in# all copies or substantial portions of the Software.## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR# OTHER DEALINGS IN THE SOFTWARE.### Makefile for Display Core (dc) component. DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link dsc resource optc dpp hubbub dccg hubp dio dwb hpo mmhubbub mpc opp pg ifdef CONFIG_DRM_AMD_DC_FP KCOV_INSTRUMENT := n DC_LIBS += dcn10DC_LIBS += dcn20DC_LIBS += dcn21DC_LIBS += dcn201DC_LIBS += dcn30DC_LIBS += dcn301DC_LIBS += dcn31DC_LIBS += dmlDC_LIBS += dml2_0DC_LIBS += soc_and_ip_translatorendif DC_LIBS += dce120 DC_LIBS += dce112DC_LIBS += dce110DC_LIBS += dce80 ifdef CONFIG_DRM_AMD_DC_SIDC_LIBS += dce60endif DC_LIBS += hdcp ifdef CONFIG_DRM_AMD_DC_FPDC_LIBS += ssplAMD_DISPLAY_FILES += $(addprefix $(AMDDALPATH)/dc/, dc_spl_translate.o)endif AMD_DC = $(addsuffix /Makefile, $(addprefix $(FULL_AMD_DISPLAY_PATH)/dc/,$(DC_LIBS))) include $(AMD_DC) FILES =FILES += dc_dmub_srv.oFILES += dc_edid_parser.oFILES += dc_fused_io.oFILES += dc_helper.oFILES += core/dc.oFILES += core/dc_debug.oFILES += core/dc_hw_sequencer.oFILES += core/dc_link_enc_cfg.oFILES += core/dc_link_exports.oFILES += core/dc_resource.oFILES += core/dc_sink.oFILES += core/dc_stat.oFILES += core/dc_state.oFILES += core/dc_stream.oFILES += core/dc_surface.oFILES += core/dc_vm_helper.o AMD_DISPLAY_FILES += $(addprefix $(AMDDALPATH)/dc/, $(FILES))