1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# f2fs-tools 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunF2FS_TOOLS_VERSION = 1.14.0 8*4882a593SmuzhiyunF2FS_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot 9*4882a593SmuzhiyunF2FS_TOOLS_CONF_ENV = ac_cv_file__git=no 10*4882a593SmuzhiyunF2FS_TOOLS_DEPENDENCIES = host-pkgconf util-linux 11*4882a593SmuzhiyunHOST_F2FS_TOOLS_DEPENDENCIES = host-pkgconf host-util-linux 12*4882a593Smuzhiyun# GIT version, shipped without configure 13*4882a593SmuzhiyunF2FS_TOOLS_AUTORECONF = YES 14*4882a593SmuzhiyunF2FS_TOOLS_INSTALL_STAGING = YES 15*4882a593SmuzhiyunF2FS_TOOLS_LICENSE = GPL-2.0 16*4882a593SmuzhiyunF2FS_TOOLS_LICENSE_FILES = COPYING 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBSELINUX),y) 19*4882a593SmuzhiyunF2FS_TOOLS_CONF_OPTS += --with-selinux 20*4882a593SmuzhiyunF2FS_TOOLS_DEPENDENCIES += libselinux 21*4882a593Smuzhiyunelse 22*4882a593SmuzhiyunF2FS_TOOLS_CONF_OPTS += --without-selinux 23*4882a593Smuzhiyunendif 24*4882a593Smuzhiyun 25*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y) 26*4882a593Smuzhiyun# util-linux is a dependency already, no need to list it again 27*4882a593SmuzhiyunF2FS_TOOLS_CONF_OPTS += --with-blkid 28*4882a593Smuzhiyunelse 29*4882a593SmuzhiyunF2FS_TOOLS_CONF_OPTS += --without-blkid 30*4882a593Smuzhiyunendif 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun# blkid is only used to detect if we're overwriting a filesystem 33*4882a593Smuzhiyun# during mkfs, which only makes sense on the target, so we disable 34*4882a593Smuzhiyun# blkid support even if we have host-util-linux 35*4882a593SmuzhiyunHOST_F2FS_TOOLS_CONF_OPTS = \ 36*4882a593Smuzhiyun --without-selinux \ 37*4882a593Smuzhiyun --without-blkid 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun$(eval $(autotools-package)) 40*4882a593Smuzhiyun$(eval $(host-autotools-package)) 41