All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_DB
@ 2025-12-13 15:17 Giulio Benetti
  2025-12-13 15:17 ` [Buildroot] [PATCH v2 2/2] pacakge/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_DB Giulio Benetti
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Giulio Benetti @ 2025-12-13 15:17 UTC (permalink / raw)
  To: buildroot; +Cc: Giulio Benetti, Petr Vorel, Thomas Petazzoni

Package libtirpc expose rpcdb so make it selectable.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
V1->V2:
* add patch to series
---
 package/libtirpc/Config.in   | 6 ++++++
 package/libtirpc/libtirpc.mk | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/package/libtirpc/Config.in b/package/libtirpc/Config.in
index 31f1636ef5..e1ac9a4e7b 100644
--- a/package/libtirpc/Config.in
+++ b/package/libtirpc/Config.in
@@ -16,6 +16,12 @@ config BR2_PACKAGE_LIBTIRPC_GSS
 	help
 	  Enable GSSAPI support
 
+config BR2_PACKAGE_LIBTIRPC_DB
+	bool "db"
+	depends on BR2_PACKAGE_LIBTIRPC
+	help
+	  Enable RPCDB support
+
 comment "libtirpc needs a toolchain w/ threads"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
 
diff --git a/package/libtirpc/libtirpc.mk b/package/libtirpc/libtirpc.mk
index ab15954561..7aca2c83af 100644
--- a/package/libtirpc/libtirpc.mk
+++ b/package/libtirpc/libtirpc.mk
@@ -25,5 +25,12 @@ LIBTIRPC_CONF_OPTS += --disable-gssapi
 endif
 HOST_LIBTIRPC_CONF_OPTS = --disable-gssapi
 
+ifeq ($(BR2_PACKAGE_LIBTIRPC_DB),y)
+LIBTIRPC_CONF_OPTS += --enable-rpcdb
+else
+LIBTIRPC_CONF_OPTS += --disable-rpcdb
+endif
+HOST_LIBTIRPC_CONF_OPTS += --disable-rpcdb
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-12-13 18:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-13 15:17 [Buildroot] [PATCH v2 1/2] package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_DB Giulio Benetti
2025-12-13 15:17 ` [Buildroot] [PATCH v2 2/2] pacakge/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_DB Giulio Benetti
2025-12-13 17:14   ` Thomas Petazzoni via buildroot
2025-12-13 18:39     ` Petr Vorel
2025-12-13 17:55   ` Thomas Petazzoni via buildroot
2025-12-13 18:04     ` Giulio Benetti
2025-12-13 18:51       ` Petr Vorel
2025-12-13 17:26 ` [Buildroot] [PATCH v2 1/2] package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_DB Thomas Petazzoni via buildroot
2025-12-13 18:36 ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.