package/f2fs-tools: add host variant
Having a host variant of this package is useful to create f2fs filesystem images. Signed-off-by: Grzegorz Blach <grzegorz@blach.pl> [Thomas: add explicit --without-blkid and --without-selinux options, following the review from Yann E. Morin.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
8bba9e78d8
commit
a879a6bc28
@ -891,6 +891,7 @@ F: package/sofia-sip/
|
||||
|
||||
N: Grzegorz Blach <grzegorz@blach.pl>
|
||||
F: package/bluez5_utils-headers/
|
||||
F: package/f2fs-tools/
|
||||
F: package/pigpio/
|
||||
F: package/python-falcon/
|
||||
F: package/python-mimeparse/
|
||||
|
@ -16,6 +16,7 @@ menu "Host utilities"
|
||||
source "package/dtc/Config.in.host"
|
||||
source "package/e2fsprogs/Config.in.host"
|
||||
source "package/e2tools/Config.in.host"
|
||||
source "package/f2fs-tools/Config.in.host"
|
||||
source "package/faketime/Config.in.host"
|
||||
source "package/fwup/Config.in.host"
|
||||
source "package/genext2fs/Config.in.host"
|
||||
|
7
package/f2fs-tools/Config.in.host
Normal file
7
package/f2fs-tools/Config.in.host
Normal 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
|
@ -9,6 +9,7 @@ F2FS_TOOLS_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-to
|
||||
F2FS_TOOLS_SITE_METHOD = git
|
||||
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
|
||||
@ -29,4 +30,12 @@ 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))
|
||||
|
Loading…
Reference in New Issue
Block a user