xref: /buildroot/package/erofs-utils/erofs-utils.mk
  • Home
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • current directory
1################################################################################
2#
3# erofs-utils
4#
5################################################################################
6
7EROFS_UTILS_VERSION = 1.5
8EROFS_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot
9EROFS_UTILS_LICENSE = GPL-2.0+, GPL-2.0+ or Apache-2.0 (liberofs)
10EROFS_UTILS_LICENSE_FILES = COPYING LICENSES/Apache-2.0 LICENSES/GPL-2.0
11
12# From a git tree: no generated autotools files
13EROFS_UTILS_AUTORECONF = YES
14
15EROFS_UTILS_DEPENDENCIES = host-pkgconf util-linux
16
17ifeq ($(BR2_PACKAGE_EROFS_UTILS_LZ4),y)
18EROFS_UTILS_DEPENDENCIES += lz4
19EROFS_UTILS_CONF_OPTS += --enable-lz4
20else
21EROFS_UTILS_CONF_OPTS += --disable-lz4
22endif
23
24ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
25EROFS_UTILS_CONF_OPTS += --with-selinux
26EROFS_UTILS_DEPENDENCIES += libselinux
27else
28EROFS_UTILS_CONF_OPTS += --without-selinux
29endif
30
31ifeq ($(BR2_PACKAGE_EROFS_UTILS_EROFSFUSE),y)
32EROFS_UTILS_CONF_OPTS += --enable-fuse
33EROFS_UTILS_DEPENDENCIES += libfuse
34else
35EROFS_UTILS_CONF_OPTS += --disable-fuse
36endif
37
38HOST_EROFS_UTILS_DEPENDENCIES = host-pkgconf host-util-linux host-lz4
39HOST_EROFS_UTILS_CONF_OPTS += --enable-lz4 --disable-fuse --without-selinux
40
41$(eval $(autotools-package))
42$(eval $(host-autotools-package))
43

Last Index update Fri Aug 22 08:59:00 CST 2025