8fb0721eb7
- add selinux support; - add erofsfuse support; - add 0001-erofs-utils-fix-multiple-definition-of-sbi.patch [1]; - add 0002-erofs-utils-fuse-fix-linking-when-using-with-selinux.patch [2]; - add 0003-erofs-utils-fuse-disable-backtrace-if-unsupported.patch. [1] https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/patch/?id=6c938b755682629a26f85e5540f40c0d316130ed [2] https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/patch/?id=f1f9659e98ea925a100e50332309955f5b2b4234 Signed-off-by: Gao Xiang <hsiangkao@aol.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# erofs-utils
|
|
#
|
|
################################################################################
|
|
|
|
EROFS_UTILS_VERSION = 1.2
|
|
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
|
|
EROFS_UTILS_AUTORECONF = YES
|
|
|
|
EROFS_UTILS_DEPENDENCIES = host-pkgconf util-linux
|
|
|
|
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
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
|
EROFS_UTILS_CONF_OPTS += --with-selinux
|
|
EROFS_UTILS_DEPENDENCIES += libselinux
|
|
else
|
|
EROFS_UTILS_CONF_OPTS += --without-selinux
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_EROFS_UTILS_EROFSFUSE),y)
|
|
EROFS_UTILS_CONF_OPTS += --enable-fuse
|
|
EROFS_UTILS_DEPENDENCIES += libfuse
|
|
else
|
|
EROFS_UTILS_CONF_OPTS += --disable-fuse
|
|
endif
|
|
|
|
HOST_EROFS_UTILS_DEPENDENCIES = host-pkgconf host-util-linux host-lz4
|
|
HOST_EROFS_UTILS_CONF_OPTS += --enable-lz4 --disable-fuse --without-selinux
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|