drm/amdgpu: clean up path handling for powerplay

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>
This commit is contained in:
Alex Deucher 2016-03-15 11:22:27 -04:00
parent a82d397bff
commit 0ccbf11988
1 changed files with 7 additions and 7 deletions

View File

@ -1,17 +1,17 @@
subdir-ccflags-y += -Iinclude/drm \ subdir-ccflags-y += -Iinclude/drm \
-Idrivers/gpu/drm/amd/powerplay/inc/ \ -I$(FULL_AMD_PATH)/powerplay/inc/ \
-Idrivers/gpu/drm/amd/include/asic_reg \ -I$(FULL_AMD_PATH)/include/asic_reg \
-Idrivers/gpu/drm/amd/include \ -I$(FULL_AMD_PATH)/include \
-Idrivers/gpu/drm/amd/powerplay/smumgr\ -I$(FULL_AMD_PATH)/powerplay/smumgr\
-Idrivers/gpu/drm/amd/powerplay/hwmgr \ -I$(FULL_AMD_PATH)/powerplay/hwmgr \
-Idrivers/gpu/drm/amd/powerplay/eventmgr -I$(FULL_AMD_PATH)/powerplay/eventmgr
AMD_PP_PATH = ../powerplay AMD_PP_PATH = ../powerplay
PP_LIBS = smumgr hwmgr eventmgr PP_LIBS = smumgr hwmgr eventmgr
AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix drivers/gpu/drm/amd/powerplay/,$(PP_LIBS))) AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix $(FULL_AMD_PATH)/powerplay/,$(PP_LIBS)))
include $(AMD_POWERPLAY) include $(AMD_POWERPLAY)