summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-05 08:41:41 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-05 08:41:41 +0000
commitc9f20d9fb93c6c316518483fd103f3afab5cf1af (patch)
tree72904548bb54dcaf78017d3b35296765437e0bd5 /archival
parentdeca106b6dad70ad0a1312a82d762aa8d8ad52ba (diff)
downloadbusybox-w32-c9f20d9fb93c6c316518483fd103f3afab5cf1af.tar.gz
busybox-w32-c9f20d9fb93c6c316518483fd103f3afab5cf1af.tar.bz2
busybox-w32-c9f20d9fb93c6c316518483fd103f3afab5cf1af.zip
Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
Diffstat (limited to 'archival')
-rw-r--r--archival/Config.in158
-rw-r--r--archival/config.in45
2 files changed, 158 insertions, 45 deletions
diff --git a/archival/Config.in b/archival/Config.in
new file mode 100644
index 000000000..ecef07f7c
--- /dev/null
+++ b/archival/Config.in
@@ -0,0 +1,158 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Archival Utilities"
7
8config CONFIG_AR
9 bool "ar"
10 default n
11 help
12 Please submit a patch to add help text for this item.
13
14config CONFIG_FEATURE_AR_LONG_FILENAMES
15 bool " Enable support for long filenames (not need for debs)"
16 default n
17 depends on CONFIG_AR
18 help
19 Please submit a patch to add help text for this item.
20
21config CONFIG_BUNZIP2
22 bool "bunzip2"
23 default n
24 help
25 Please submit a patch to add help text for this item.
26
27config CONFIG_CPIO
28 bool "cpio"
29 default n
30 help
31 Please submit a patch to add help text for this item.
32
33config CONFIG_DPKG
34 bool "dpkg"
35 default n
36 help
37 Please submit a patch to add help text for this item.
38
39config CONFIG_DPKG_DEB
40 bool "dpkg_deb"
41 default n
42 help
43 Please submit a patch to add help text for this item.
44
45config CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY
46 bool " extract only (-x)"
47 default n
48 depends on CONFIG_DPKG_DEB
49 help
50 Please submit a patch to add help text for this item.
51
52config CONFIG_FEATURE_DEB_TAR_GZ
53 bool " gzip debian packages (normal)"
54 default y if CONFIG_DPKG || CONFIG_DPKG_DEB
55 depends on CONFIG_DPKG || CONFIG_DPKG_DEB
56 help
57 Please submit a patch to add help text for this item.
58
59config CONFIG_FEATURE_DEB_TAR_BZ2
60 bool " bzip2 debian packages"
61 default n
62 depends on CONFIG_DPKG || CONFIG_DPKG_DEB
63 help
64 Please submit a patch to add help text for this item.
65
66config CONFIG_GUNZIP
67 bool "gunzip"
68 default n
69 help
70 Please submit a patch to add help text for this item.
71
72config CONFIG_FEATURE_GUNZIP_UNCOMPRESS
73 bool " Uncompress support"
74 default n
75 depends on CONFIG_GUNZIP
76 help
77 Please submit a patch to add help text for this item.
78
79config CONFIG_GZIP
80 bool "gzip"
81 default n
82 help
83 Please submit a patch to add help text for this item.
84
85config CONFIG_RPM2CPIO
86 bool "rpm2cpio"
87 default n
88 help
89 Please submit a patch to add help text for this item.
90
91config CONFIG_TAR
92 bool "tar"
93 default n
94 help
95 Please submit a patch to add help text for this item.
96
97config CONFIG_FEATURE_TAR_CREATE
98 bool " Enable archive creation"
99 default y
100 depends on CONFIG_TAR
101 help
102 Please submit a patch to add help text for this item.
103
104config CONFIG_FEATURE_TAR_BZIP2
105 bool " Enable -j option to handle .tar.bz2 files"
106 default n
107 depends on CONFIG_TAR
108 help
109 Please submit a patch to add help text for this item.
110
111config CONFIG_FEATURE_TAR_EXCLUDE
112 bool " Enable -X and --exclude options (exclude files)"
113 default n
114 depends on CONFIG_TAR
115 help
116 Please submit a patch to add help text for this item.
117
118config CONFIG_FEATURE_TAR_GZIP
119 bool " Enable -z option"
120 default y
121 depends on CONFIG_TAR
122 help
123 Please submit a patch to add help text for this item.
124
125config CONFIG_FEATURE_TAR_OLD_FORMAT
126 bool " Enable support for old tar header format"
127 default n
128 depends on CONFIG_TAR
129 help
130 Please submit a patch to add help text for this item.
131
132config CONFIG_FEATURE_GNUTAR_LONG_FILENAME
133 bool " Enable support for GNU long filenames"
134 default y
135 depends on CONFIG_TAR
136 help
137 Please submit a patch to add help text for this item.
138
139config CONFIG_FEATURE_UNARCHIVE_TAPE
140 bool " Enable tape drive support"
141 default n
142 depends on CONFIG_TAR || CONFIG_CPIO
143 help
144 Please submit a patch to add help text for this item.
145
146config CONFIG_UNCOMPRESS
147 bool "uncompress"
148 default n
149 help
150 Please submit a patch to add help text for this item.
151
152config CONFIG_UNZIP
153 bool "unzip"
154 default n
155 help
156 Please submit a patch to add help text for this item.
157
158endmenu
diff --git a/archival/config.in b/archival/config.in
deleted file mode 100644
index 05e6dcae4..000000000
--- a/archival/config.in
+++ /dev/null
@@ -1,45 +0,0 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6mainmenu_option next_comment
7comment 'Archival Utilities'
8
9bool 'ar' CONFIG_AR
10if [ "$CONFIG_AR" = "y" ] ; then
11 bool ' Enable support for long filenames (not need for debs)' CONFIG_FEATURE_AR_LONG_FILENAMES
12fi
13bool 'bunzip2' CONFIG_BUNZIP2
14bool 'cpio' CONFIG_CPIO
15bool 'dpkg' CONFIG_DPKG
16bool 'dpkg_deb' CONFIG_DPKG_DEB
17if [ "$CONFIG_DPKG_DEB" = "y" ] ; then
18 bool ' extract only (-x)' CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY
19fi
20if [ "$CONFIG_DPKG" = "y" ] || [ "$CONFIG_DPKG_DEB" = "y" ] ; then
21 comment 'Common dpkg/dpkg-deb options'
22 bool ' gzip debian packages (normal)' CONFIG_FEATURE_DEB_TAR_GZ
23 bool ' bzip2 debian packages' CONFIG_FEATURE_DEB_TAR_BZ2
24fi
25bool 'gunzip' CONFIG_GUNZIP
26if [ "$CONFIG_GUNZIP" = "y" ]; then
27 bool ' Uncompress support' CONFIG_FEATURE_GUNZIP_UNCOMPRESS
28fi
29bool 'gzip' CONFIG_GZIP
30bool 'rpm2cpio' CONFIG_RPM2CPIO
31bool 'tar' CONFIG_TAR
32if [ "$CONFIG_TAR" = "y" ] ; then
33 bool ' Enable archive creation' CONFIG_FEATURE_TAR_CREATE
34 bool ' Enable -j option to handle .tar.bz2 files' CONFIG_FEATURE_TAR_BZIP2
35 bool ' Enable -X and --exclude options (exclude files)' CONFIG_FEATURE_TAR_EXCLUDE
36 bool ' Enable -z option' CONFIG_FEATURE_TAR_GZIP
37 bool ' Enable support for old tar header format' CONFIG_FEATURE_TAR_OLD_FORMAT
38 bool ' Enable support for GNU long filenames' CONFIG_FEATURE_GNUTAR_LONG_FILENAME
39fi
40if [ "$CONFIG_CPIO" = "y" -o "$CONFIG_TAR" = "y" ] ; then
41 bool ' Enable tape drive support' CONFIG_FEATURE_UNARCHIVE_TAPE
42fi
43bool 'uncompress' CONFIG_UNCOMPRESS
44bool 'unzip' CONFIG_UNZIP
45endmenu