Alex Deucher | 1f7371b | 2015-12-02 17:46:21 -0500 | [diff] [blame] | 1 | |
Masahiro Yamada | 248a1d6 | 2017-04-24 13:50:21 +0900 | [diff] [blame^] | 2 | subdir-ccflags-y += \ |
Alex Deucher | 0ccbf11 | 2016-03-15 11:22:27 -0400 | [diff] [blame] | 3 | -I$(FULL_AMD_PATH)/powerplay/inc/ \ |
| 4 | -I$(FULL_AMD_PATH)/include/asic_reg \ |
| 5 | -I$(FULL_AMD_PATH)/include \ |
| 6 | -I$(FULL_AMD_PATH)/powerplay/smumgr\ |
| 7 | -I$(FULL_AMD_PATH)/powerplay/hwmgr \ |
| 8 | -I$(FULL_AMD_PATH)/powerplay/eventmgr |
Alex Deucher | 1f7371b | 2015-12-02 17:46:21 -0500 | [diff] [blame] | 9 | |
| 10 | AMD_PP_PATH = ../powerplay |
| 11 | |
Rex Zhu | e92a037 | 2015-09-23 15:14:54 +0800 | [diff] [blame] | 12 | PP_LIBS = smumgr hwmgr eventmgr |
Jammy Zhou | ac885b3 | 2015-07-21 17:43:02 +0800 | [diff] [blame] | 13 | |
Alex Deucher | 0ccbf11 | 2016-03-15 11:22:27 -0400 | [diff] [blame] | 14 | AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix $(FULL_AMD_PATH)/powerplay/,$(PP_LIBS))) |
Jammy Zhou | ac885b3 | 2015-07-21 17:43:02 +0800 | [diff] [blame] | 15 | |
Alex Deucher | 1f7371b | 2015-12-02 17:46:21 -0500 | [diff] [blame] | 16 | include $(AMD_POWERPLAY) |
| 17 | |
| 18 | POWER_MGR = amd_powerplay.o |
| 19 | |
| 20 | AMD_PP_POWER = $(addprefix $(AMD_PP_PATH)/,$(POWER_MGR)) |
| 21 | |
| 22 | AMD_POWERPLAY_FILES += $(AMD_PP_POWER) |