diff options
| author | Michael Forney <mforney@mforney.org> | 2020-02-22 17:22:30 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-03-01 19:24:52 -0800 |
| commit | b8450d1d4cc65064a053328ca3e5939d44895c09 (patch) | |
| tree | ee40793c3fd96b6cc28174b8b1d41d19ee728660 /pkg/f2fs-tools/gen.lua | |
| parent | a008fe2867d95352d04d93b9a0f7db1b1079d4cc (diff) | |
Add f2fs-tools 1.13.0
Diffstat (limited to 'pkg/f2fs-tools/gen.lua')
| -rw-r--r-- | pkg/f2fs-tools/gen.lua | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkg/f2fs-tools/gen.lua b/pkg/f2fs-tools/gen.lua new file mode 100644 index 00000000..adaa7a55 --- /dev/null +++ b/pkg/f2fs-tools/gen.lua @@ -0,0 +1,32 @@ +cflags{ + '-Wall', + '-D HAVE_CONFIG_H', + '-I $dir', + '-I $srcdir/include', + '-I $builddir/pkg/util-linux/include', +} + +pkg.deps = { + 'pkg/util-linux/headers', +} + +lib('libf2fs.a', 'lib/(libf2fs.c libf2fs_io.c libf2fs_zoned.c nls_utf8.c)') + +exe('mkfs.f2fs', [[ + mkfs/(f2fs_format_main.c f2fs_format.c f2fs_format_utils.c) + libf2fs.a + $builddir/pkg/util-linux/libuuid.a.d +]]) +file('bin/mkfs.f2fs', '755', '$outdir/mkfs.f2fs') +man{'man/mkfs.f2fs.8'} + +exe('fsck.f2fs', [[ + fsck/( + main.c fsck.c dump.c mount.c defrag.c resize.c + node.c segment.c dir.c sload.c xattr.c + dict.c mkquota.c quotaio.c quotaio_tree.c quotaio_v2.c + ) + libf2fs.a +]]) +file('bin/fsck.f2fs', '755', '$outdir/fsck.f2fs') +man{'man/fsck.f2fs.8'} |
