Use TARGET_NEEDS_EXYNOS4_ENHANCEMENTS

Change-Id: I3072e938eeff0d1ada0760f77c71782366da1e57
This commit is contained in:
Dominggoes Isakh 2017-09-06 21:08:35 +02:00
parent eacf8f127f
commit 9b21248cd4
3 changed files with 12 additions and 0 deletions

View file

@ -20,6 +20,10 @@ LOCAL_MODULE := libsecosal
LOCAL_CFLAGS :=
ifeq ($(TARGET_NEEDS_EXYNOS4_ENHANCEMENTS),true)
LOCAL_CFLAGS += -DEXYNOS4_ENHANCEMENTS
endif
ifeq ($(BOARD_USE_V4L2), false)
ifeq ($(BOARD_USE_S3D_SUPPORT), true)
LOCAL_CFLAGS += -DS3D_SUPPORT

View file

@ -55,4 +55,8 @@ ifeq ($(TARGET_SOC),exynos4x12)
LOCAL_CFLAGS += -DSAMSUNG_EXYNOS4x12
endif
ifeq ($(TARGET_NEEDS_EXYNOS4_ENHANCEMENTS),true)
LOCAL_CFLAGS += -DEXYNOS4_ENHANCEMENTS
endif
include $(BUILD_SHARED_LIBRARY)

View file

@ -31,6 +31,10 @@ LOCAL_SRC_FILES := SecHWCLog.cpp SecHWCUtils.cpp SecHWC.cpp
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../libfimg
ifeq ($(TARGET_NEEDS_EXYNOS4_ENHANCEMENTS),true)
LOCAL_CFLAGS += -DEXYNOS4_ENHANCEMENTS
endif
ifeq ($(TARGET_SOC),exynos4210)
LOCAL_CFLAGS += -DSAMSUNG_EXYNOS4210
endif