libarchive: add selection of bsdcat
PATCH 1/1 libarchive: add selection of bsdcat
libarchive builds three commandline utilities: bsdtar, bsdcpio, and bsdcat. This change adds control over the third utility to the list of configuration options.
Signed-off-by Frank Hunleth <[email protected]>
--- package/libarchive/Config.in | 6 ++++++ package/libarchive/libarchive.mk | 11 +++++++++++ 2 files changed, 17 insertions(+)
package/libarchive/Config.in +6 -0
@@ -24,4 +24,10 @@ config BR2_PACKAGE_LIBARCHIVE_BSDCPIO The 'bsdcpio' program is a different interface to essentially the same functionality as 'bsdtar'. +config BR2_PACKAGE_LIBARCHIVE_BSDCAT + bool "bsdcat" + help + The 'bsdcat' program is a simple replacement tool + for zcat, bzcat, xzcat, and such. + endif
package/libarchive/libarchive.mk +11 -0
@@ -30,6 +30,16 @@ else LIBARCHIVE_CONF_OPTS += --disable-bsdcpio endif +ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDCAT),y) +ifeq ($(BR2_STATIC_LIBS),y) +LIBARCHIVE_CONF_OPTS += --enable-bsdcat=static +else +LIBARCHIVE_CONF_OPTS += --enable-bsdcat=shared +endif +else +LIBARCHIVE_CONF_OPTS += --disable-bsdcat +endif + ifeq ($(BR2_PACKAGE_ACL),y) LIBARCHIVE_DEPENDENCIES += acl else
@@ -105,6 +115,7 @@ HOST_LIBARCHIVE_DEPENDENCIES = host-zlib HOST_LIBARCHIVE_CONF_OPTS = \ --disable-bsdtar \ --disable-bsdcpio \ + --disable-bsdcat \ --disable-acl \ --disable-xattr \ --without-bz2lib \
Signature · 1 line
2.7.4
Thomas Petazzoni
AppliedPATCH 1/1 libarchive: add selection of bsdcat
Hello,
Quoted 9 lines · Frank Hunleth
libarchive builds three commandline utilities: bsdtar, bsdcpio, and bsdcat. This change adds control over the third utility to the list of configuration options.
Signed-off-by Frank Hunleth <[email protected]>--- package/libarchive/Config.in | 6 ++++++ package/libarchive/libarchive.mk | 11 +++++++++++ 2 files changed, 17 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com