buildroot/package/nilfs-utils/nilfs-utils.mk
Kurt Van Dijck 8e918d18e4 nilfs-utils: fix build with static toolchains
This commit adds a patch to respect the dependency libmount->libblkid->libuuid
properly in autoconf. This becomes necessary for static builds.

Fixes:
 http://autobuild.buildroot.net/results/acaac513eaaa39d4000268428407a9fa6989ef03
 http://autobuild.buildroot.net/results/41af95b9ed7bbbe319565e1c20d1f6e2665d445f

[Peter: add host-pkgconf to dependencies]
Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-01-27 13:15:53 +01:00

26 lines
735 B
Makefile

################################################################################
#
# nilfs-utils
#
################################################################################
NILFS_UTILS_VERSION = v2.2.7
NILFS_UTILS_SITE = $(call github,nilfs-dev,nilfs-utils,$(NILFS_UTILS_VERSION))
NILFS_UTILS_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries)
NILFS_UTILS_LICENSE_FILES = COPYING
# need libuuid, libblkid, libmount
NILFS_UTILS_DEPENDENCIES = host-pkgconf util-linux
# we're fetching from github
NILFS_UTILS_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
NILFS_UTILS_CONF_OPTS += --with-selinux
NILFS_UTILS_DEPENDENCIES += libselinux
else
NILFS_UTILS_CONF_OPTS += --without-selinux
endif
$(eval $(autotools-package))