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