summaryrefslogtreecommitdiffstats
path: root/updater/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'updater/Android.mk')
-rw-r--r--updater/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/updater/Android.mk b/updater/Android.mk
index 3d2591391..b6955455a 100644
--- a/updater/Android.mk
+++ b/updater/Android.mk
@@ -74,6 +74,10 @@ LOCAL_CFLAGS := \
-Wall \
-Werror
+ifeq ($(BOARD_SUPPRESS_EMMC_WIPE),true)
+ LOCAL_CFLAGS += -DSUPPRESS_EMMC_WIPE
+endif
+
LOCAL_EXPORT_C_INCLUDE_DIRS := \
$(LOCAL_PATH)/include