mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 03:17:59 +07:00
df1e639420
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
22 lines
508 B
Makefile
22 lines
508 B
Makefile
|
|
subdir-ccflags-y += \
|
|
-I$(FULL_AMD_PATH)/powerplay/inc/ \
|
|
-I$(FULL_AMD_PATH)/include/asic_reg \
|
|
-I$(FULL_AMD_PATH)/include \
|
|
-I$(FULL_AMD_PATH)/powerplay/smumgr\
|
|
-I$(FULL_AMD_PATH)/powerplay/hwmgr
|
|
|
|
AMD_PP_PATH = ../powerplay
|
|
|
|
PP_LIBS = smumgr hwmgr
|
|
|
|
AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix $(FULL_AMD_PATH)/powerplay/,$(PP_LIBS)))
|
|
|
|
include $(AMD_POWERPLAY)
|
|
|
|
POWER_MGR = amd_powerplay.o
|
|
|
|
AMD_PP_POWER = $(addprefix $(AMD_PP_PATH)/,$(POWER_MGR))
|
|
|
|
AMD_POWERPLAY_FILES += $(AMD_PP_POWER)
|