diff options
author | Jon Ringle <jringle@gridpoint.com> | 2014-10-30 15:32:55 -0400 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-11-13 17:31:26 +0100 |
commit | 092cd0e3b6997c997dc051cf5072f6ca2f8f4eb9 (patch) | |
tree | 46eaca6ac7ba63aa4989d4abce36dabb2cba137e /rules/f2fs-tools.make | |
parent | 6fe3789a0979ea80db8788ccfbef9d57da37b556 (diff) | |
download | ptxdist-092cd0e3b6997c997dc051cf5072f6ca2f8f4eb9.tar.gz ptxdist-092cd0e3b6997c997dc051cf5072f6ca2f8f4eb9.tar.xz |
f2fs-tools: new package
The f2fs-tools package provides the filesystem utilities for use
with the f2fs filesystem (flash-friendly filesystem)
https://www.kernel.org/doc/Documentation/filesystems/f2fs.txt
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
[mol: use autogen.sh and disable for big-endian]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/f2fs-tools.make')
-rw-r--r-- | rules/f2fs-tools.make | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/rules/f2fs-tools.make b/rules/f2fs-tools.make new file mode 100644 index 000000000..fc8cb9ef1 --- /dev/null +++ b/rules/f2fs-tools.make @@ -0,0 +1,65 @@ +# -*-makefile-*- +# +# Copyright (C) 2014 by Jon Ringle +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +ifndef PTXCONF_ENDIAN_BIG +PACKAGES-$(PTXCONF_F2FS_TOOLS) += f2fs-tools +endif + +# +# Paths and names +# +F2FS_TOOLS_VERSION := 1.4.0 +F2FS_TOOLS_MD5 := 0c3e7f46c781449a5a9523d633b19740 +F2FS_TOOLS := f2fs-tools-$(F2FS_TOOLS_VERSION) +F2FS_TOOLS_SUFFIX := tar.xz +F2FS_TOOLS_URL := git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git;tag=v$(F2FS_TOOLS_VERSION) +F2FS_TOOLS_SOURCE := $(SRCDIR)/$(F2FS_TOOLS).$(F2FS_TOOLS_SUFFIX) +F2FS_TOOLS_DIR := $(BUILDDIR)/$(F2FS_TOOLS) +F2FS_TOOLS_LICENSE := GPLv2+ LGPLv2.1+ + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +F2FS_TOOLS_CONF_ENV := \ + $(CROSS_ENV) \ + ac_cv_file__git=no + +# +# autoconf +# +F2FS_TOOLS_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/f2fs-tools.targetinstall: + @$(call targetinfo) + + @$(call install_init, f2fs-tools) + @$(call install_fixup, f2fs-tools,PRIORITY,optional) + @$(call install_fixup, f2fs-tools,SECTION,base) + @$(call install_fixup, f2fs-tools,AUTHOR,"Jon Ringle") + @$(call install_fixup, f2fs-tools,DESCRIPTION,missing) + + @$(call install_copy, f2fs-tools, 0, 0, 0755, -, /sbin/mkfs.f2fs) + @$(call install_copy, f2fs-tools, 0, 0, 0755, -, /sbin/fsck.f2fs) + + @$(call install_lib, f2fs-tools, 0, 0, 0644, libf2fs) + + @$(call install_finish, f2fs-tools) + + @$(call touch) + +# vim: syntax=make |