diff options
| author | Grzegorz Blach <grzegorz@blach.pl> | 2018-10-26 22:00:15 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-11-03 15:02:07 +0100 |
| commit | a879a6bc28cb5378ed692a04f50dc265b3e9d8b2 (patch) | |
| tree | 3ae70e2c9ce1ede763493b9cce03bcc57930a915 /package/f2fs-tools | |
| parent | 8bba9e78d886fe7958fbbd9c02f93e9d4bec04c3 (diff) | |
| download | buildroot-a879a6bc28cb5378ed692a04f50dc265b3e9d8b2.tar.gz buildroot-a879a6bc28cb5378ed692a04f50dc265b3e9d8b2.zip | |
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>
Diffstat (limited to 'package/f2fs-tools')
| -rw-r--r-- | package/f2fs-tools/Config.in.host | 7 | ||||
| -rw-r--r-- | package/f2fs-tools/f2fs-tools.mk | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/package/f2fs-tools/Config.in.host b/package/f2fs-tools/Config.in.host new file mode 100644 index 0000000000..19c77b9c89 --- /dev/null +++ b/package/f2fs-tools/Config.in.host @@ -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 diff --git a/package/f2fs-tools/f2fs-tools.mk b/package/f2fs-tools/f2fs-tools.mk index 119cef35cc..ba16218bda 100644 --- a/package/f2fs-tools/f2fs-tools.mk +++ b/package/f2fs-tools/f2fs-tools.mk @@ -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)) |

