From: "Sven Püschel" <s.pueschel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Sven Püschel" <s.pueschel@pengutronix.de>
Subject: [ptxdist] [PATCH 1/2] libnl3: add host package
Date: Wed, 14 Oct 2026 15:32:05 +0200 [thread overview]
Message-ID: <20261014133235.3531550-1-s.pueschel@pengutronix.de> (raw)
Add an host package for libnl3 in preparation of an host-nfsutils
version update, which unconditionally checks for the existence of
libnl3.
Although it also works with disable-shared, keep the shared libraries
enabled in case of some other package potentially depending on them.
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
---
rules/host-libnl3.in | 5 +++++
rules/host-libnl3.make | 30 ++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
create mode 100644 rules/host-libnl3.in
create mode 100644 rules/host-libnl3.make
diff --git a/rules/host-libnl3.in b/rules/host-libnl3.in
new file mode 100644
index 000000000..184781d26
--- /dev/null
+++ b/rules/host-libnl3.in
@@ -0,0 +1,5 @@
+## SECTION=hosttools_noprompt
+
+config HOST_LIBNL3
+ tristate
+ default y if ALLYES
diff --git a/rules/host-libnl3.make b/rules/host-libnl3.make
new file mode 100644
index 000000000..b2225247f
--- /dev/null
+++ b/rules/host-libnl3.make
@@ -0,0 +1,30 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2026 by Sven Püschel <s.pueschel@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LIBNL3) += host-libnl3
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_LIBNL3_CONF_TOOL := autoconf
+HOST_LIBNL3_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ --enable-shared \
+ --disable-static \
+ --disable-cli \
+ --disable-pthreads \
+ --disable-debug
+
+# vim: syntax=make
--
2.47.3
next reply other threads:[~2026-10-14 13:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 13:32 Sven Püschel [this message]
2026-10-14 13:32 ` [ptxdist] [PATCH 2/2] nfsutils: version bump 2.8.4 -> 3.1.1 Sven Püschel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261014133235.3531550-1-s.pueschel@pengutronix.de \
--to=s.pueschel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox