summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorSaurabh Shah <saurshah@codeaurora.org>2016-06-27 16:40:58 -0700
committerSaurabh Shah <saurshah@codeaurora.org>2017-02-07 14:37:24 -0800
commit7d476edfb3059ad2d5f2afc5bd0320f4f8c05405 (patch)
treea28d9be1f707743af1f34785db3fba33231005a0 /common.mk
parente37bdceb5724a5288519eed7798a940808a52c1b (diff)
downloaddisplay-7d476edfb3059ad2d5f2afc5bd0320f4f8c05405.tar.gz
sdm: drm: Add support for default non-atomic mode
Add support for booting up with default non-atomic mode Add libdrmutils that currently has: DRMMaster: Creates a master DRM session Converts ION handles to DRM FB_ID DRMResMgr: Enables a default display path by providing APIs for connector id, crtc id, mode etc Change-Id: I1dc697d2cc5e3fa744c99e2c9ddd57bf06e78c4f CRs-fixed: 1114808
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 54129bf6..f1053305 100644
--- a/common.mk
+++ b/common.mk
@@ -4,6 +4,9 @@ display_top := $(call my-dir)
#Common C flags
common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
common_flags += -Wconversion -Wall -Werror -std=c++11
+ifneq ($(TARGET_IS_HEADLESS), true)
+ common_flags += -DCOMPILE_DRM
+endif
ifeq ($(TARGET_USES_COLOR_METADATA), true)
common_flags += -DUSE_COLOR_METADATA
@@ -28,6 +31,7 @@ common_includes += $(display_top)/libqservice
common_includes += $(display_top)/gpu_tonemapper
ifneq ($(TARGET_IS_HEADLESS), true)
common_includes += $(display_top)/libcopybit
+ common_includes += $(display_top)/libdrmutils
endif
common_includes += $(display_top)/include