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
diff --git a/common.mk b/common.mk
index 30896a8..ebfc8ec 100644
--- a/common.mk
+++ b/common.mk
@@ -25,6 +25,10 @@
common_flags += -D__ARM_HAVE_NEON
endif
+ifeq ($(TARGET_BOARD_PLATFORM), msm8974)
+ common_flags += -DVENUS_COLOR_FORMAT
+endif
+
common_deps :=
kernel_includes :=