2015-12-03 06:46:21 +08:00
|
|
|
|
|
|
|
subdir-ccflags-y += -Iinclude/drm \
|
|
|
|
-Idrivers/gpu/drm/amd/powerplay/inc/ \
|
|
|
|
-Idrivers/gpu/drm/amd/include/asic_reg \
|
2015-08-18 15:28:32 +08:00
|
|
|
-Idrivers/gpu/drm/amd/include \
|
|
|
|
-Idrivers/gpu/drm/amd/powerplay/smumgr\
|
|
|
|
-Idrivers/gpu/drm/amd/powerplay/hwmgr \
|
|
|
|
-Idrivers/gpu/drm/amd/powerplay/eventmgr
|
2015-12-03 06:46:21 +08:00
|
|
|
|
|
|
|
AMD_PP_PATH = ../powerplay
|
|
|
|
|
2015-09-23 15:14:54 +08:00
|
|
|
PP_LIBS = smumgr hwmgr eventmgr
|
2015-07-21 17:43:02 +08:00
|
|
|
|
|
|
|
AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix drivers/gpu/drm/amd/powerplay/,$(PP_LIBS)))
|
|
|
|
|
2015-12-03 06:46:21 +08:00
|
|
|
include $(AMD_POWERPLAY)
|
|
|
|
|
|
|
|
POWER_MGR = amd_powerplay.o
|
|
|
|
|
|
|
|
AMD_PP_POWER = $(addprefix $(AMD_PP_PATH)/,$(POWER_MGR))
|
|
|
|
|
|
|
|
AMD_POWERPLAY_FILES += $(AMD_PP_POWER)
|