summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorSushil Chauhan <sushilchauhan@codeaurora.org>2012-12-12 12:33:01 -0800
committerSushil Chauhan <sushilchauhan@codeaurora.org>2012-12-12 17:00:09 -0800
commitc6bd6d92c282c123915c2eb79163a58ad4a05bbb (patch)
treea92c0f219adda2ddb492df7dc936c84f1b16d3bd /common.mk
parente97c35ffb5844645941202bcc52973dfd3998744 (diff)
downloaddisplay-c6bd6d92c282c123915c2eb79163a58ad4a05bbb.tar.gz
display: Add target specific flag to support Venus color format
Venus color format is not supported on older platforms. Add target specific flag in display hal and define Venus macros to zero for older platforms. Change-Id: I38141ae870e255a0e54ce9fde46fe6cc3415f179
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 30896a88..ebfc8ec1 100644
--- a/common.mk
+++ b/common.mk
@@ -25,6 +25,10 @@ ifeq ($(ARCH_ARM_HAVE_NEON),true)
common_flags += -D__ARM_HAVE_NEON
endif
+ifeq ($(TARGET_BOARD_PLATFORM), msm8974)
+ common_flags += -DVENUS_COLOR_FORMAT
+endif
+
common_deps :=
kernel_includes :=