From c6bd6d92c282c123915c2eb79163a58ad4a05bbb Mon Sep 17 00:00:00 2001 From: Sushil Chauhan Date: Wed, 12 Dec 2012 12:33:01 -0800 Subject: 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 --- common.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common.mk') 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 := -- cgit v1.2.3