libarchive: make bsdtar and bsdcpio binaries configurable

libarchive comes with two binaries, bsdtar and bsdcpio that used
to be installed by default. This change makes this configurable
with the default not to build and install the binaries.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
diff --git a/package/libarchive/Config.in b/package/libarchive/Config.in
index 9154861..38928b0 100644
--- a/package/libarchive/Config.in
+++ b/package/libarchive/Config.in
@@ -9,3 +9,18 @@
 
 comment "libarchive requires a toolchain with WCHAR support"
 	depends on !BR2_USE_WCHAR
+
+config BR2_PACKAGE_LIBARCHIVE_BSDTAR
+	bool "bsdtar"
+	depends on BR2_PACKAGE_LIBARCHIVE
+	help
+	  The 'bsdtar' program is a full-featured 'tar'
+	  replacement built on libarchive.
+
+config BR2_PACKAGE_LIBARCHIVE_BSDCPIO
+	bool "bsdcpio"
+	depends on BR2_PACKAGE_LIBARCHIVE
+	help
+	  The 'bsdcpio' program is a different interface to
+	  essentially the same functionality as 'bsdtar'.
+