summaryrefslogtreecommitdiffstats
path: root/bootloader_message/Android.mk
diff options
context:
space:
mode:
authornailyk-fr <nailyk_git@nailyk.fr>2016-12-18 14:32:25 +0100
committerDees Troy <dees_troy@teamw.in>2017-01-11 18:09:59 +0100
commit1021edf17ed57f193724a953dd159e7717e9553a (patch)
tree915c6cf1604fefd52239fda6865fb0d589879b85 /bootloader_message/Android.mk
parentSupport theme width and height offsets (diff)
downloadandroid_bootable_recovery-1021edf17ed57f193724a953dd159e7717e9553a.tar
android_bootable_recovery-1021edf17ed57f193724a953dd159e7717e9553a.tar.gz
android_bootable_recovery-1021edf17ed57f193724a953dd159e7717e9553a.tar.bz2
android_bootable_recovery-1021edf17ed57f193724a953dd159e7717e9553a.tar.lz
android_bootable_recovery-1021edf17ed57f193724a953dd159e7717e9553a.tar.xz
android_bootable_recovery-1021edf17ed57f193724a953dd159e7717e9553a.tar.zst
android_bootable_recovery-1021edf17ed57f193724a953dd159e7717e9553a.zip
Diffstat (limited to '')
-rw-r--r--bootloader_message/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloader_message/Android.mk b/bootloader_message/Android.mk
index 8653fd525..1d5c85fe3 100644
--- a/bootloader_message/Android.mk
+++ b/bootloader_message/Android.mk
@@ -37,5 +37,9 @@ else
LOCAL_SHARED_LIBRARIES += libc++
endif
LOCAL_CFLAGS := -DEXCLUDE_FS_MGR
+# ignore bootloader's factory reset command even when written to /misc
+ifeq ($(TW_IGNORE_MISC_WIPE_DATA), true)
+ LOCAL_CFLAGS += -DIGNORE_MISC_WIPE_DATA
+endif
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
include $(BUILD_SHARED_LIBRARY)