aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-12-05 08:41:41 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-12-05 08:41:41 +0000
commite40a650628ce6b03e67c4c6d96ea396e7bd2afb3 (patch)
tree72904548bb54dcaf78017d3b35296765437e0bd5 /util-linux
parent49ec1a2dc6dfba670b3659286524fd5baf12e6fe (diff)
downloadbusybox-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.in232
-rw-r--r--util-linux/config.in69
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
6menu "Linux System Utilities"
7
8
9config CONFIG_DMESG
10 bool "dmesg"
11 default n
12 help
13 Please submit a patch to add help text for this item.
14
15config CONFIG_FBSET
16 bool "fbset"
17 default n
18 help
19 Please submit a patch to add help text for this item.
20
21config 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
28config 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
35config CONFIG_FDFLUSH
36 bool "fdflush"
37 default n
38 help
39 Please submit a patch to add help text for this item.
40
41config CONFIG_FDISK
42 bool "fdisk"
43 default n
44 help
45 Please submit a patch to add help text for this item.
46
47config 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
54config 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
61config 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
68config 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
75config 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
82config CONFIG_FREERAMDISK
83 bool "freeramdisk"
84 default n
85 help
86 Please submit a patch to add help text for this item.
87
88config 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
94config 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
100comment "Minix filesystem support"
101 depends on CONFIG_FSCK_MINIX || CONFIG_MKFS_MINIX
102
103config 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
110config CONFIG_GETOPT
111 bool "getopt"
112 default n
113 help
114 Please submit a patch to add help text for this item.
115
116config CONFIG_HEXDUMP
117 bool "hexdump"
118 default n
119 help
120 Please submit a patch to add help text for this item.
121
122config CONFIG_HWCLOCK
123 bool "hwclock"
124 default n
125 help
126 Please submit a patch to add help text for this item.
127
128config 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
135config CONFIG_LOSETUP
136 bool "losetup"
137 default n
138 help
139 Please submit a patch to add help text for this item.
140
141config CONFIG_MKSWAP
142 bool "mkswap"
143 default n
144 help
145 Please submit a patch to add help text for this item.
146
147config CONFIG_MORE
148 bool "more"
149 default n
150 help
151 Please submit a patch to add help text for this item.
152
153config 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
160comment "Common options for ls and more"
161 depends on CONFIG_LS || CONFIG_MORE
162
163config 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
170config 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
176config CONFIG_RDATE
177 bool "rdate"
178 default n
179 help
180 Please submit a patch to add help text for this item.
181
182config CONFIG_SWAPONOFF
183 bool "swaponoff"
184 default n
185 help
186 Please submit a patch to add help text for this item.
187
188config CONFIG_MOUNT
189 bool "mount"
190 default n
191 help
192 Please submit a patch to add help text for this item.
193
194config 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
201config CONFIG_UMOUNT
202 bool "umount"
203 default n
204 help
205 Please submit a patch to add help text for this item.
206
207config 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
214comment "Common options for mount/umount"
215 depends on CONFIG_MOUNT || CONFIG_UMOUNT
216
217config 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
224config 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
231endmenu
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
6mainmenu_option next_comment
7comment 'Linux System Utilities'
8
9
10bool 'dmesg' CONFIG_DMESG
11bool 'fbset' CONFIG_FBSET
12if [ "$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
15fi
16bool 'fdflush' CONFIG_FDFLUSH
17bool 'fdisk' CONFIG_FDISK
18if [ "$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
24fi
25bool 'freeramdisk' CONFIG_FREERAMDISK
26bool 'fsck_minix' CONFIG_FSCK_MINIX
27bool 'mkfs_minix' CONFIG_MKFS_MINIX
28if [ "$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
31fi
32bool 'getopt' CONFIG_GETOPT
33bool 'hexdump' CONFIG_HEXDUMP
34bool 'hwclock' CONFIG_HWCLOCK
35if [ "$CONFIG_HWCLOCK" = "y" ]; then
36 bool ' Support long options (--hctosys,...)' CONFIG_FEATURE_HWCLOCK_LONGOPTIONS
37fi
38bool 'losetup' CONFIG_LOSETUP
39bool 'mkswap' CONFIG_MKSWAP
40bool 'more' CONFIG_MORE
41if [ "$CONFIG_MORE" = "y" ]; then
42 bool ' Use termios to manipulate the screen' CONFIG_FEATURE_USE_TERMIOS
43fi
44if [ "$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
47fi
48bool 'pivot_root' CONFIG_PIVOT_ROOT
49bool 'rdate' CONFIG_RDATE
50bool 'swaponoff' CONFIG_SWAPONOFF
51bool 'mount' CONFIG_MOUNT
52if [ "$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
57fi
58bool 'umount' CONFIG_UMOUNT
59if [ "$CONFIG_UMOUNT" = "y" ]; then
60 bool ' Support forced filesystem unmounting' CONFIG_FEATURE_MOUNT_FORCE
61fi
62if [ "$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
66fi
67
68endmenu
69