aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-03-10 12:00:06 -0700
committerYing Wang <wangying@google.com>2015-03-11 10:39:09 -0700
commit5d72a91b852fbb66b9888618de1aeaeb54d120fe (patch)
tree84b92a3af74da0cf6ea0d92c311871658f063123
parent3f4408b13665bd82dd7edf5c76ed9dccc3a3fce7 (diff)
downloadf2fs-tools-5d72a91b852fbb66b9888618de1aeaeb54d120fe.tar.gz
Install mkfs.f2fs directly to the recovery image.
Previously it was installed to the ramdisk first and then got copied to the recovery.img. The depenency wsn't reliable in that way. Bug: 19666886 Change-Id: I3cb7c3e9b1db67fa2b8174c55ac12775f2cb5b28
-rw-r--r--Android.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index 48cdb55..beac59d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -64,11 +64,7 @@ LOCAL_MODULE := mkfs.f2fs
# mkfs.f2fs is used in recovery: must be static.
LOCAL_FORCE_STATIC_EXECUTABLE := true
-# Recovery needs it also, so it must go into root/sbin/.
-# Directly generating into the recovery/root/sbin gets clobbered
-# when the recovery image is being made.
-# LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
-LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN)
+LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
LOCAL_SRC_FILES := \
lib/libf2fs_io.c \