mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
libnfs: Without native RPC use libtirpc
Signed-off-by Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
231fdc7c54
commit
c1a20960c4
@ -1,10 +1,11 @@
|
||||
config BR2_PACKAGE_LIBNFS
|
||||
bool "libnfs"
|
||||
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
|
||||
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
help
|
||||
nfs userspace implementation.
|
||||
|
||||
http://github.com/sahlberg/libnfs
|
||||
|
||||
comment "libnfs needs a toolchain w/ RPC"
|
||||
depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
comment "libnfs needs a toolchain w/ threads"
|
||||
depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
|
||||
|
@ -13,4 +13,8 @@ LIBNFS_LICENSE = LGPLv2.1+
|
||||
LIBNFS_LICENSE_FILES = LICENCE-LGPL-2.1.txt
|
||||
LIBNFS_DEPENDENCIES = host-pkgconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
||||
LIBNFS_DEPENDENCIES += libtirpc
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
x
Reference in New Issue
Block a user