mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 01:59:54 +00:00
ce64ea0815
This adds support for f2fs casefolding. Similarly to ext4 casefolding, this is controlled per-folder via the +F attribute. It can be toggled on empty directories only. It is not currently compatible with encryption, but that will likely change. When enabling the casefold feature, use the -C flag. The format is: -C encoding[:flag1,flag2,etc] Signed-off-by: Daniel Rosenberg <drosen@google.com> [Jaegeuk Kim: print "casefold" in sb->feature] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
26 lines
881 B
Makefile
26 lines
881 B
Makefile
## Makefile.am
|
|
|
|
lib_LTLIBRARIES = libf2fs.la
|
|
|
|
libf2fs_la_SOURCES = libf2fs.c libf2fs_io.c libf2fs_zoned.c nls_utf8.c
|
|
libf2fs_la_CFLAGS = -Wall
|
|
libf2fs_la_CPPFLAGS = -I$(top_srcdir)/include
|
|
libf2fs_la_LDFLAGS = -version-info $(LIBF2FS_CURRENT):$(LIBF2FS_REVISION):$(LIBF2FS_AGE)
|
|
|
|
root_libdir=@root_libdir@
|
|
|
|
install-exec-hook:
|
|
if test -n "$(root_libdir)" -a "$(libdir)" != "$(root_libdir)" -a \
|
|
-f "$(DESTDIR)$(libdir)/libf2fs.so"; then \
|
|
$(MKDIR_P) $(DESTDIR)$(root_libdir); \
|
|
mv $(DESTDIR)$(libdir)/libf2fs.so.* $(DESTDIR)$(root_libdir); \
|
|
so_img_name=$$(readlink $(DESTDIR)$(libdir)/libf2fs.so); \
|
|
so_img_rel_target=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
|
|
(cd $(DESTDIR)$(libdir) && \
|
|
rm -f libf2fs.so && \
|
|
$(LN_S) $$so_img_rel_target$(root_libdir)/$$so_img_name libf2fs.so); \
|
|
fi
|
|
|
|
uninstall-hook:
|
|
rm -f $(DESTDIR)$(root_libdir)/libf2fs.so*
|