mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 23:56:45 +07:00
0ccbf11988
Use $(FULL_AMD_PATH) like everything else. Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
23 lines
574 B
Makefile
23 lines
574 B
Makefile
|
|
subdir-ccflags-y += -Iinclude/drm \
|
|
-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 \
|
|
-I$(FULL_AMD_PATH)/powerplay/eventmgr
|
|
|
|
AMD_PP_PATH = ../powerplay
|
|
|
|
PP_LIBS = smumgr hwmgr eventmgr
|
|
|
|
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)
|