mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-04 17:07:43 +00:00
nfs-utils: add support to use RPC support from libtirpc
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
80f7a4b679
commit
2fb1a48ad8
@ -1,8 +1,7 @@
|
|||||||
config BR2_PACKAGE_NFS_UTILS
|
config BR2_PACKAGE_NFS_UTILS
|
||||||
bool "nfs-utils"
|
bool "nfs-utils"
|
||||||
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||||
depends on BR2_LARGEFILE
|
depends on BR2_LARGEFILE
|
||||||
select BR2_PACKAGE_PORTMAP
|
|
||||||
help
|
help
|
||||||
The NFS Linux kernel server.
|
The NFS Linux kernel server.
|
||||||
Warning: We do not force largefile support on here on purpose.
|
Warning: We do not force largefile support on here on purpose.
|
||||||
@ -10,8 +9,8 @@ config BR2_PACKAGE_NFS_UTILS
|
|||||||
|
|
||||||
http://sourceforge.net/projects/nfs
|
http://sourceforge.net/projects/nfs
|
||||||
|
|
||||||
comment "nfs-utils requires a toolchain with RPC and LARGEFILE support"
|
comment "nfs-utils requires a toolchain with LARGEFILE support"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC || !BR2_LARGEFILE
|
depends on !BR2_LARGEFILE
|
||||||
|
|
||||||
menu "NFS utilities selection"
|
menu "NFS utilities selection"
|
||||||
depends on BR2_PACKAGE_NFS_UTILS
|
depends on BR2_PACKAGE_NFS_UTILS
|
||||||
|
@ -16,7 +16,6 @@ NFS_UTILS_CONF_OPT = \
|
|||||||
--disable-nfsv4 \
|
--disable-nfsv4 \
|
||||||
--disable-nfsv41 \
|
--disable-nfsv41 \
|
||||||
--disable-gss \
|
--disable-gss \
|
||||||
--disable-tirpc \
|
|
||||||
--disable-uuid \
|
--disable-uuid \
|
||||||
--disable-ipv6 \
|
--disable-ipv6 \
|
||||||
--without-tcp-wrappers \
|
--without-tcp-wrappers \
|
||||||
@ -26,6 +25,13 @@ NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPCDEBUG) += usr/sbin/rpcdebug
|
|||||||
NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_LOCKD) += usr/sbin/rpc.lockd
|
NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_LOCKD) += usr/sbin/rpc.lockd
|
||||||
NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD) += usr/sbin/rpc.rquotad
|
NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD) += usr/sbin/rpc.rquotad
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
||||||
|
NFS_UTILS_CONF_OPT += --enable-tirpc --with-tirpcinclude=$(STAGING_DIR)/usr/include/tirpc/
|
||||||
|
NFS_UTILS_DEPENDENCIES += libtirpc
|
||||||
|
else
|
||||||
|
NFS_UTILS_CONF_OPT += --disable-tirpc
|
||||||
|
endif
|
||||||
|
|
||||||
define NFS_UTILS_INSTALL_FIXUP
|
define NFS_UTILS_INSTALL_FIXUP
|
||||||
$(INSTALL) -m 0755 package/nfs-utils/S60nfs \
|
$(INSTALL) -m 0755 package/nfs-utils/S60nfs \
|
||||||
$(TARGET_DIR)/etc/init.d/S60nfs
|
$(TARGET_DIR)/etc/init.d/S60nfs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user