diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-05 08:41:41 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-05 08:41:41 +0000 |
commit | e40a650628ce6b03e67c4c6d96ea396e7bd2afb3 (patch) | |
tree | 72904548bb54dcaf78017d3b35296765437e0bd5 /util-linux | |
parent | 49ec1a2dc6dfba670b3659286524fd5baf12e6fe (diff) | |
download | busybox-w32-e40a650628ce6b03e67c4c6d96ea396e7bd2afb3.tar.gz busybox-w32-e40a650628ce6b03e67c4c6d96ea396e7bd2afb3.tar.bz2 busybox-w32-e40a650628ce6b03e67c4c6d96ea396e7bd2afb3.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
git-svn-id: svn://busybox.net/trunk/busybox@6102 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/Config.in | 232 | ||||
-rw-r--r-- | util-linux/config.in | 69 |
2 files changed, 232 insertions, 69 deletions
diff --git a/util-linux/Config.in b/util-linux/Config.in new file mode 100644 index 000000000..0c84c77af --- /dev/null +++ b/util-linux/Config.in | |||
@@ -0,0 +1,232 @@ | |||
1 | # | ||
2 | # For a description of the syntax of this configuration file, | ||
3 | # see scripts/kbuild/config-language.txt. | ||
4 | # | ||
5 | |||
6 | menu "Linux System Utilities" | ||
7 | |||
8 | |||
9 | config CONFIG_DMESG | ||
10 | bool "dmesg" | ||
11 | default n | ||
12 | help | ||
13 | Please submit a patch to add help text for this item. | ||
14 | |||
15 | config CONFIG_FBSET | ||
16 | bool "fbset" | ||
17 | default n | ||
18 | help | ||
19 | Please submit a patch to add help text for this item. | ||
20 | |||
21 | config CONFIG_FEATURE_FBSET_FANCY | ||
22 | bool " Turn on extra fbset options" | ||
23 | default n | ||
24 | depends on CONFIG_FBSET | ||
25 | help | ||
26 | Please submit a patch to add help text for this item. | ||
27 | |||
28 | config CONFIG_FEATURE_FBSET_READMODE | ||
29 | bool " Turn on fbset readmode support" | ||
30 | default n | ||
31 | depends on CONFIG_FBSET | ||
32 | help | ||
33 | Please submit a patch to add help text for this item. | ||
34 | |||
35 | config CONFIG_FDFLUSH | ||
36 | bool "fdflush" | ||
37 | default n | ||
38 | help | ||
39 | Please submit a patch to add help text for this item. | ||
40 | |||
41 | config CONFIG_FDISK | ||
42 | bool "fdisk" | ||
43 | default n | ||
44 | help | ||
45 | Please submit a patch to add help text for this item. | ||
46 | |||
47 | config CONFIG_FEATURE_AIX_LABEL | ||
48 | bool " Support AIX disklabels" | ||
49 | default n | ||
50 | depends on CONFIG_FDISK | ||
51 | help | ||
52 | Please submit a patch to add help text for this item. | ||
53 | |||
54 | config CONFIG_FEATURE_SGI_LABEL | ||
55 | bool " Support SGI disklabels" | ||
56 | default n | ||
57 | depends on CONFIG_FDISK | ||
58 | help | ||
59 | Please submit a patch to add help text for this item. | ||
60 | |||
61 | config CONFIG_FEATURE_SUN_LABEL | ||
62 | bool " Support SUN disklabels" | ||
63 | default n | ||
64 | depends on CONFIG_FDISK | ||
65 | help | ||
66 | Please submit a patch to add help text for this item. | ||
67 | |||
68 | config CONFIG_FEATURE_OSF_LABEL | ||
69 | bool " Support BSD disklabels" | ||
70 | default n | ||
71 | depends on CONFIG_FDISK | ||
72 | help | ||
73 | Please submit a patch to add help text for this item. | ||
74 | |||
75 | config CONFIG_FEATURE_FDISK_ADVANCED | ||
76 | bool " Support expert mode" | ||
77 | default n | ||
78 | depends on CONFIG_FDISK | ||
79 | help | ||
80 | Please submit a patch to add help text for this item. | ||
81 | |||
82 | config CONFIG_FREERAMDISK | ||
83 | bool "freeramdisk" | ||
84 | default n | ||
85 | help | ||
86 | Please submit a patch to add help text for this item. | ||
87 | |||
88 | config CONFIG_FSCK_MINIX | ||
89 | bool "fsck_minix" | ||
90 | default n | ||
91 | help | ||
92 | Please submit a patch to add help text for this item. | ||
93 | |||
94 | config CONFIG_MKFS_MINIX | ||
95 | bool "mkfs_minix" | ||
96 | default n | ||
97 | help | ||
98 | Please submit a patch to add help text for this item. | ||
99 | |||
100 | comment "Minix filesystem support" | ||
101 | depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX | ||
102 | |||
103 | config CONFIG_FEATURE_MINIX2 | ||
104 | bool " Support Minix fs v2 (fsck_minix/mkfs_minix)" | ||
105 | default y | ||
106 | depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX | ||
107 | help | ||
108 | Please submit a patch to add help text for this item. | ||
109 | |||
110 | config CONFIG_GETOPT | ||
111 | bool "getopt" | ||
112 | default n | ||
113 | help | ||
114 | Please submit a patch to add help text for this item. | ||
115 | |||
116 | config CONFIG_HEXDUMP | ||
117 | bool "hexdump" | ||
118 | default n | ||
119 | help | ||
120 | Please submit a patch to add help text for this item. | ||
121 | |||
122 | config CONFIG_HWCLOCK | ||
123 | bool "hwclock" | ||
124 | default n | ||
125 | help | ||
126 | Please submit a patch to add help text for this item. | ||
127 | |||
128 | config CONFIG_FEATURE_HWCLOCK_LONGOPTIONS | ||
129 | bool " Support long options (--hctosys,...)" | ||
130 | default n | ||
131 | depends on CONFIG_HWCLOCK | ||
132 | help | ||
133 | Please submit a patch to add help text for this item. | ||
134 | |||
135 | config CONFIG_LOSETUP | ||
136 | bool "losetup" | ||
137 | default n | ||
138 | help | ||
139 | Please submit a patch to add help text for this item. | ||
140 | |||
141 | config CONFIG_MKSWAP | ||
142 | bool "mkswap" | ||
143 | default n | ||
144 | help | ||
145 | Please submit a patch to add help text for this item. | ||
146 | |||
147 | config CONFIG_MORE | ||
148 | bool "more" | ||
149 | default n | ||
150 | help | ||
151 | Please submit a patch to add help text for this item. | ||
152 | |||
153 | config CONFIG_FEATURE_USE_TERMIOS | ||
154 | bool " Use termios to manipulate the screen" | ||
155 | default y | ||
156 | depends on CONFIG_MORE | ||
157 | help | ||
158 | Please submit a patch to add help text for this item. | ||
159 | |||
160 | comment "Common options for ls and more" | ||
161 | depends on CONFIG_LS || CONFIG_MORE | ||
162 | |||
163 | config CONFIG_FEATURE_AUTOWIDTH | ||
164 | bool " Calculate terminal & column widths" | ||
165 | default y | ||
166 | depends on CONFIG_LS || CONFIG_MORE | ||
167 | help | ||
168 | Please submit a patch to add help text for this item. | ||
169 | |||
170 | config CONFIG_PIVOT_ROOT | ||
171 | bool "pivot_root" | ||
172 | default n | ||
173 | help | ||
174 | Please submit a patch to add help text for this item. | ||
175 | |||
176 | config CONFIG_RDATE | ||
177 | bool "rdate" | ||
178 | default n | ||
179 | help | ||
180 | Please submit a patch to add help text for this item. | ||
181 | |||
182 | config CONFIG_SWAPONOFF | ||
183 | bool "swaponoff" | ||
184 | default n | ||
185 | help | ||
186 | Please submit a patch to add help text for this item. | ||
187 | |||
188 | config CONFIG_MOUNT | ||
189 | bool "mount" | ||
190 | default n | ||
191 | help | ||
192 | Please submit a patch to add help text for this item. | ||
193 | |||
194 | config CONFIG_NFSMOUNT | ||
195 | bool " Support mounting nfs file systems" | ||
196 | default n | ||
197 | depends on CONFIG_MOUNT | ||
198 | help | ||
199 | Please submit a patch to add help text for this item. | ||
200 | |||
201 | config CONFIG_UMOUNT | ||
202 | bool "umount" | ||
203 | default n | ||
204 | help | ||
205 | Please submit a patch to add help text for this item. | ||
206 | |||
207 | config CONFIG_FEATURE_MOUNT_FORCE | ||
208 | bool " Support forced filesystem unmounting" | ||
209 | default n | ||
210 | depends on CONFIG_UMOUNT | ||
211 | help | ||
212 | Please submit a patch to add help text for this item. | ||
213 | |||
214 | comment "Common options for mount/umount" | ||
215 | depends on CONFIG_MOUNT || CONFIG_UMOUNT | ||
216 | |||
217 | config CONFIG_FEATURE_MOUNT_LOOP | ||
218 | bool " Support for loop devices" | ||
219 | default n | ||
220 | depends on CONFIG_MOUNT || CONFIG_UMOUNT | ||
221 | help | ||
222 | Please submit a patch to add help text for this item. | ||
223 | |||
224 | config CONFIG_FEATURE_MTAB_SUPPORT | ||
225 | bool " Support for a real /etc/mtab (instead of /proc/mounts)" | ||
226 | default n | ||
227 | depends on CONFIG_MOUNT || CONFIG_UMOUNT | ||
228 | help | ||
229 | Please submit a patch to add help text for this item. | ||
230 | |||
231 | endmenu | ||
232 | |||
diff --git a/util-linux/config.in b/util-linux/config.in deleted file mode 100644 index eee050a05..000000000 --- a/util-linux/config.in +++ /dev/null | |||
@@ -1,69 +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 'Linux System Utilities' | ||
8 | |||
9 | |||
10 | bool 'dmesg' CONFIG_DMESG | ||
11 | bool 'fbset' CONFIG_FBSET | ||
12 | if [ "$CONFIG_FBSET" = "y" ]; then | ||
13 | bool ' Turn on extra fbset options' CONFIG_FEATURE_FBSET_FANCY | ||
14 | bool ' Turn on fbset readmode support' CONFIG_FEATURE_FBSET_READMODE | ||
15 | fi | ||
16 | bool 'fdflush' CONFIG_FDFLUSH | ||
17 | bool 'fdisk' CONFIG_FDISK | ||
18 | if [ "$CONFIG_FDISK" = "y" ]; then | ||
19 | bool ' Support AIX disklabels' CONFIG_FEATURE_AIX_LABEL | ||
20 | bool ' Support SGI disklabels' CONFIG_FEATURE_SGI_LABEL | ||
21 | bool ' Support SUN disklabels' CONFIG_FEATURE_SUN_LABEL | ||
22 | bool ' Support BSD disklabels' CONFIG_FEATURE_OSF_LABEL | ||
23 | bool ' Support expert mode' CONFIG_FEATURE_FDISK_ADVANCED | ||
24 | fi | ||
25 | bool 'freeramdisk' CONFIG_FREERAMDISK | ||
26 | bool 'fsck_minix' CONFIG_FSCK_MINIX | ||
27 | bool 'mkfs_minix' CONFIG_MKFS_MINIX | ||
28 | if [ "$CONFIG_FSCK_MINIX" = "y" -o "$CONFIG_MKFS_MINIX" = "y" ]; then | ||
29 | comment ' Minix filesystem support' | ||
30 | bool ' Support Minix fs v2 (fsck_minix/mkfs_minix)' CONFIG_FEATURE_MINIX2 | ||
31 | fi | ||
32 | bool 'getopt' CONFIG_GETOPT | ||
33 | bool 'hexdump' CONFIG_HEXDUMP | ||
34 | bool 'hwclock' CONFIG_HWCLOCK | ||
35 | if [ "$CONFIG_HWCLOCK" = "y" ]; then | ||
36 | bool ' Support long options (--hctosys,...)' CONFIG_FEATURE_HWCLOCK_LONGOPTIONS | ||
37 | fi | ||
38 | bool 'losetup' CONFIG_LOSETUP | ||
39 | bool 'mkswap' CONFIG_MKSWAP | ||
40 | bool 'more' CONFIG_MORE | ||
41 | if [ "$CONFIG_MORE" = "y" ]; then | ||
42 | bool ' Use termios to manipulate the screen' CONFIG_FEATURE_USE_TERMIOS | ||
43 | fi | ||
44 | if [ "$CONFIG_LS" = "y" -o "$CONFIG_MORE" = "y" ]; then | ||
45 | comment ' Common options for ls and more' | ||
46 | bool ' Calculate terminal & column widths' CONFIG_FEATURE_AUTOWIDTH | ||
47 | fi | ||
48 | bool 'pivot_root' CONFIG_PIVOT_ROOT | ||
49 | bool 'rdate' CONFIG_RDATE | ||
50 | bool 'swaponoff' CONFIG_SWAPONOFF | ||
51 | bool 'mount' CONFIG_MOUNT | ||
52 | if [ "$CONFIG_MOUNT" = "y" ]; then | ||
53 | bool ' Support mounting nfs file systems' CONFIG_NFSMOUNT | ||
54 | if [ "$CONFIG_FEATURE_USE_DEVPS_PATCH" = "n" ]; then | ||
55 | bool ' Use devmtab instead of /proc (needs a patched kernel)' CONFIG_FEATURE_USE_DEVPS_PATCH | ||
56 | fi | ||
57 | fi | ||
58 | bool 'umount' CONFIG_UMOUNT | ||
59 | if [ "$CONFIG_UMOUNT" = "y" ]; then | ||
60 | bool ' Support forced filesystem unmounting' CONFIG_FEATURE_MOUNT_FORCE | ||
61 | fi | ||
62 | if [ "$CONFIG_MOUNT" = "y" -o "$CONFIG_UMOUNT" = "y" ]; then | ||
63 | comment 'Common options for mount/umount' | ||
64 | bool ' Support for loop devices' CONFIG_FEATURE_MOUNT_LOOP | ||
65 | bool ' Support for a real /etc/mtab (instead of /proc/mounts)' CONFIG_FEATURE_MTAB_SUPPORT | ||
66 | fi | ||
67 | |||
68 | endmenu | ||
69 | |||