summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-02-06 20:14:14 +0100
committerGerrit Code Review <gerrit2@gerrit>2014-02-06 20:14:14 +0100
commit4011c71f9813a9b3c13dab6ca01b69dddd6ec77b (patch)
treeeaa89da21aa9975ddb100da285aededddec69ff5 /Android.mk
parentMerge "minui: adapt backlight blanking commit to TWRP" into android-4.4 (diff)
parentLoad RTC offset on Qualcomm Krait chips, fixes the broken time & date (diff)
downloadandroid_bootable_recovery-4011c71f9813a9b3c13dab6ca01b69dddd6ec77b.tar
android_bootable_recovery-4011c71f9813a9b3c13dab6ca01b69dddd6ec77b.tar.gz
android_bootable_recovery-4011c71f9813a9b3c13dab6ca01b69dddd6ec77b.tar.bz2
android_bootable_recovery-4011c71f9813a9b3c13dab6ca01b69dddd6ec77b.tar.lz
android_bootable_recovery-4011c71f9813a9b3c13dab6ca01b69dddd6ec77b.tar.xz
android_bootable_recovery-4011c71f9813a9b3c13dab6ca01b69dddd6ec77b.tar.zst
android_bootable_recovery-4011c71f9813a9b3c13dab6ca01b69dddd6ec77b.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index ff1f5a2f6..4ab358a9d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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)