package/s6-linux-utils: add option to build multicall binary

Since version 2.6.1.0, with another bugfix in 2.6.2.0, s6-linux-utils
can be built as a multicall binary, similar to busybox.

Signed-off-by: J. Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
J. Neuschäfer
2024-08-11 12:01:13 +02:00
committed by Thomas Petazzoni
parent a6599dbd7d
commit 5b54c1166b
2 changed files with 11 additions and 0 deletions

View File

@@ -7,3 +7,13 @@ config BR2_PACKAGE_S6_LINUX_UTILS
system utilities.
http://skarnet.org/software/s6-linux-utils/
if BR2_PACKAGE_S6_LINUX_UTILS
config BR2_PACKAGE_S6_LINUX_UTILS_MULTICALL
bool "s6-linux-utils multicall binary"
help
Build s6-linux-utils as a multicall binary to save disk
space.
endif

View File

@@ -17,6 +17,7 @@ S6_LINUX_UTILS_CONF_OPTS = \
--with-dynlib=$(STAGING_DIR)/lib \
--with-lib=$(STAGING_DIR)/lib/skalibs \
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
$(if $(BR2_PACKAGE_S6_LINUX_UTILS_MULTICALL),--enable-multicall,) \
$(SHARED_STATIC_LIBS_OPTS)
define S6_LINUX_UTILS_CONFIGURE_CMDS