diff options
author | JP Abgrall <jpa@google.com> | 2014-06-17 17:01:14 -0700 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2014-06-17 17:01:14 -0700 |
commit | 1235158c29909132fbe9aa52939061fc81f0800e (patch) | |
tree | 281e8e34a649d2fe05062228e10a25650965faa1 /fastboot/Android.mk | |
parent | e1f7c176f6e6fe9349f3c238bde31c62b09e534a (diff) | |
download | system_core-1235158c29909132fbe9aa52939061fc81f0800e.zip system_core-1235158c29909132fbe9aa52939061fc81f0800e.tar.gz system_core-1235158c29909132fbe9aa52939061fc81f0800e.tar.bz2 |
F2FS support for fastboot format and fsmgr
- Enables fsck.f2fs for partitions with type F2FS.
- Adds support for f2fs as format fs-type.
- f2fs is optional and support is dlopen()d when needed.
Needs changes in
system/extras/f2fs_utils
external/f2fs-tools
Change-Id: I8d141a0d4d14df9fe84d3b131484e9696fcd8870
Signed-off-by: JP Abgrall <jpa@google.com>
Diffstat (limited to 'fastboot/Android.mk')
-rw-r--r-- | fastboot/Android.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fastboot/Android.mk b/fastboot/Android.mk index 73794a0..8fc1f0b 100644 --- a/fastboot/Android.mk +++ b/fastboot/Android.mk @@ -17,7 +17,8 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_C_INCLUDES := $(LOCAL_PATH)/../mkbootimg \ - $(LOCAL_PATH)/../../extras/ext4_utils + $(LOCAL_PATH)/../../extras/ext4_utils \ + $(LOCAL_PATH)/../../extras/f2fs_utils LOCAL_SRC_FILES := protocol.c engine.c bootimg.c fastboot.c util.c fs.c LOCAL_MODULE := fastboot LOCAL_MODULE_TAGS := debug @@ -50,14 +51,20 @@ ifeq ($(HOST_OS),windows) LOCAL_C_INCLUDES += development/host/windows/usb/api endif +# The following libf2fs_* are from system/extras/f2fs_utils, +# and do not use code in external/f2fs-tools. LOCAL_STATIC_LIBRARIES := \ $(EXTRA_STATIC_LIBS) \ libzipfile \ libunz \ libext4_utils_host \ + libf2fs_utils_host \ + libf2fs_dlutils_host \ libsparse_host \ libz - +# libf2fs_dlutils_host will dlopen("libf2fs_fmt_host_dyn") +LOCAL_LDLIBS := -ldl +LOCAL_SHARED_LIBRARIES := libf2fs_fmt_host_dyn ifneq ($(HOST_OS),windows) LOCAL_STATIC_LIBRARIES += libselinux endif # HOST_OS != windows |