mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/execline: add option to build multicall binary
Since version 2.9.2.0, with another bugfix in 2.9.4.0, execline can be built as a multicall binary, similar to busybox. According to the author[1], this results in space savings of 66-87% on Linux. [1]: https://skarnet.org/software/execline/execline.html Signed-off-by: J. Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
f21db2bd83
commit
ef8ed5ccfe
@@ -10,3 +10,12 @@ config BR2_PACKAGE_EXECLINE
|
|||||||
essentially useful inside an execlineb script.
|
essentially useful inside an execlineb script.
|
||||||
|
|
||||||
http://skarnet.org/software/execline/
|
http://skarnet.org/software/execline/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_EXECLINE
|
||||||
|
|
||||||
|
config BR2_PACKAGE_EXECLINE_MULTICALL
|
||||||
|
bool "execline multicall binary"
|
||||||
|
help
|
||||||
|
Build execline as a multicall binary to save disk space.
|
||||||
|
|
||||||
|
endif
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ EXECLINE_CONF_OPTS = \
|
|||||||
--with-dynlib=$(STAGING_DIR)/lib \
|
--with-dynlib=$(STAGING_DIR)/lib \
|
||||||
--with-lib=$(STAGING_DIR)/lib/skalibs \
|
--with-lib=$(STAGING_DIR)/lib/skalibs \
|
||||||
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
|
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
|
||||||
|
$(if $(BR2_PACKAGE_EXECLINE_MULTICALL),--enable-multicall,) \
|
||||||
$(SHARED_STATIC_LIBS_OPTS)
|
$(SHARED_STATIC_LIBS_OPTS)
|
||||||
|
|
||||||
define EXECLINE_CONFIGURE_CMDS
|
define EXECLINE_CONFIGURE_CMDS
|
||||||
|
|||||||
Reference in New Issue
Block a user