summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/Makefile
blob: 043e6ebab5757915ed964aca20bc537158866da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

subdir-ccflags-y += -Iinclude/drm  \
		-I$(FULL_AMD_PATH)/powerplay/inc/  \
		-I$(FULL_AMD_PATH)/include/asic_reg  \
		-I$(FULL_AMD_PATH)/include  \
		-I$(FULL_AMD_PATH)/powerplay/smumgr\
		-I$(FULL_AMD_PATH)/powerplay/hwmgr \
		-I$(FULL_AMD_PATH)/powerplay/eventmgr

AMD_PP_PATH = ../powerplay

PP_LIBS = smumgr hwmgr eventmgr

AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix $(FULL_AMD_PATH)/powerplay/,$(PP_LIBS)))

include $(AMD_POWERPLAY)

POWER_MGR = amd_powerplay.o

AMD_PP_POWER = $(addprefix $(AMD_PP_PATH)/,$(POWER_MGR))

AMD_POWERPLAY_FILES += $(AMD_PP_POWER)