1################################################################################ 2# 3# f2fs-tools 4# 5################################################################################ 6 7F2FS_TOOLS_VERSION = 1.16.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 17F2FS_TOOLS_CPE_ID_VALID = YES 18 19ifeq ($(BR2_PACKAGE_LIBSELINUX),y) 20F2FS_TOOLS_CONF_OPTS += --with-selinux 21F2FS_TOOLS_DEPENDENCIES += libselinux 22else 23F2FS_TOOLS_CONF_OPTS += --without-selinux 24endif 25 26ifeq ($(BR2_PACKAGE_LZ4),y) 27F2FS_TOOLS_CONF_OPTS += --with-lz4 28F2FS_TOOLS_DEPENDENCIES += lz4 29else 30F2FS_TOOLS_CONF_OPTS += --without-lz4 31endif 32 33ifeq ($(BR2_PACKAGE_LZO),y) 34F2FS_TOOLS_CONF_OPTS += --with-lzo2 35F2FS_TOOLS_DEPENDENCIES += lzo 36else 37F2FS_TOOLS_CONF_OPTS += --without-lzo2 38endif 39 40ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y) 41# util-linux is a dependency already, no need to list it again 42F2FS_TOOLS_CONF_OPTS += --with-blkid 43else 44F2FS_TOOLS_CONF_OPTS += --without-blkid 45endif 46 47# blkid is only used to detect if we're overwriting a filesystem 48# during mkfs, which only makes sense on the target, so we disable 49# blkid support even if we have host-util-linux 50HOST_F2FS_TOOLS_CONF_OPTS = \ 51 --without-selinux \ 52 --without-blkid \ 53 --without-lz4 \ 54 --without-lzo2 55 56$(eval $(autotools-package)) 57$(eval $(host-autotools-package)) 58