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