summaryrefslogtreecommitdiffhomepage
path: root/archival/cpio.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-11-14 11:39:00 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-11-14 11:39:00 +0100
commitf6beef63c64abfc126ea4e73147af29d152f1a9e (patch)
tree71b1f243cda3ab4836219386f017e3d95a7f41d9 /archival/cpio.c
parentac216873095a0d7c30737df5cdfa3bf6c261f079 (diff)
archival/*: move "config:" snippets into .c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/cpio.c')
-rw-r--r--archival/cpio.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/archival/cpio.c b/archival/cpio.c
index 41eb6f659..1cce7c8b4 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -13,6 +13,35 @@
#include "libbb.h"
#include "bb_archive.h"
+//config:config CPIO
+//config: bool "cpio"
+//config: default y
+//config: help
+//config: cpio is an archival utility program used to create, modify, and
+//config: extract contents from archives.
+//config: cpio has 110 bytes of overheads for every stored file.
+//config:
+//config: This implementation of cpio can extract cpio archives created in the
+//config: "newc" or "crc" format, it cannot create or modify them.
+//config:
+//config: Unless you have a specific application which requires cpio, you
+//config: should probably say N here.
+//config:
+//config:config FEATURE_CPIO_O
+//config: bool "Support for archive creation"
+//config: default y
+//config: depends on CPIO
+//config: help
+//config: This implementation of cpio can create cpio archives in the "newc"
+//config: format only.
+//config:
+//config:config FEATURE_CPIO_P
+//config: bool "Support for passthrough mode"
+//config: default y
+//config: depends on FEATURE_CPIO_O
+//config: help
+//config: Passthrough mode. Rarely used.
+
//applet:IF_CPIO(APPLET(cpio, BB_DIR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_CPIO) += cpio.o