mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDB
Package libtirpc with commit[1] exposes --enable-rpcdb so make it
selectable to allow packages that use rpcdb functions to enable it
and build correctly.
[1]:
https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
[Bernd: move gss comment into if-block]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 746dd2ad2b)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
d36d284bc2
commit
848adc792e
@@ -7,19 +7,26 @@ config BR2_PACKAGE_LIBTIRPC
|
|||||||
|
|
||||||
http://sourceforge.net/projects/libtirpc/
|
http://sourceforge.net/projects/libtirpc/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_LIBTIRPC
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBTIRPC_GSS
|
config BR2_PACKAGE_LIBTIRPC_GSS
|
||||||
bool "gss"
|
bool "gss"
|
||||||
depends on BR2_USE_MMU # libkrb5
|
depends on BR2_USE_MMU # libkrb5
|
||||||
depends on !BR2_STATIC_LIBS # libkrb5
|
depends on !BR2_STATIC_LIBS # libkrb5
|
||||||
depends on BR2_PACKAGE_LIBTIRPC
|
|
||||||
select BR2_PACKAGE_LIBKRB5
|
select BR2_PACKAGE_LIBKRB5
|
||||||
help
|
help
|
||||||
Enable GSSAPI support
|
Enable GSSAPI support
|
||||||
|
|
||||||
comment "libtirpc needs a toolchain w/ threads"
|
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
||||||
|
|
||||||
comment "libtirpc gss support needs a toolchain w/ dynamic library"
|
comment "libtirpc gss support needs a toolchain w/ dynamic library"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_STATIC_LIBS
|
depends on BR2_STATIC_LIBS
|
||||||
depends on BR2_PACKAGE_LIBTIRPC
|
|
||||||
|
config BR2_PACKAGE_LIBTIRPC_RPCDB
|
||||||
|
bool "rpcdb"
|
||||||
|
help
|
||||||
|
Enable RPCDB support
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
comment "libtirpc needs a toolchain w/ threads"
|
||||||
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|||||||
@@ -25,5 +25,12 @@ LIBTIRPC_CONF_OPTS += --disable-gssapi
|
|||||||
endif
|
endif
|
||||||
HOST_LIBTIRPC_CONF_OPTS = --disable-gssapi
|
HOST_LIBTIRPC_CONF_OPTS = --disable-gssapi
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBTIRPC_RPCDB),y)
|
||||||
|
LIBTIRPC_CONF_OPTS += --enable-rpcdb
|
||||||
|
else
|
||||||
|
LIBTIRPC_CONF_OPTS += --disable-rpcdb
|
||||||
|
endif
|
||||||
|
HOST_LIBTIRPC_CONF_OPTS += --disable-rpcdb
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user