f9f5b3a6cb
- Update patch
- Handle pthread support added with
f55637619e
https://github.com/sahlberg/libnfs/blob/libnfs-5.0.2/CHANGELOG
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
26 lines
763 B
Makefile
26 lines
763 B
Makefile
################################################################################
|
|
#
|
|
# libnfs
|
|
#
|
|
################################################################################
|
|
|
|
LIBNFS_VERSION = 5.0.2
|
|
LIBNFS_SITE = $(call github,sahlberg,libnfs,libnfs-$(LIBNFS_VERSION))
|
|
LIBNFS_INSTALL_STAGING = YES
|
|
LIBNFS_AUTORECONF = YES
|
|
LIBNFS_LICENSE = LGPL-2.1+ (library), BSD-2-Clause (protocol, .x files), GPL-3.0+ (examples)
|
|
LIBNFS_LICENSE_FILES = COPYING LICENCE-BSD.txt LICENCE-LGPL-2.1.txt LICENCE-GPL-3.txt
|
|
LIBNFS_DEPENDENCIES = host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
|
LIBNFS_DEPENDENCIES += libtirpc
|
|
endif
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
LIBNFS_CONF_OPTS += --enable-threads
|
|
else
|
|
LIBNFS_CONF_OPTS += --disable-threads
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|