diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-12-05 08:41:41 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-12-05 08:41:41 +0000 |
commit | c9f20d9fb93c6c316518483fd103f3afab5cf1af (patch) | |
tree | 72904548bb54dcaf78017d3b35296765437e0bd5 /archival | |
parent | deca106b6dad70ad0a1312a82d762aa8d8ad52ba (diff) | |
download | busybox-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.in | 158 | ||||
-rw-r--r-- | archival/config.in | 45 |
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 | |||
6 | menu "Archival Utilities" | ||
7 | |||
8 | config CONFIG_AR | ||
9 | bool "ar" | ||
10 | default n | ||
11 | help | ||
12 | Please submit a patch to add help text for this item. | ||
13 | |||
14 | config 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 | |||
21 | config CONFIG_BUNZIP2 | ||
22 | bool "bunzip2" | ||
23 | default n | ||
24 | help | ||
25 | Please submit a patch to add help text for this item. | ||
26 | |||
27 | config CONFIG_CPIO | ||
28 | bool "cpio" | ||
29 | default n | ||
30 | help | ||
31 | Please submit a patch to add help text for this item. | ||
32 | |||
33 | config CONFIG_DPKG | ||
34 | bool "dpkg" | ||
35 | default n | ||
36 | help | ||
37 | Please submit a patch to add help text for this item. | ||
38 | |||
39 | config 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 | |||
45 | config 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 | |||
52 | config 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 | |||
59 | config 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 | |||
66 | config CONFIG_GUNZIP | ||
67 | bool "gunzip" | ||
68 | default n | ||
69 | help | ||
70 | Please submit a patch to add help text for this item. | ||
71 | |||
72 | config 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 | |||
79 | config CONFIG_GZIP | ||
80 | bool "gzip" | ||
81 | default n | ||
82 | help | ||
83 | Please submit a patch to add help text for this item. | ||
84 | |||
85 | config CONFIG_RPM2CPIO | ||
86 | bool "rpm2cpio" | ||
87 | default n | ||
88 | help | ||
89 | Please submit a patch to add help text for this item. | ||
90 | |||
91 | config CONFIG_TAR | ||
92 | bool "tar" | ||
93 | default n | ||
94 | help | ||
95 | Please submit a patch to add help text for this item. | ||
96 | |||
97 | config 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 | |||
104 | config 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 | |||
111 | config 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 | |||
118 | config 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 | |||
125 | config 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 | |||
132 | config 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 | |||
139 | config 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 | |||
146 | config CONFIG_UNCOMPRESS | ||
147 | bool "uncompress" | ||
148 | default n | ||
149 | help | ||
150 | Please submit a patch to add help text for this item. | ||
151 | |||
152 | config CONFIG_UNZIP | ||
153 | bool "unzip" | ||
154 | default n | ||
155 | help | ||
156 | Please submit a patch to add help text for this item. | ||
157 | |||
158 | endmenu | ||
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 | |||
6 | mainmenu_option next_comment | ||
7 | comment 'Archival Utilities' | ||
8 | |||
9 | bool 'ar' CONFIG_AR | ||
10 | if [ "$CONFIG_AR" = "y" ] ; then | ||
11 | bool ' Enable support for long filenames (not need for debs)' CONFIG_FEATURE_AR_LONG_FILENAMES | ||
12 | fi | ||
13 | bool 'bunzip2' CONFIG_BUNZIP2 | ||
14 | bool 'cpio' CONFIG_CPIO | ||
15 | bool 'dpkg' CONFIG_DPKG | ||
16 | bool 'dpkg_deb' CONFIG_DPKG_DEB | ||
17 | if [ "$CONFIG_DPKG_DEB" = "y" ] ; then | ||
18 | bool ' extract only (-x)' CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY | ||
19 | fi | ||
20 | if [ "$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 | ||
24 | fi | ||
25 | bool 'gunzip' CONFIG_GUNZIP | ||
26 | if [ "$CONFIG_GUNZIP" = "y" ]; then | ||
27 | bool ' Uncompress support' CONFIG_FEATURE_GUNZIP_UNCOMPRESS | ||
28 | fi | ||
29 | bool 'gzip' CONFIG_GZIP | ||
30 | bool 'rpm2cpio' CONFIG_RPM2CPIO | ||
31 | bool 'tar' CONFIG_TAR | ||
32 | if [ "$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 | ||
39 | fi | ||
40 | if [ "$CONFIG_CPIO" = "y" -o "$CONFIG_TAR" = "y" ] ; then | ||
41 | bool ' Enable tape drive support' CONFIG_FEATURE_UNARCHIVE_TAPE | ||
42 | fi | ||
43 | bool 'uncompress' CONFIG_UNCOMPRESS | ||
44 | bool 'unzip' CONFIG_UNZIP | ||
45 | endmenu | ||