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

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
J. Neuschäfer
2024-08-11 12:01:12 +02:00
committed by Thomas Petazzoni
parent ef8ed5ccfe
commit a6599dbd7d
2 changed files with 11 additions and 0 deletions

View File

@@ -10,3 +10,13 @@ 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

View File

@@ -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