forked from Minki/linux
248a1d6f1a
Include <drm/*.h> instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-4-git-send-email-yamada.masahiro@socionext.com
23 lines
559 B
Makefile
23 lines
559 B
Makefile
|
|
subdir-ccflags-y += \
|
|
-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)
|