aboutsummaryrefslogtreecommitdiff
path: root/package/erofs-utils/erofs-utils.mk
blob: 562e3a427ab2f432fbbd2b4087a6c11fd2a79821 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
################################################################################
#
# erofs-utils
#
################################################################################

EROFS_UTILS_VERSION = 1.0
EROFS_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot
EROFS_UTILS_LICENSE = GPL-2.0+
EROFS_UTILS_LICENSE_FILES = COPYING

# From a git tree: no generated autotools files
# Also: 0001-erofs-utils-fix-configure.ac.patch
EROFS_UTILS_AUTORECONF = YES

ifeq ($(BR2_PACKAGE_EROFS_UTILS_LZ4),y)
EROFS_UTILS_DEPENDENCIES += lz4
EROFS_UTILS_CONF_OPTS += --enable-lz4
else
EROFS_UTILS_CONF_OPTS += --disable-lz4
endif

HOST_EROFS_UTILS_DEPENDENCIES = host-lz4
HOST_EROFS_UTILS_CONF_OPTS += --enable-lz4

$(eval $(autotools-package))
$(eval $(host-autotools-package))