[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_F2FS_TOOLS
bool "f2fs-tools"
depends on BR2_USE_WCHAR # uses wchar_t
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
Tools for Flash-Friendly File System (F2FS)
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
comment "f2fs-tools needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_HOST_F2FS_TOOLS
bool "host f2fs-tools"
select BR2_PACKAGE_HOST_UTIL_LINUX
help
Tools for Flash-Friendly File System (F2FS)
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git

View File

@ -0,0 +1,3 @@
# Locally computed
sha256 147d471040b44900283ce2c935f1d35d13d7f40008e7cb8fab2b69f54da01a4f f2fs-tools-1.15.0.tar.gz
sha256 662abb3a8a80b36ae7036c289dd1e03b361ee5dd2e6fd5211d0d8d029146449f COPYING

View File

@ -0,0 +1,40 @@
################################################################################
#
# f2fs-tools
#
################################################################################
F2FS_TOOLS_VERSION = 1.15.0
F2FS_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot
F2FS_TOOLS_CONF_ENV = ac_cv_file__git=no
F2FS_TOOLS_DEPENDENCIES = host-pkgconf util-linux
HOST_F2FS_TOOLS_DEPENDENCIES = host-pkgconf host-util-linux
# GIT version, shipped without configure
F2FS_TOOLS_AUTORECONF = YES
F2FS_TOOLS_INSTALL_STAGING = YES
F2FS_TOOLS_LICENSE = GPL-2.0
F2FS_TOOLS_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
F2FS_TOOLS_CONF_OPTS += --with-selinux
F2FS_TOOLS_DEPENDENCIES += libselinux
else
F2FS_TOOLS_CONF_OPTS += --without-selinux
endif
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y)
# util-linux is a dependency already, no need to list it again
F2FS_TOOLS_CONF_OPTS += --with-blkid
else
F2FS_TOOLS_CONF_OPTS += --without-blkid
endif
# blkid is only used to detect if we're overwriting a filesystem
# during mkfs, which only makes sense on the target, so we disable
# blkid support even if we have host-util-linux
HOST_F2FS_TOOLS_CONF_OPTS = \
--without-selinux \
--without-blkid
$(eval $(autotools-package))
$(eval $(host-autotools-package))