diff options
author | Jeff Sharkey <jsharkey@android.com> | 2015-05-22 14:36:53 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2015-05-27 14:57:11 -0700 |
commit | 3686eecd8c8511ae7ecd7611a2f065b48b484b13 (patch) | |
tree | 91639f822cc154d56ac25deb3d0baffa4bb71623 /Android.mk | |
parent | 0ba31900a9bb7df6067feabc83bc7c18f04eb1d2 (diff) | |
download | android_external_f2fs-tools-3686eecd8c8511ae7ecd7611a2f065b48b484b13.tar.gz android_external_f2fs-tools-3686eecd8c8511ae7ecd7611a2f065b48b484b13.tar.bz2 android_external_f2fs-tools-3686eecd8c8511ae7ecd7611a2f065b48b484b13.zip |
Add make_f2fs module for device.
We now have a lightweight binary (not statically linked) to create
f2fs filesystems on a device. Leaves the existing mkfs.f2fs intact
for recovery to continue using.
Bug: 20275581
Change-Id: Ibe0495ee6fa620f76d77f4dd0b89012ce9682b1b
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -77,6 +77,21 @@ include $(BUILD_EXECUTABLE) #---------------------------------------------------------- include $(CLEAR_VARS) +LOCAL_MODULE := make_f2fs + +LOCAL_SRC_FILES := \ + lib/libf2fs_io.c \ + mkfs/f2fs_format_main.c +LOCAL_C_INCLUDES := $(common_C_INCLUDES) +LOCAL_CFLAGS := $(version_CFLAGS) +LOCAL_STATIC_LIBRARIES := libf2fs_fmt +LOCAL_SHARED_LIBRARIES := libext2_uuid +LOCAL_SYSTEM_SHARED_LIBRARIES := libc +LOCAL_MODULE_TAGS := optional +include $(BUILD_EXECUTABLE) + +#---------------------------------------------------------- +include $(CLEAR_VARS) # The LOCAL_MODULE name is referenced by the code. Don't change it. LOCAL_MODULE := fsck.f2fs LOCAL_SRC_FILES := \ |