summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-05-16 22:43:22 +0200
committerDavid Anderson <dvander@google.com>2018-05-30 22:24:30 +0200
commitedee8361d75715b9bc020d76fa8f38b005a6e912 (patch)
tree8aa3b917ac0d1a3a913ea92d84bc8607d5308bd9 /Android.mk
parentMerge "updater_sample: add UpdaterState" (diff)
downloadandroid_bootable_recovery-edee8361d75715b9bc020d76fa8f38b005a6e912.tar
android_bootable_recovery-edee8361d75715b9bc020d76fa8f38b005a6e912.tar.gz
android_bootable_recovery-edee8361d75715b9bc020d76fa8f38b005a6e912.tar.bz2
android_bootable_recovery-edee8361d75715b9bc020d76fa8f38b005a6e912.tar.lz
android_bootable_recovery-edee8361d75715b9bc020d76fa8f38b005a6e912.tar.xz
android_bootable_recovery-edee8361d75715b9bc020d76fa8f38b005a6e912.tar.zst
android_bootable_recovery-edee8361d75715b9bc020d76fa8f38b005a6e912.zip
Diffstat (limited to '')
-rw-r--r--Android.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 6aa91ea21..24da8b28a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -132,6 +132,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
adb_install.cpp \
+ fsck_unshare_blocks.cpp \
fuse_sdcard_provider.cpp \
install.cpp \
recovery.cpp \
@@ -192,6 +193,13 @@ LOCAL_REQUIRED_MODULES += \
endif
endif
+# e2fsck is needed for adb remount -R.
+ifeq ($(BOARD_EXT4_SHARE_DUP_BLOCKS),true)
+ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
+LOCAL_REQUIRED_MODULES += e2fsck_static
+endif
+endif
+
ifeq ($(BOARD_CACHEIMAGE_PARTITION_SIZE),)
LOCAL_REQUIRED_MODULES += \
recovery-persist \