!15 Rename file README to README.md

Merge pull request !15 from xlfeng/master
This commit is contained in:
openharmony_ci 2022-05-11 12:54:41 +00:00 committed by Gitee
commit f89bd9765c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -19,32 +19,32 @@ Initial compilation
Before compilation initially, autoconf/automake tools should be run.
# ./autogen.sh
./autogen.sh
How to compile
--------------
# ./configure
# make
# make install
./configure
make
make install
How to cross-compile (e.g., for ARM)
------------------------------------
1. Add the below line into mkfs/Makefile.am:
mkfs_f2fs_LDFLAGS = -all-static
1. Add the below line into mkfs/Makefile.am:
mkfs_f2fs_LDFLAGS = -all-static
2. Add the below line into fsck/Makefile.am:
fsck_f2fs_LDFLAGS = -all-static
2. Add the below line into fsck/Makefile.am:
fsck_f2fs_LDFLAGS = -all-static
3. then, do:
# LDFLAGS=--static ./configure \
--host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi
# make
3. then, do:
LDFLAGS=--static ./configure \
--host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi
make
How to run by default
---------------------
$ mkfs.f2fs -l [LABEL] $DEV
mkfs.f2fs -l [LABEL] $DEV
For more mkfs options, see man page.