From: "J. Neuschäfer via buildroot" <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: "Eric Le Bihan" <eric.le.bihan.dev@free.fr>,
"J. Neuschäfer" <j.neuschaefer@gmx.net>
Subject: [Buildroot] [PATCH v2 2/4] package/s6-portable-utils: Add option to build multicall binary
Date: Sun, 11 Aug 2024 12:01:12 +0200 [thread overview]
Message-ID: <20240811-s6-multicall-v2-2-14249fd20cbd@gmx.net> (raw)
In-Reply-To: <20240811-s6-multicall-v2-0-14249fd20cbd@gmx.net>
Since version 2.3.0.0, with another bugfix in 2.3.0.3, s6-portable-utils
can be built as a multicall binary, similar to busybox.
Signed-off-by: J. Neuschäfer <j.neuschaefer@gmx.net>
---
package/s6-portable-utils/Config.in | 9 +++++++++
package/s6-portable-utils/s6-portable-utils.mk | 1 +
2 files changed, 10 insertions(+)
diff --git a/package/s6-portable-utils/Config.in b/package/s6-portable-utils/Config.in
index 8521ecfa8a..ba95476777 100644
--- a/package/s6-portable-utils/Config.in
+++ b/package/s6-portable-utils/Config.in
@@ -10,3 +10,12 @@ config BR2_PACKAGE_S6_PORTABLE_UTILS
they work everywhere.
http://skarnet.org/software/s6-portable-utils/
+
+if BR2_PACKAGE_S6_PORTABLE_UTILS
+
+config BR2_PACKAGE_S6_PORTABLE_UTILS_MULTICALL
+ bool "s6-portable-utils multicall binary"
+ help
+ Build s6-portable-utils as a multicall binary to save disk space.
+
+endif
diff --git a/package/s6-portable-utils/s6-portable-utils.mk b/package/s6-portable-utils/s6-portable-utils.mk
index c40100b06c..826750f387 100644
--- a/package/s6-portable-utils/s6-portable-utils.mk
+++ b/package/s6-portable-utils/s6-portable-utils.mk
@@ -17,6 +17,7 @@ S6_PORTABLE_UTILS_CONF_OPTS = \
--with-dynlib=$(STAGING_DIR)/lib \
--with-lib=$(STAGING_DIR)/lib/skalibs \
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
+ $(if $(BR2_PACKAGE_S6_PORTABLE_UTILS_MULTICALL),--enable-multicall,) \
$(SHARED_STATIC_LIBS_OPTS)
define S6_PORTABLE_UTILS_CONFIGURE_CMDS
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-08-11 10:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-11 10:01 [Buildroot] [PATCH v2 0/4] Optionally build some skarnet.org packages as multicall binaries J. Neuschäfer via buildroot
2024-08-11 10:01 ` [Buildroot] [PATCH v2 1/4] package/execline: Add option to build multicall binary J. Neuschäfer via buildroot
2024-08-11 10:01 ` J. Neuschäfer via buildroot [this message]
2024-08-11 10:01 ` [Buildroot] [PATCH v2 3/4] package/s6-linux-utils: " J. Neuschäfer via buildroot
2024-08-11 10:01 ` [Buildroot] [PATCH v2 4/4] DEVELOPERS: Add skarnet.org packages to J. Neuschäfer's entry J. Neuschäfer via buildroot
2024-08-15 8:58 ` [Buildroot] [PATCH v2 0/4] Optionally build some skarnet.org packages as multicall binaries Thomas Petazzoni via buildroot
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=20240811-s6-multicall-v2-2-14249fd20cbd@gmx.net \
--to=buildroot@buildroot.org \
--cc=eric.le.bihan.dev@free.fr \
--cc=j.neuschaefer@gmx.net \
/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