Alex Deucher | 1f7371b | 2015-12-02 17:46:21 -0500 | [diff] [blame] | 1 | |
| 2 | subdir-ccflags-y += -Iinclude/drm \ |
| 3 | -Idrivers/gpu/drm/amd/powerplay/inc/ \ |
| 4 | -Idrivers/gpu/drm/amd/include/asic_reg \ |
| 5 | -Idrivers/gpu/drm/amd/include |
| 6 | |
| 7 | AMD_PP_PATH = ../powerplay |
| 8 | |
Jammy Zhou | ac885b3 | 2015-07-21 17:43:02 +0800 | [diff] [blame^] | 9 | PP_LIBS = smumgr |
| 10 | |
| 11 | AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix drivers/gpu/drm/amd/powerplay/,$(PP_LIBS))) |
| 12 | |
Alex Deucher | 1f7371b | 2015-12-02 17:46:21 -0500 | [diff] [blame] | 13 | include $(AMD_POWERPLAY) |
| 14 | |
| 15 | POWER_MGR = amd_powerplay.o |
| 16 | |
| 17 | AMD_PP_POWER = $(addprefix $(AMD_PP_PATH)/,$(POWER_MGR)) |
| 18 | |
| 19 | AMD_POWERPLAY_FILES += $(AMD_PP_POWER) |