From 4a18558c695dd147aa7cf82e438b3fba1ddabce9 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Fri, 28 Apr 2017 15:45:26 +0300 Subject: Improve automatic detection of QCOM RTC fix * Enable it on all platforms after msm8960 Change-Id: I2584048a9b9fa77c6c7d3408d280811143b01e8d --- Android.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index 151be4163..04b8653e1 100644 --- a/Android.mk +++ b/Android.mk @@ -340,7 +340,9 @@ else LOCAL_CFLAGS += -DTW_EXCLUDE_ENCRYPTED_BACKUPS endif ifeq ($(TARGET_RECOVERY_QCOM_RTC_FIX),) - ifeq ($(TARGET_CPU_VARIANT),krait) + ifneq ($(filter msm8226 msm8x26 msm8610 msm8974 msm8x74 msm8084 msm8x84 apq8084 msm8909 msm8916 msm8992 msm8994 msm8952 msm8996 msm8937 msm8953 msm8998,$(TARGET_BOARD_PLATFORM)),) + LOCAL_CFLAGS += -DQCOM_RTC_FIX + else ifeq ($(TARGET_CPU_VARIANT),krait) LOCAL_CFLAGS += -DQCOM_RTC_FIX endif else ifeq ($(TARGET_RECOVERY_QCOM_RTC_FIX),true) -- cgit v1.2.3