aboutsummaryrefslogtreecommitdiff
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)
downloadbusybox-w32-f6beef63c64abfc126ea4e73147af29d152f1a9e.tar.gz
busybox-w32-f6beef63c64abfc126ea4e73147af29d152f1a9e.tar.bz2
busybox-w32-f6beef63c64abfc126ea4e73147af29d152f1a9e.zip
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 @@
13#include "libbb.h" 13#include "libbb.h"
14#include "bb_archive.h" 14#include "bb_archive.h"
15 15
16//config:config CPIO
17//config: bool "cpio"
18//config: default y
19//config: help
20//config: cpio is an archival utility program used to create, modify, and
21//config: extract contents from archives.
22//config: cpio has 110 bytes of overheads for every stored file.
23//config:
24//config: This implementation of cpio can extract cpio archives created in the
25//config: "newc" or "crc" format, it cannot create or modify them.
26//config:
27//config: Unless you have a specific application which requires cpio, you
28//config: should probably say N here.
29//config:
30//config:config FEATURE_CPIO_O
31//config: bool "Support for archive creation"
32//config: default y
33//config: depends on CPIO
34//config: help
35//config: This implementation of cpio can create cpio archives in the "newc"
36//config: format only.
37//config:
38//config:config FEATURE_CPIO_P
39//config: bool "Support for passthrough mode"
40//config: default y
41//config: depends on FEATURE_CPIO_O
42//config: help
43//config: Passthrough mode. Rarely used.
44
16//applet:IF_CPIO(APPLET(cpio, BB_DIR_BIN, BB_SUID_DROP)) 45//applet:IF_CPIO(APPLET(cpio, BB_DIR_BIN, BB_SUID_DROP))
17//kbuild:lib-$(CONFIG_CPIO) += cpio.o 46//kbuild:lib-$(CONFIG_CPIO) += cpio.o
18 47