package/nfs-utils: enable optional uuid support

Enable when libuuid and libblkid are available.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
James Hilliard 2021-07-14 17:17:02 -06:00 committed by Yann E. MORIN
parent 464d0be380
commit 5acba5e414

View File

@ -19,7 +19,6 @@ NFS_UTILS_CONF_OPTS = \
--disable-nfsv4 \
--disable-nfsv41 \
--disable-gss \
--disable-uuid \
--enable-tirpc \
--enable-ipv6 \
--without-tcp-wrappers \
@ -53,6 +52,13 @@ else
NFS_UTILS_CONF_OPTS += --disable-caps
endif
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID)$(BR2_PACKAGE_UTIL_LINUX_LIBUUID),yy)
NFS_UTILS_CONF_OPTS += --enable-uuid
NFS_UTILS_DEPENDENCIES += util-linux
else
NFS_UTILS_CONF_OPTS += --disable-uuid
endif
define NFS_UTILS_INSTALL_FIXUP
cd $(TARGET_DIR) && rm -f $(NFS_UTILS_TARGETS_)
touch $(TARGET_DIR)/etc/exports