--- /dev/null
+comment "libarchive needs a toolchain w/ wchar"
+ depends on !BR2_USE_WCHAR
+
+config BR2_PACKAGE_LIBARCHIVE
+ bool "libarchive"
+ depends on BR2_USE_WCHAR
+ help
+ Libarchive is a reusable C library for reading and writing a
+ variety of streaming archive formats.
+
+ http://www.libarchive.org/
+
+if BR2_PACKAGE_LIBARCHIVE
+
+config BR2_PACKAGE_LIBARCHIVE_BSDTAR
+ bool "bsdtar"
+ help
+ The 'bsdtar' program is a full-featured 'tar'
+ replacement built on libarchive.
+
+config BR2_PACKAGE_LIBARCHIVE_BSDCPIO
+ bool "bsdcpio"
+ help
+ The 'bsdcpio' program is a different interface to
+ essentially the same functionality as 'bsdtar'.
+
+endif