Load RTC offset on Qualcomm Krait chips, fixes the broken time & date

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: I04ad07f3e6be961003e063be8c648e191e2f9431
This commit is contained in:
Vojtech Bocek
2014-02-03 23:36:57 +01:00
parent e0a433a94d
commit d0e38bc2f4
4 changed files with 104 additions and 0 deletions
+7
View File
@@ -265,6 +265,13 @@ ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true)
else
LOCAL_CFLAGS += -DTW_EXCLUDE_ENCRYPTED_BACKUPS
endif
ifeq ($(TARGET_RECOVERY_QCOM_RTC_FIX),)
ifeq ($(TARGET_CPU_VARIANT),krait)
LOCAL_CFLAGS += -DQCOM_RTC_FIX
endif
else ifeq ($(TARGET_RECOVERY_QCOM_RTC_FIX),true)
LOCAL_CFLAGS += -DQCOM_RTC_FIX
endif
include $(BUILD_EXECUTABLE)