1################################################################################ 2# 3# f2fs-tools 4# 5################################################################################ 6 7F2FS_TOOLS_VERSION = 1.14.0 8F2FS_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot 9F2FS_TOOLS_CONF_ENV = ac_cv_file__git=no 10F2FS_TOOLS_DEPENDENCIES = host-pkgconf util-linux 11HOST_F2FS_TOOLS_DEPENDENCIES = host-pkgconf host-util-linux 12# GIT version, shipped without configure 13F2FS_TOOLS_AUTORECONF = YES 14F2FS_TOOLS_INSTALL_STAGING = YES 15F2FS_TOOLS_LICENSE = GPL-2.0 16F2FS_TOOLS_LICENSE_FILES = COPYING 17 18ifeq ($(BR2_PACKAGE_LIBSELINUX),y) 19F2FS_TOOLS_CONF_OPTS += --with-selinux 20F2FS_TOOLS_DEPENDENCIES += libselinux 21else 22F2FS_TOOLS_CONF_OPTS += --without-selinux 23endif 24 25ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y) 26# util-linux is a dependency already, no need to list it again 27F2FS_TOOLS_CONF_OPTS += --with-blkid 28else 29F2FS_TOOLS_CONF_OPTS += --without-blkid 30endif 31 32# blkid is only used to detect if we're overwriting a filesystem 33# during mkfs, which only makes sense on the target, so we disable 34# blkid support even if we have host-util-linux 35HOST_F2FS_TOOLS_CONF_OPTS = \ 36 --without-selinux \ 37 --without-blkid 38 39$(eval $(autotools-package)) 40$(eval $(host-autotools-package)) 41