aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-26 22:24:08 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-26 22:24:08 +0100
commite3b1a1fd28558f7a1b3c0ec33313bedb675be8a1 (patch)
tree0fb387c2e7d45dc541d9a42f9f0eba4352353aa5
parentda4441c44f6efccb6f7b7588404d9c6bfb7b6af8 (diff)
downloadbusybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.tar.gz
busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.tar.bz2
busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.zip
Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--Config.in2
-rw-r--r--console-tools/Config.src26
-rw-r--r--coreutils/Config.src2
-rw-r--r--coreutils/date.c3
-rw-r--r--e2fsprogs/Config.src2
-rw-r--r--libbb/Config.src2
-rw-r--r--miscutils/Config.src27
-rw-r--r--miscutils/conspy.c2
-rw-r--r--miscutils/nandwrite.c4
-rw-r--r--miscutils/ubi_attach_detach.c10
-rw-r--r--modutils/Config.src20
-rw-r--r--networking/Config.src37
-rw-r--r--networking/ping.c2
-rw-r--r--networking/udhcp/Config.src4
-rw-r--r--procps/Config.src7
-rw-r--r--sysklogd/Config.src3
-rw-r--r--util-linux/Config.src54
17 files changed, 115 insertions, 92 deletions
diff --git a/Config.in b/Config.in
index 3361e7381..94414db04 100644
--- a/Config.in
+++ b/Config.in
@@ -385,7 +385,7 @@ config FEATURE_SUID_CONFIG_QUIET
385config SELINUX 385config SELINUX
386 bool "Support NSA Security Enhanced Linux" 386 bool "Support NSA Security Enhanced Linux"
387 default n 387 default n
388 depends on PLATFORM_LINUX 388 select PLATFORM_LINUX
389 help 389 help
390 Enable support for SELinux in applets ls, ps, and id. Also provide 390 Enable support for SELinux in applets ls, ps, and id. Also provide
391 the option of compiling in SELinux applets. 391 the option of compiling in SELinux applets.
diff --git a/console-tools/Config.src b/console-tools/Config.src
index cdb26800e..c65704478 100644
--- a/console-tools/Config.src
+++ b/console-tools/Config.src
@@ -10,7 +10,7 @@ INSERT
10config CHVT 10config CHVT
11 bool "chvt" 11 bool "chvt"
12 default y 12 default y
13 depends on PLATFORM_LINUX 13 select PLATFORM_LINUX
14 help 14 help
15 This program is used to change to another terminal. 15 This program is used to change to another terminal.
16 Example: chvt 4 (change to terminal /dev/tty4) 16 Example: chvt 4 (change to terminal /dev/tty4)
@@ -18,7 +18,7 @@ config CHVT
18config FGCONSOLE 18config FGCONSOLE
19 bool "fgconsole" 19 bool "fgconsole"
20 default y 20 default y
21 depends on PLATFORM_LINUX 21 select PLATFORM_LINUX
22 help 22 help
23 This program prints active (foreground) console number. 23 This program prints active (foreground) console number.
24 24
@@ -31,14 +31,14 @@ config CLEAR
31config DEALLOCVT 31config DEALLOCVT
32 bool "deallocvt" 32 bool "deallocvt"
33 default y 33 default y
34 depends on PLATFORM_LINUX 34 select PLATFORM_LINUX
35 help 35 help
36 This program deallocates unused virtual consoles. 36 This program deallocates unused virtual consoles.
37 37
38config DUMPKMAP 38config DUMPKMAP
39 bool "dumpkmap" 39 bool "dumpkmap"
40 default y 40 default y
41 depends on PLATFORM_LINUX 41 select PLATFORM_LINUX
42 help 42 help
43 This program dumps the kernel's keyboard translation table to 43 This program dumps the kernel's keyboard translation table to
44 stdout, in binary format. You can then use loadkmap to load it. 44 stdout, in binary format. You can then use loadkmap to load it.
@@ -46,21 +46,21 @@ config DUMPKMAP
46config KBD_MODE 46config KBD_MODE
47 bool "kbd_mode" 47 bool "kbd_mode"
48 default y 48 default y
49 depends on PLATFORM_LINUX 49 select PLATFORM_LINUX
50 help 50 help
51 This program reports and sets keyboard mode. 51 This program reports and sets keyboard mode.
52 52
53config LOADFONT 53config LOADFONT
54 bool "loadfont" 54 bool "loadfont"
55 default y 55 default y
56 depends on PLATFORM_LINUX 56 select PLATFORM_LINUX
57 help 57 help
58 This program loads a console font from standard input. 58 This program loads a console font from standard input.
59 59
60config LOADKMAP 60config LOADKMAP
61 bool "loadkmap" 61 bool "loadkmap"
62 default y 62 default y
63 depends on PLATFORM_LINUX 63 select PLATFORM_LINUX
64 help 64 help
65 This program loads a keyboard translation table from 65 This program loads a keyboard translation table from
66 standard input. 66 standard input.
@@ -68,7 +68,7 @@ config LOADKMAP
68config OPENVT 68config OPENVT
69 bool "openvt" 69 bool "openvt"
70 default y 70 default y
71 depends on PLATFORM_LINUX 71 select PLATFORM_LINUX
72 help 72 help
73 This program is used to start a command on an unused 73 This program is used to start a command on an unused
74 virtual terminal. 74 virtual terminal.
@@ -100,7 +100,7 @@ config FEATURE_RESIZE_PRINT
100config SETCONSOLE 100config SETCONSOLE
101 bool "setconsole" 101 bool "setconsole"
102 default y 102 default y
103 depends on PLATFORM_LINUX 103 select PLATFORM_LINUX
104 help 104 help
105 This program redirects the system console to another device, 105 This program redirects the system console to another device,
106 like the current tty while logged in via telnet. 106 like the current tty while logged in via telnet.
@@ -115,7 +115,7 @@ config FEATURE_SETCONSOLE_LONG_OPTIONS
115config SETFONT 115config SETFONT
116 bool "setfont" 116 bool "setfont"
117 default y 117 default y
118 depends on PLATFORM_LINUX 118 select PLATFORM_LINUX
119 help 119 help
120 Allows to load console screen map. Useful for i18n. 120 Allows to load console screen map. Useful for i18n.
121 121
@@ -137,7 +137,7 @@ config DEFAULT_SETFONT_DIR
137config SETKEYCODES 137config SETKEYCODES
138 bool "setkeycodes" 138 bool "setkeycodes"
139 default y 139 default y
140 depends on PLATFORM_LINUX 140 select PLATFORM_LINUX
141 help 141 help
142 This program loads entries into the kernel's scancode-to-keycode 142 This program loads entries into the kernel's scancode-to-keycode
143 map, allowing unusual keyboards to generate usable keycodes. 143 map, allowing unusual keyboards to generate usable keycodes.
@@ -145,14 +145,14 @@ config SETKEYCODES
145config SETLOGCONS 145config SETLOGCONS
146 bool "setlogcons" 146 bool "setlogcons"
147 default y 147 default y
148 depends on PLATFORM_LINUX 148 select PLATFORM_LINUX
149 help 149 help
150 This program redirects the output console of kernel messages. 150 This program redirects the output console of kernel messages.
151 151
152config SHOWKEY 152config SHOWKEY
153 bool "showkey" 153 bool "showkey"
154 default y 154 default y
155 depends on PLATFORM_LINUX 155 select PLATFORM_LINUX
156 help 156 help
157 Shows keys pressed. 157 Shows keys pressed.
158 158
diff --git a/coreutils/Config.src b/coreutils/Config.src
index 1a044f96c..1843e8b0e 100644
--- a/coreutils/Config.src
+++ b/coreutils/Config.src
@@ -591,7 +591,7 @@ config FEATURE_SPLIT_FANCY
591config STAT 591config STAT
592 bool "stat" 592 bool "stat"
593 default y 593 default y
594 depends on PLATFORM_LINUX # statfs() 594 select PLATFORM_LINUX # statfs()
595 help 595 help
596 display file or filesystem status. 596 display file or filesystem status.
597 597
diff --git a/coreutils/date.c b/coreutils/date.c
index 05b4f6eed..db1b693aa 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -42,7 +42,8 @@
42//config:config FEATURE_DATE_NANO 42//config:config FEATURE_DATE_NANO
43//config: bool "Support %[num]N nanosecond format specifier" 43//config: bool "Support %[num]N nanosecond format specifier"
44//config: default n 44//config: default n
45//config: depends on DATE && PLATFORM_LINUX # syscall(__NR_clock_gettime) 45//config: depends on DATE # syscall(__NR_clock_gettime)
46//config: select PLATFORM_LINUX
46//config: help 47//config: help
47//config: Support %[num]N format specifier. Adds ~250 bytes of code. 48//config: Support %[num]N format specifier. Adds ~250 bytes of code.
48//config: 49//config:
diff --git a/e2fsprogs/Config.src b/e2fsprogs/Config.src
index 6043e9b57..743e1e11f 100644
--- a/e2fsprogs/Config.src
+++ b/e2fsprogs/Config.src
@@ -33,7 +33,7 @@ config FSCK
33config LSATTR 33config LSATTR
34 bool "lsattr" 34 bool "lsattr"
35 default y 35 default y
36 depends on PLATFORM_LINUX 36 select PLATFORM_LINUX
37 help 37 help
38 lsattr lists the file attributes on a second extended file system. 38 lsattr lists the file attributes on a second extended file system.
39 39
diff --git a/libbb/Config.src b/libbb/Config.src
index 18bdc5151..a25af23b4 100644
--- a/libbb/Config.src
+++ b/libbb/Config.src
@@ -183,7 +183,7 @@ config FEATURE_SKIP_ROOTFS
183config MONOTONIC_SYSCALL 183config MONOTONIC_SYSCALL
184 bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" 184 bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
185 default n 185 default n
186 depends on PLATFORM_LINUX 186 select PLATFORM_LINUX
187 help 187 help
188 Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring 188 Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
189 time intervals (time, ping, traceroute etc need this). 189 time intervals (time, ping, traceroute etc need this).
diff --git a/miscutils/Config.src b/miscutils/Config.src
index b5866bbd7..61529141d 100644
--- a/miscutils/Config.src
+++ b/miscutils/Config.src
@@ -10,7 +10,7 @@ INSERT
10config ADJTIMEX 10config ADJTIMEX
11 bool "adjtimex" 11 bool "adjtimex"
12 default y 12 default y
13 depends on PLATFORM_LINUX 13 select PLATFORM_LINUX
14 help 14 help
15 Adjtimex reads and optionally sets adjustment parameters for 15 Adjtimex reads and optionally sets adjustment parameters for
16 the Linux clock adjustment algorithm. 16 the Linux clock adjustment algorithm.
@@ -39,7 +39,7 @@ config FEATURE_COMPRESS_BBCONFIG
39config BEEP 39config BEEP
40 bool "beep" 40 bool "beep"
41 default y 41 default y
42 depends on PLATFORM_LINUX 42 select PLATFORM_LINUX
43 help 43 help
44 The beep applets beeps in a given freq/Hz. 44 The beep applets beeps in a given freq/Hz.
45 45
@@ -194,7 +194,7 @@ config FEATURE_DC_LIBM
194config DEVFSD 194config DEVFSD
195 bool "devfsd (obsolete)" 195 bool "devfsd (obsolete)"
196 default n 196 default n
197 depends on PLATFORM_LINUX 197 select PLATFORM_LINUX
198 select FEATURE_SYSLOG 198 select FEATURE_SYSLOG
199 help 199 help
200 This is deprecated and should NOT be used anymore. 200 This is deprecated and should NOT be used anymore.
@@ -238,7 +238,7 @@ config DEVFSD_VERBOSE
238config FEATURE_DEVFS 238config FEATURE_DEVFS
239 bool "Use devfs names for all devices (obsolete)" 239 bool "Use devfs names for all devices (obsolete)"
240 default n 240 default n
241 depends on PLATFORM_LINUX 241 select PLATFORM_LINUX
242 help 242 help
243 This is obsolete and should NOT be used anymore. 243 This is obsolete and should NOT be used anymore.
244 Use linux >= 2.6 (optionally with hotplug) and mdev instead! 244 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
@@ -258,7 +258,7 @@ config DEVMEM
258config EJECT 258config EJECT
259 bool "eject" 259 bool "eject"
260 default y 260 default y
261 depends on PLATFORM_LINUX 261 select PLATFORM_LINUX
262 help 262 help
263 Used to eject cdroms. (defaults to /dev/cdrom) 263 Used to eject cdroms. (defaults to /dev/cdrom)
264 264
@@ -273,7 +273,7 @@ config FEATURE_EJECT_SCSI
273config FBSPLASH 273config FBSPLASH
274 bool "fbsplash" 274 bool "fbsplash"
275 default y 275 default y
276 depends on PLATFORM_LINUX 276 select PLATFORM_LINUX
277 help 277 help
278 Shows splash image and progress bar on framebuffer device. 278 Shows splash image and progress bar on framebuffer device.
279 Can be used during boot phase of an embedded device. ~2kb. 279 Can be used during boot phase of an embedded device. ~2kb.
@@ -323,7 +323,7 @@ config FLASH_ERASEALL
323config IONICE 323config IONICE
324 bool "ionice" 324 bool "ionice"
325 default y 325 default y
326 depends on PLATFORM_LINUX 326 select PLATFORM_LINUX
327 help 327 help
328 Set/set program io scheduling class and priority 328 Set/set program io scheduling class and priority
329 Requires kernel >= 2.6.13 329 Requires kernel >= 2.6.13
@@ -429,7 +429,7 @@ config FEATURE_LESS_LINENUMS
429config HDPARM 429config HDPARM
430 bool "hdparm" 430 bool "hdparm"
431 default y 431 default y
432 depends on PLATFORM_LINUX 432 select PLATFORM_LINUX
433 help 433 help
434 Get/Set hard drive parameters. Primarily intended for ATA 434 Get/Set hard drive parameters. Primarily intended for ATA
435 drives. Adds about 13k (or around 30k if you enable the 435 drives. Adds about 13k (or around 30k if you enable the
@@ -546,7 +546,7 @@ config MT
546config RAIDAUTORUN 546config RAIDAUTORUN
547 bool "raidautorun" 547 bool "raidautorun"
548 default y 548 default y
549 depends on PLATFORM_LINUX 549 select PLATFORM_LINUX
550 help 550 help
551 raidautorun tells the kernel md driver to 551 raidautorun tells the kernel md driver to
552 search and start RAID arrays. 552 search and start RAID arrays.
@@ -554,7 +554,8 @@ config RAIDAUTORUN
554config READAHEAD 554config READAHEAD
555 bool "readahead" 555 bool "readahead"
556 default y 556 default y
557 depends on LFS && PLATFORM_LINUX 557 depends on LFS
558 select PLATFORM_LINUX
558 help 559 help
559 Preload the files listed on the command line into RAM cache so that 560 Preload the files listed on the command line into RAM cache so that
560 subsequent reads on these files will not block on disk I/O. 561 subsequent reads on these files will not block on disk I/O.
@@ -571,7 +572,7 @@ config READAHEAD
571config RFKILL 572config RFKILL
572 bool "rfkill" 573 bool "rfkill"
573 default n # doesn't build on Ubuntu 9.04 574 default n # doesn't build on Ubuntu 9.04
574 depends on PLATFORM_LINUX 575 select PLATFORM_LINUX
575 help 576 help
576 Enable/disable wireless devices. 577 Enable/disable wireless devices.
577 578
@@ -593,7 +594,7 @@ config RUNLEVEL
593config RX 594config RX
594 bool "rx" 595 bool "rx"
595 default y 596 default y
596 depends on PLATFORM_LINUX 597 select PLATFORM_LINUX
597 help 598 help
598 Receive files using the Xmodem protocol. 599 Receive files using the Xmodem protocol.
599 600
@@ -666,7 +667,7 @@ config WALL
666config WATCHDOG 667config WATCHDOG
667 bool "watchdog" 668 bool "watchdog"
668 default y 669 default y
669 depends on PLATFORM_LINUX 670 select PLATFORM_LINUX
670 help 671 help
671 The watchdog utility is used with hardware or software watchdog 672 The watchdog utility is used with hardware or software watchdog
672 device drivers. It opens the specified watchdog device special file 673 device drivers. It opens the specified watchdog device special file
diff --git a/miscutils/conspy.c b/miscutils/conspy.c
index 721eb6d59..1fdb2fb38 100644
--- a/miscutils/conspy.c
+++ b/miscutils/conspy.c
@@ -17,7 +17,7 @@
17//config:config CONSPY 17//config:config CONSPY
18//config: bool "conspy" 18//config: bool "conspy"
19//config: default n 19//config: default n
20//config: depends on PLATFORM_LINUX 20//config: select PLATFORM_LINUX
21//config: help 21//config: help
22//config: A text-mode VNC like program for Linux virtual terminals. 22//config: A text-mode VNC like program for Linux virtual terminals.
23//config: example: conspy NUM shared access to console num 23//config: example: conspy NUM shared access to console num
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c
index c5e2fb841..c7fbe7d9c 100644
--- a/miscutils/nandwrite.c
+++ b/miscutils/nandwrite.c
@@ -17,14 +17,14 @@
17//config:config NANDWRITE 17//config:config NANDWRITE
18//config: bool "nandwrite" 18//config: bool "nandwrite"
19//config: default n 19//config: default n
20//config: depends on PLATFORM_LINUX 20//config: select PLATFORM_LINUX
21//config: help 21//config: help
22//config: Write to the specified MTD device, with bad blocks awareness 22//config: Write to the specified MTD device, with bad blocks awareness
23//config: 23//config:
24//config:config NANDDUMP 24//config:config NANDDUMP
25//config: bool "nanddump" 25//config: bool "nanddump"
26//config: default n 26//config: default n
27//config: depends on PLATFORM_LINUX 27//config: select PLATFORM_LINUX
28//config: help 28//config: help
29//config: Dump the content of raw NAND chip 29//config: Dump the content of raw NAND chip
30 30
diff --git a/miscutils/ubi_attach_detach.c b/miscutils/ubi_attach_detach.c
index fef9250ee..9007f8c3f 100644
--- a/miscutils/ubi_attach_detach.c
+++ b/miscutils/ubi_attach_detach.c
@@ -6,35 +6,35 @@
6//config:config UBIATTACH 6//config:config UBIATTACH
7//config: bool "ubiattach" 7//config: bool "ubiattach"
8//config: default y 8//config: default y
9//config: depends on PLATFORM_LINUX 9//config: select PLATFORM_LINUX
10//config: help 10//config: help
11//config: Attach MTD device to an UBI device. 11//config: Attach MTD device to an UBI device.
12//config: 12//config:
13//config:config UBIDETACH 13//config:config UBIDETACH
14//config: bool "ubidetach" 14//config: bool "ubidetach"
15//config: default y 15//config: default y
16//config: depends on PLATFORM_LINUX 16//config: select PLATFORM_LINUX
17//config: help 17//config: help
18//config: Detach MTD device from an UBI device. 18//config: Detach MTD device from an UBI device.
19//config: 19//config:
20//config:config UBIMKVOL 20//config:config UBIMKVOL
21//config: bool "ubimkvol" 21//config: bool "ubimkvol"
22//config: default y 22//config: default y
23//config: depends on PLATFORM_LINUX 23//config: select PLATFORM_LINUX
24//config: help 24//config: help
25//config: Create a UBI volume. 25//config: Create a UBI volume.
26//config: 26//config:
27//config:config UBIRMVOL 27//config:config UBIRMVOL
28//config: bool "ubirmvol" 28//config: bool "ubirmvol"
29//config: default y 29//config: default y
30//config: depends on PLATFORM_LINUX 30//config: select PLATFORM_LINUX
31//config: help 31//config: help
32//config: Delete a UBI volume. 32//config: Delete a UBI volume.
33//config: 33//config:
34//config:config UBIRSVOL 34//config:config UBIRSVOL
35//config: bool "ubirsvol" 35//config: bool "ubirsvol"
36//config: default y 36//config: default y
37//config: depends on PLATFORM_LINUX 37//config: select PLATFORM_LINUX
38//config: help 38//config: help
39//config: Resize a UBI volume. 39//config: Resize a UBI volume.
40 40
diff --git a/modutils/Config.src b/modutils/Config.src
index 4191d29f2..449ac65af 100644
--- a/modutils/Config.src
+++ b/modutils/Config.src
@@ -4,13 +4,13 @@
4# 4#
5 5
6menu "Linux Module Utilities" 6menu "Linux Module Utilities"
7depends on PLATFORM_LINUX
8 7
9INSERT 8INSERT
10 9
11config MODPROBE_SMALL 10config MODPROBE_SMALL
12 bool "Simplified modutils" 11 bool "Simplified modutils"
13 default y 12 default y
13 select PLATFORM_LINUX
14 help 14 help
15 Simplified modutils. 15 Simplified modutils.
16 16
@@ -45,6 +45,7 @@ config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
45 bool "Accept module options on modprobe command line" 45 bool "Accept module options on modprobe command line"
46 default y 46 default y
47 depends on MODPROBE_SMALL 47 depends on MODPROBE_SMALL
48 select PLATFORM_LINUX
48 help 49 help
49 Allow insmod and modprobe take module options from command line. 50 Allow insmod and modprobe take module options from command line.
50 51
@@ -59,6 +60,7 @@ config INSMOD
59 bool "insmod" 60 bool "insmod"
60 default n 61 default n
61 depends on !MODPROBE_SMALL 62 depends on !MODPROBE_SMALL
63 select PLATFORM_LINUX
62 help 64 help
63 insmod is used to load specified modules in the running kernel. 65 insmod is used to load specified modules in the running kernel.
64 66
@@ -66,6 +68,7 @@ config RMMOD
66 bool "rmmod" 68 bool "rmmod"
67 default n 69 default n
68 depends on !MODPROBE_SMALL 70 depends on !MODPROBE_SMALL
71 select PLATFORM_LINUX
69 help 72 help
70 rmmod is used to unload specified modules from the kernel. 73 rmmod is used to unload specified modules from the kernel.
71 74
@@ -73,6 +76,7 @@ config LSMOD
73 bool "lsmod" 76 bool "lsmod"
74 default n 77 default n
75 depends on !MODPROBE_SMALL 78 depends on !MODPROBE_SMALL
79 select PLATFORM_LINUX
76 help 80 help
77 lsmod is used to display a list of loaded modules. 81 lsmod is used to display a list of loaded modules.
78 82
@@ -80,6 +84,7 @@ config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
80 bool "Pretty output" 84 bool "Pretty output"
81 default n 85 default n
82 depends on LSMOD 86 depends on LSMOD
87 select PLATFORM_LINUX
83 help 88 help
84 This option makes output format of lsmod adjusted to 89 This option makes output format of lsmod adjusted to
85 the format of module-init-tools for Linux kernel 2.6. 90 the format of module-init-tools for Linux kernel 2.6.
@@ -89,6 +94,7 @@ config MODPROBE
89 bool "modprobe" 94 bool "modprobe"
90 default n 95 default n
91 depends on !MODPROBE_SMALL 96 depends on !MODPROBE_SMALL
97 select PLATFORM_LINUX
92 help 98 help
93 Handle the loading of modules, and their dependencies on a high 99 Handle the loading of modules, and their dependencies on a high
94 level. 100 level.
@@ -97,6 +103,7 @@ config FEATURE_MODPROBE_BLACKLIST
97 bool "Blacklist support" 103 bool "Blacklist support"
98 default n 104 default n
99 depends on MODPROBE 105 depends on MODPROBE
106 select PLATFORM_LINUX
100 help 107 help
101 Say 'y' here to enable support for the 'blacklist' command in 108 Say 'y' here to enable support for the 'blacklist' command in
102 modprobe.conf. This prevents the alias resolver to resolve 109 modprobe.conf. This prevents the alias resolver to resolve
@@ -108,6 +115,7 @@ config DEPMOD
108 bool "depmod" 115 bool "depmod"
109 default n 116 default n
110 depends on !MODPROBE_SMALL 117 depends on !MODPROBE_SMALL
118 select PLATFORM_LINUX
111 help 119 help
112 depmod generates modules.dep (and potentially modules.alias 120 depmod generates modules.dep (and potentially modules.alias
113 and modules.symbols) that contain dependency information 121 and modules.symbols) that contain dependency information
@@ -119,6 +127,7 @@ config FEATURE_2_4_MODULES
119 bool "Support version 2.2/2.4 Linux kernels" 127 bool "Support version 2.2/2.4 Linux kernels"
120 default n 128 default n
121 depends on INSMOD || RMMOD || LSMOD 129 depends on INSMOD || RMMOD || LSMOD
130 select PLATFORM_LINUX
122 help 131 help
123 Support module loading for 2.2.x and 2.4.x Linux kernels. 132 Support module loading for 2.2.x and 2.4.x Linux kernels.
124 This increases size considerably. Say N unless you plan 133 This increases size considerably. Say N unless you plan
@@ -128,6 +137,7 @@ config FEATURE_INSMOD_TRY_MMAP
128 bool "Try to load module from a mmap'ed area" 137 bool "Try to load module from a mmap'ed area"
129 default n 138 default n
130 depends on INSMOD || MODPROBE_SMALL 139 depends on INSMOD || MODPROBE_SMALL
140 select PLATFORM_LINUX
131 help 141 help
132 This option causes module loading code to try to mmap 142 This option causes module loading code to try to mmap
133 module first. If it does not work (for example, 143 module first. If it does not work (for example,
@@ -144,6 +154,7 @@ config FEATURE_INSMOD_VERSION_CHECKING
144 bool "Enable module version checking" 154 bool "Enable module version checking"
145 default n 155 default n
146 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) 156 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
157 select PLATFORM_LINUX
147 help 158 help
148 Support checking of versions for modules. This is used to 159 Support checking of versions for modules. This is used to
149 ensure that the kernel and module are made for each other. 160 ensure that the kernel and module are made for each other.
@@ -152,6 +163,7 @@ config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
152 bool "Add module symbols to kernel symbol table" 163 bool "Add module symbols to kernel symbol table"
153 default n 164 default n
154 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) 165 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
166 select PLATFORM_LINUX
155 help 167 help
156 By adding module symbols to the kernel symbol table, Oops messages 168 By adding module symbols to the kernel symbol table, Oops messages
157 occuring within kernel modules can be properly debugged. By enabling 169 occuring within kernel modules can be properly debugged. By enabling
@@ -163,6 +175,7 @@ config FEATURE_INSMOD_LOADINKMEM
163 bool "In kernel memory optimization (uClinux only)" 175 bool "In kernel memory optimization (uClinux only)"
164 default n 176 default n
165 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) 177 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
178 select PLATFORM_LINUX
166 help 179 help
167 This is a special uClinux only memory optimization that lets insmod 180 This is a special uClinux only memory optimization that lets insmod
168 load the specified kernel module directly into kernel space, reducing 181 load the specified kernel module directly into kernel space, reducing
@@ -173,6 +186,7 @@ config FEATURE_INSMOD_LOAD_MAP
173 bool "Enable insmod load map (-m) option" 186 bool "Enable insmod load map (-m) option"
174 default n 187 default n
175 depends on FEATURE_2_4_MODULES && INSMOD 188 depends on FEATURE_2_4_MODULES && INSMOD
189 select PLATFORM_LINUX
176 help 190 help
177 Enabling this, one would be able to get a load map 191 Enabling this, one would be able to get a load map
178 output on stdout. This makes kernel module debugging 192 output on stdout. This makes kernel module debugging
@@ -184,6 +198,7 @@ config FEATURE_INSMOD_LOAD_MAP_FULL
184 bool "Symbols in load map" 198 bool "Symbols in load map"
185 default y 199 default y
186 depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL 200 depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL
201 select PLATFORM_LINUX
187 help 202 help
188 Without this option, -m will only output section 203 Without this option, -m will only output section
189 load map. With this option, -m will also output 204 load map. With this option, -m will also output
@@ -193,6 +208,7 @@ config FEATURE_CHECK_TAINTED_MODULE
193 bool "Support tainted module checking with new kernels" 208 bool "Support tainted module checking with new kernels"
194 default y 209 default y
195 depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL 210 depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL
211 select PLATFORM_LINUX
196 help 212 help
197 Support checking for tainted modules. These are usually binary 213 Support checking for tainted modules. These are usually binary
198 only modules that will make the linux-kernel list ignore your 214 only modules that will make the linux-kernel list ignore your
@@ -203,6 +219,7 @@ config FEATURE_MODUTILS_ALIAS
203 bool "Support for module.aliases file" 219 bool "Support for module.aliases file"
204 default y 220 default y
205 depends on DEPMOD || MODPROBE 221 depends on DEPMOD || MODPROBE
222 select PLATFORM_LINUX
206 help 223 help
207 Generate and parse modules.alias containing aliases for bus 224 Generate and parse modules.alias containing aliases for bus
208 identifiers: 225 identifiers:
@@ -219,6 +236,7 @@ config FEATURE_MODUTILS_SYMBOLS
219 bool "Support for module.symbols file" 236 bool "Support for module.symbols file"
220 default y 237 default y
221 depends on DEPMOD || MODPROBE 238 depends on DEPMOD || MODPROBE
239 select PLATFORM_LINUX
222 help 240 help
223 Generate and parse modules.symbols containing aliases for 241 Generate and parse modules.symbols containing aliases for
224 symbol_request() kernel calls, such as: 242 symbol_request() kernel calls, such as:
diff --git a/networking/Config.src b/networking/Config.src
index 274fcae3a..06930f4a6 100644
--- a/networking/Config.src
+++ b/networking/Config.src
@@ -51,21 +51,21 @@ config VERBOSE_RESOLUTION_ERRORS
51config ARP 51config ARP
52 bool "arp" 52 bool "arp"
53 default y 53 default y
54 depends on PLATFORM_LINUX 54 select PLATFORM_LINUX
55 help 55 help
56 Manipulate the system ARP cache. 56 Manipulate the system ARP cache.
57 57
58config ARPING 58config ARPING
59 bool "arping" 59 bool "arping"
60 default y 60 default y
61 depends on PLATFORM_LINUX 61 select PLATFORM_LINUX
62 help 62 help
63 Ping hosts by ARP packets. 63 Ping hosts by ARP packets.
64 64
65config BRCTL 65config BRCTL
66 bool "brctl" 66 bool "brctl"
67 default y 67 default y
68 depends on PLATFORM_LINUX 68 select PLATFORM_LINUX
69 help 69 help
70 Manage ethernet bridges. 70 Manage ethernet bridges.
71 Supports addbr/delbr and addif/delif. 71 Supports addbr/delbr and addif/delif.
@@ -98,7 +98,7 @@ config DNSD
98config ETHER_WAKE 98config ETHER_WAKE
99 bool "ether-wake" 99 bool "ether-wake"
100 default y 100 default y
101 depends on PLATFORM_LINUX 101 select PLATFORM_LINUX
102 help 102 help
103 Send a magic packet to wake up sleeping machines. 103 Send a magic packet to wake up sleeping machines.
104 104
@@ -281,7 +281,7 @@ config FEATURE_HTTPD_GZIP
281config IFCONFIG 281config IFCONFIG
282 bool "ifconfig" 282 bool "ifconfig"
283 default y 283 default y
284 depends on PLATFORM_LINUX 284 select PLATFORM_LINUX
285 help 285 help
286 Ifconfig is used to configure the kernel-resident network interfaces. 286 Ifconfig is used to configure the kernel-resident network interfaces.
287 287
@@ -329,7 +329,7 @@ config FEATURE_IFCONFIG_BROADCAST_PLUS
329config IFENSLAVE 329config IFENSLAVE
330 bool "ifenslave" 330 bool "ifenslave"
331 default y 331 default y
332 depends on PLATFORM_LINUX 332 select PLATFORM_LINUX
333 help 333 help
334 Userspace application to bind several interfaces 334 Userspace application to bind several interfaces
335 to a logical interface (use with kernel bonding driver). 335 to a logical interface (use with kernel bonding driver).
@@ -337,7 +337,7 @@ config IFENSLAVE
337config IFPLUGD 337config IFPLUGD
338 bool "ifplugd" 338 bool "ifplugd"
339 default y 339 default y
340 depends on PLATFORM_LINUX 340 select PLATFORM_LINUX
341 help 341 help
342 Network interface plug detection daemon. 342 Network interface plug detection daemon.
343 343
@@ -379,7 +379,8 @@ config FEATURE_IFUPDOWN_IP
379config FEATURE_IFUPDOWN_IP_BUILTIN 379config FEATURE_IFUPDOWN_IP_BUILTIN
380 bool "Use busybox ip applet" 380 bool "Use busybox ip applet"
381 default y 381 default y
382 depends on FEATURE_IFUPDOWN_IP && PLATFORM_LINUX 382 depends on FEATURE_IFUPDOWN_IP
383 select PLATFORM_LINUX
383 select IP 384 select IP
384 select FEATURE_IP_ADDRESS 385 select FEATURE_IP_ADDRESS
385 select FEATURE_IP_LINK 386 select FEATURE_IP_LINK
@@ -498,7 +499,7 @@ config FEATURE_INETD_RPC
498config IP 499config IP
499 bool "ip" 500 bool "ip"
500 default y 501 default y
501 depends on PLATFORM_LINUX 502 select PLATFORM_LINUX
502 help 503 help
503 The "ip" applet is a TCP/IP interface configuration and routing 504 The "ip" applet is a TCP/IP interface configuration and routing
504 utility. You generally don't need "ip" to use busybox with 505 utility. You generally don't need "ip" to use busybox with
@@ -614,7 +615,7 @@ config FEATURE_IPCALC_LONG_OPTIONS
614config NAMEIF 615config NAMEIF
615 bool "nameif" 616 bool "nameif"
616 default y 617 default y
617 depends on PLATFORM_LINUX 618 select PLATFORM_LINUX
618 select FEATURE_SYSLOG 619 select FEATURE_SYSLOG
619 help 620 help
620 nameif is used to rename network interface by its MAC address. 621 nameif is used to rename network interface by its MAC address.
@@ -643,7 +644,7 @@ config FEATURE_NAMEIF_EXTENDED
643config NETSTAT 644config NETSTAT
644 bool "netstat" 645 bool "netstat"
645 default y 646 default y
646 depends on PLATFORM_LINUX 647 select PLATFORM_LINUX
647 help 648 help
648 netstat prints information about the Linux networking subsystem. 649 netstat prints information about the Linux networking subsystem.
649 650
@@ -672,7 +673,7 @@ config NSLOOKUP
672config NTPD 673config NTPD
673 bool "ntpd" 674 bool "ntpd"
674 default y 675 default y
675 depends on PLATFORM_LINUX 676 select PLATFORM_LINUX
676 help 677 help
677 The NTP client/server daemon. 678 The NTP client/server daemon.
678 679
@@ -693,14 +694,14 @@ config PSCAN
693config ROUTE 694config ROUTE
694 bool "route" 695 bool "route"
695 default y 696 default y
696 depends on PLATFORM_LINUX 697 select PLATFORM_LINUX
697 help 698 help
698 Route displays or manipulates the kernel's IP routing tables. 699 Route displays or manipulates the kernel's IP routing tables.
699 700
700config SLATTACH 701config SLATTACH
701 bool "slattach" 702 bool "slattach"
702 default y 703 default y
703 depends on PLATFORM_LINUX 704 select PLATFORM_LINUX
704 help 705 help
705 slattach is a small utility to attach network interfaces to serial 706 slattach is a small utility to attach network interfaces to serial
706 lines. 707 lines.
@@ -887,7 +888,7 @@ config TFTP_DEBUG
887config TRACEROUTE 888config TRACEROUTE
888 bool "traceroute" 889 bool "traceroute"
889 default y 890 default y
890 depends on PLATFORM_LINUX 891 select PLATFORM_LINUX
891 help 892 help
892 Utility to trace the route of IP packets. 893 Utility to trace the route of IP packets.
893 894
@@ -924,7 +925,7 @@ config FEATURE_TRACEROUTE_USE_ICMP
924config TUNCTL 925config TUNCTL
925 bool "tunctl" 926 bool "tunctl"
926 default y 927 default y
927 depends on PLATFORM_LINUX 928 select PLATFORM_LINUX
928 help 929 help
929 tunctl creates or deletes tun devices. 930 tunctl creates or deletes tun devices.
930 931
@@ -957,7 +958,7 @@ config UDPSVD
957config VCONFIG 958config VCONFIG
958 bool "vconfig" 959 bool "vconfig"
959 default y 960 default y
960 depends on PLATFORM_LINUX 961 select PLATFORM_LINUX
961 help 962 help
962 Creates, removes, and configures VLAN interfaces 963 Creates, removes, and configures VLAN interfaces
963 964
@@ -1004,7 +1005,7 @@ config FEATURE_WGET_TIMEOUT
1004config ZCIP 1005config ZCIP
1005 bool "zcip" 1006 bool "zcip"
1006 default y 1007 default y
1007 depends on PLATFORM_LINUX 1008 select PLATFORM_LINUX
1008 select FEATURE_SYSLOG 1009 select FEATURE_SYSLOG
1009 help 1010 help
1010 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. 1011 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
diff --git a/networking/ping.c b/networking/ping.c
index c2ff42e2c..7a9c2d1f0 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -32,7 +32,7 @@
32//config:config PING 32//config:config PING
33//config: bool "ping" 33//config: bool "ping"
34//config: default y 34//config: default y
35//config: depends on PLATFORM_LINUX 35//config: select PLATFORM_LINUX
36//config: help 36//config: help
37//config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to 37//config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
38//config: elicit an ICMP ECHO_RESPONSE from a host or gateway. 38//config: elicit an ICMP ECHO_RESPONSE from a host or gateway.
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src
index 750a53a32..9cd8cbbae 100644
--- a/networking/udhcp/Config.src
+++ b/networking/udhcp/Config.src
@@ -8,7 +8,7 @@ INSERT
8config UDHCPD 8config UDHCPD
9 bool "udhcp server (udhcpd)" 9 bool "udhcp server (udhcpd)"
10 default y 10 default y
11 depends on PLATFORM_LINUX 11 select PLATFORM_LINUX
12 help 12 help
13 udhcpd is a DHCP server geared primarily toward embedded systems, 13 udhcpd is a DHCP server geared primarily toward embedded systems,
14 while striving to be fully functional and RFC compliant. 14 while striving to be fully functional and RFC compliant.
@@ -66,7 +66,7 @@ config DHCPD_LEASES_FILE
66config UDHCPC 66config UDHCPC
67 bool "udhcp client (udhcpc)" 67 bool "udhcp client (udhcpc)"
68 default y 68 default y
69 depends on PLATFORM_LINUX 69 select PLATFORM_LINUX
70 help 70 help
71 udhcpc is a DHCP client geared primarily toward embedded systems, 71 udhcpc is a DHCP client geared primarily toward embedded systems,
72 while striving to be fully functional and RFC compliant. 72 while striving to be fully functional and RFC compliant.
diff --git a/procps/Config.src b/procps/Config.src
index cf664eeb2..3e7df0b81 100644
--- a/procps/Config.src
+++ b/procps/Config.src
@@ -10,7 +10,7 @@ INSERT
10config FREE 10config FREE
11 bool "free" 11 bool "free"
12 default y 12 default y
13 depends on PLATFORM_LINUX #sysinfo() 13 select PLATFORM_LINUX #sysinfo()
14 help 14 help
15 free displays the total amount of free and used physical and swap 15 free displays the total amount of free and used physical and swap
16 memory in the system, as well as the buffers used by the kernel. 16 memory in the system, as well as the buffers used by the kernel.
@@ -99,7 +99,8 @@ config FEATURE_PS_WIDE
99config FEATURE_PS_TIME 99config FEATURE_PS_TIME
100 bool "Enable time and elapsed time output" 100 bool "Enable time and elapsed time output"
101 default y 101 default y
102 depends on PS && DESKTOP && PLATFORM_LINUX #sysinfo() 102 depends on PS && DESKTOP
103 select PLATFORM_LINUX
103 help 104 help
104 Support -o time and -o etime output specifiers. 105 Support -o time and -o etime output specifiers.
105 106
@@ -196,7 +197,7 @@ config FEATURE_SHOW_THREADS
196config UPTIME 197config UPTIME
197 bool "uptime" 198 bool "uptime"
198 default y 199 default y
199 depends on PLATFORM_LINUX #sysinfo() 200 select PLATFORM_LINUX #sysinfo()
200 help 201 help
201 uptime gives a one line display of the current time, how long 202 uptime gives a one line display of the current time, how long
202 the system has been running, how many users are currently logged 203 the system has been running, how many users are currently logged
diff --git a/sysklogd/Config.src b/sysklogd/Config.src
index 1e5987275..d62dc5f5c 100644
--- a/sysklogd/Config.src
+++ b/sysklogd/Config.src
@@ -119,7 +119,8 @@ config KLOGD
119config FEATURE_KLOGD_KLOGCTL 119config FEATURE_KLOGD_KLOGCTL
120 bool "Use the klogctl() interface" 120 bool "Use the klogctl() interface"
121 default y 121 default y
122 depends on KLOGD && PLATFORM_LINUX 122 depends on KLOGD
123 select PLATFORM_LINUX
123 help 124 help
124 The klogd applet supports two interfaces for reading 125 The klogd applet supports two interfaces for reading
125 kernel messages. Linux provides the klogctl() interface 126 kernel messages. Linux provides the klogctl() interface
diff --git a/util-linux/Config.src b/util-linux/Config.src
index 941a47f90..90606bcae 100644
--- a/util-linux/Config.src
+++ b/util-linux/Config.src
@@ -10,7 +10,7 @@ INSERT
10config ACPID 10config ACPID
11 bool "acpid" 11 bool "acpid"
12 default y 12 default y
13 depends on PLATFORM_LINUX 13 select PLATFORM_LINUX
14 help 14 help
15 acpid listens to ACPI events coming either in textual form from 15 acpid listens to ACPI events coming either in textual form from
16 /proc/acpi/event (though it is marked deprecated it is still widely 16 /proc/acpi/event (though it is marked deprecated it is still widely
@@ -33,7 +33,7 @@ config FEATURE_ACPID_COMPAT
33config BLKID 33config BLKID
34 bool "blkid" 34 bool "blkid"
35 default y 35 default y
36 depends on PLATFORM_LINUX 36 select PLATFORM_LINUX
37 select VOLUMEID 37 select VOLUMEID
38 help 38 help
39 Lists labels and UUIDs of all filesystems. 39 Lists labels and UUIDs of all filesystems.
@@ -50,7 +50,7 @@ config FEATURE_BLKID_TYPE
50config DMESG 50config DMESG
51 bool "dmesg" 51 bool "dmesg"
52 default y 52 default y
53 depends on PLATFORM_LINUX 53 select PLATFORM_LINUX
54 help 54 help
55 dmesg is used to examine or control the kernel ring buffer. When the 55 dmesg is used to examine or control the kernel ring buffer. When the
56 Linux kernel prints messages to the system log, they are stored in 56 Linux kernel prints messages to the system log, they are stored in
@@ -84,7 +84,7 @@ config FEATURE_DMESG_PRETTY
84config FBSET 84config FBSET
85 bool "fbset" 85 bool "fbset"
86 default y 86 default y
87 depends on PLATFORM_LINUX 87 select PLATFORM_LINUX
88 help 88 help
89 fbset is used to show or change the settings of a Linux frame buffer 89 fbset is used to show or change the settings of a Linux frame buffer
90 device. The frame buffer device provides a simple and unique 90 device. The frame buffer device provides a simple and unique
@@ -113,7 +113,7 @@ config FEATURE_FBSET_READMODE
113config FDFLUSH 113config FDFLUSH
114 bool "fdflush" 114 bool "fdflush"
115 default y 115 default y
116 depends on PLATFORM_LINUX 116 select PLATFORM_LINUX
117 help 117 help
118 fdflush is only needed when changing media on slightly-broken 118 fdflush is only needed when changing media on slightly-broken
119 removable media drives. It is used to make Linux believe that a 119 removable media drives. It is used to make Linux believe that a
@@ -126,14 +126,14 @@ config FDFLUSH
126config FDFORMAT 126config FDFORMAT
127 bool "fdformat" 127 bool "fdformat"
128 default y 128 default y
129 depends on PLATFORM_LINUX 129 select PLATFORM_LINUX
130 help 130 help
131 fdformat is used to low-level format a floppy disk. 131 fdformat is used to low-level format a floppy disk.
132 132
133config FDISK 133config FDISK
134 bool "fdisk" 134 bool "fdisk"
135 default y 135 default y
136 depends on PLATFORM_LINUX 136 select PLATFORM_LINUX
137 help 137 help
138 The fdisk utility is used to divide hard disks into one or more 138 The fdisk utility is used to divide hard disks into one or more
139 logical disks, which are generally called partitions. This utility 139 logical disks, which are generally called partitions. This utility
@@ -209,7 +209,7 @@ config FEATURE_FDISK_ADVANCED
209config FINDFS 209config FINDFS
210 bool "findfs" 210 bool "findfs"
211 default y 211 default y
212 depends on PLATFORM_LINUX 212 select PLATFORM_LINUX
213 select VOLUMEID 213 select VOLUMEID
214 help 214 help
215 Prints the name of a filesystem with given label or UUID. 215 Prints the name of a filesystem with given label or UUID.
@@ -225,7 +225,7 @@ config FLOCK
225config FREERAMDISK 225config FREERAMDISK
226 bool "freeramdisk" 226 bool "freeramdisk"
227 default y 227 default y
228 depends on PLATFORM_LINUX 228 select PLATFORM_LINUX
229 help 229 help
230 Linux allows you to create ramdisks. This utility allows you to 230 Linux allows you to create ramdisks. This utility allows you to
231 delete them and completely free all memory that was used for the 231 delete them and completely free all memory that was used for the
@@ -248,14 +248,14 @@ config FSCK_MINIX
248config MKFS_EXT2 248config MKFS_EXT2
249 bool "mkfs_ext2" 249 bool "mkfs_ext2"
250 default y 250 default y
251 depends on PLATFORM_LINUX 251 select PLATFORM_LINUX
252 help 252 help
253 Utility to create EXT2 filesystems. 253 Utility to create EXT2 filesystems.
254 254
255config MKFS_MINIX 255config MKFS_MINIX
256 bool "mkfs_minix" 256 bool "mkfs_minix"
257 default y 257 default y
258 depends on PLATFORM_LINUX 258 select PLATFORM_LINUX
259 help 259 help
260 The minix filesystem is a nice, small, compact, read-write filesystem 260 The minix filesystem is a nice, small, compact, read-write filesystem
261 with little overhead. If you wish to be able to create minix 261 with little overhead. If you wish to be able to create minix
@@ -273,7 +273,7 @@ config FEATURE_MINIX2
273config MKFS_REISER 273config MKFS_REISER
274 bool "mkfs_reiser" 274 bool "mkfs_reiser"
275 default n 275 default n
276 depends on PLATFORM_LINUX 276 select PLATFORM_LINUX
277 help 277 help
278 Utility to create ReiserFS filesystems. 278 Utility to create ReiserFS filesystems.
279 Note: this applet needs a lot of testing and polishing. 279 Note: this applet needs a lot of testing and polishing.
@@ -281,7 +281,7 @@ config MKFS_REISER
281config MKFS_VFAT 281config MKFS_VFAT
282 bool "mkfs_vfat" 282 bool "mkfs_vfat"
283 default y 283 default y
284 depends on PLATFORM_LINUX 284 select PLATFORM_LINUX
285 help 285 help
286 Utility to create FAT32 filesystems. 286 Utility to create FAT32 filesystems.
287 287
@@ -330,7 +330,7 @@ config HD
330config HWCLOCK 330config HWCLOCK
331 bool "hwclock" 331 bool "hwclock"
332 default y 332 default y
333 depends on PLATFORM_LINUX 333 select PLATFORM_LINUX
334 help 334 help
335 The hwclock utility is used to read and set the hardware clock 335 The hwclock utility is used to read and set the hardware clock
336 on a system. This is primarily used to set the current time on 336 on a system. This is primarily used to set the current time on
@@ -369,7 +369,7 @@ config IPCRM
369config IPCS 369config IPCS
370 bool "ipcs" 370 bool "ipcs"
371 default y 371 default y
372 depends on PLATFORM_LINUX 372 select PLATFORM_LINUX
373 help 373 help
374 The ipcs utility is used to provide information on the currently 374 The ipcs utility is used to provide information on the currently
375 allocated System V interprocess (IPC) objects in the system. 375 allocated System V interprocess (IPC) objects in the system.
@@ -377,7 +377,7 @@ config IPCS
377config LOSETUP 377config LOSETUP
378 bool "losetup" 378 bool "losetup"
379 default y 379 default y
380 depends on PLATFORM_LINUX 380 select PLATFORM_LINUX
381 help 381 help
382 losetup is used to associate or detach a loop device with a regular 382 losetup is used to associate or detach a loop device with a regular
383 file or block device, and to query the status of a loop device. This 383 file or block device, and to query the status of a loop device. This
@@ -386,7 +386,7 @@ config LOSETUP
386config LSPCI 386config LSPCI
387 bool "lspci" 387 bool "lspci"
388 default y 388 default y
389 #depends on PLATFORM_LINUX 389 #select PLATFORM_LINUX
390 help 390 help
391 lspci is a utility for displaying information about PCI buses in the 391 lspci is a utility for displaying information about PCI buses in the
392 system and devices connected to them. 392 system and devices connected to them.
@@ -396,7 +396,7 @@ config LSPCI
396config LSUSB 396config LSUSB
397 bool "lsusb" 397 bool "lsusb"
398 default y 398 default y
399 #depends on PLATFORM_LINUX 399 #select PLATFORM_LINUX
400 help 400 help
401 lsusb is a utility for displaying information about USB buses in the 401 lsusb is a utility for displaying information about USB buses in the
402 system and devices connected to them. 402 system and devices connected to them.
@@ -406,7 +406,7 @@ config LSUSB
406config MDEV 406config MDEV
407 bool "mdev" 407 bool "mdev"
408 default y 408 default y
409 depends on PLATFORM_LINUX 409 select PLATFORM_LINUX
410 help 410 help
411 mdev is a mini-udev implementation for dynamically creating device 411 mdev is a mini-udev implementation for dynamically creating device
412 nodes in the /dev directory. 412 nodes in the /dev directory.
@@ -494,7 +494,7 @@ config MORE
494config MOUNT 494config MOUNT
495 bool "mount" 495 bool "mount"
496 default y 496 default y
497 depends on PLATFORM_LINUX 497 select PLATFORM_LINUX
498 help 498 help
499 All files and filesystems in Unix are arranged into one big directory 499 All files and filesystems in Unix are arranged into one big directory
500 tree. The 'mount' utility is used to graft a filesystem onto a 500 tree. The 'mount' utility is used to graft a filesystem onto a
@@ -577,7 +577,7 @@ config FEATURE_MOUNT_FSTAB
577config PIVOT_ROOT 577config PIVOT_ROOT
578 bool "pivot_root" 578 bool "pivot_root"
579 default y 579 default y
580 depends on PLATFORM_LINUX 580 select PLATFORM_LINUX
581 help 581 help
582 The pivot_root utility swaps the mount points for the root filesystem 582 The pivot_root utility swaps the mount points for the root filesystem
583 with some other mounted filesystem. This allows you to do all sorts 583 with some other mounted filesystem. This allows you to do all sorts
@@ -605,14 +605,14 @@ config RDEV
605config READPROFILE 605config READPROFILE
606 bool "readprofile" 606 bool "readprofile"
607 default y 607 default y
608 #depends on PLATFORM_LINUX 608 #select PLATFORM_LINUX
609 help 609 help
610 This allows you to parse /proc/profile for basic profiling. 610 This allows you to parse /proc/profile for basic profiling.
611 611
612config RTCWAKE 612config RTCWAKE
613 bool "rtcwake" 613 bool "rtcwake"
614 default y 614 default y
615 depends on PLATFORM_LINUX 615 select PLATFORM_LINUX
616 help 616 help
617 Enter a system sleep state until specified wakeup time. 617 Enter a system sleep state until specified wakeup time.
618 618
@@ -632,7 +632,7 @@ config SCRIPTREPLAY
632config SETARCH 632config SETARCH
633 bool "setarch" 633 bool "setarch"
634 default y 634 default y
635 depends on PLATFORM_LINUX 635 select PLATFORM_LINUX
636 help 636 help
637 The linux32 utility is used to create a 32bit environment for the 637 The linux32 utility is used to create a 32bit environment for the
638 specified program (usually a shell). It only makes sense to have 638 specified program (usually a shell). It only makes sense to have
@@ -642,7 +642,7 @@ config SETARCH
642config SWAPONOFF 642config SWAPONOFF
643 bool "swaponoff" 643 bool "swaponoff"
644 default y 644 default y
645 depends on PLATFORM_LINUX 645 select PLATFORM_LINUX
646 help 646 help
647 This option enables both the 'swapon' and the 'swapoff' utilities. 647 This option enables both the 'swapon' and the 'swapoff' utilities.
648 Once you have created some swap space using 'mkswap', you also need 648 Once you have created some swap space using 'mkswap', you also need
@@ -661,7 +661,7 @@ config FEATURE_SWAPON_PRI
661config SWITCH_ROOT 661config SWITCH_ROOT
662 bool "switch_root" 662 bool "switch_root"
663 default y 663 default y
664 depends on PLATFORM_LINUX 664 select PLATFORM_LINUX
665 help 665 help
666 The switch_root utility is used from initramfs to select a new 666 The switch_root utility is used from initramfs to select a new
667 root device. Under initramfs, you have to use this instead of 667 root device. Under initramfs, you have to use this instead of
@@ -681,7 +681,7 @@ config SWITCH_ROOT
681config UMOUNT 681config UMOUNT
682 bool "umount" 682 bool "umount"
683 default y 683 default y
684 depends on PLATFORM_LINUX 684 select PLATFORM_LINUX
685 help 685 help
686 When you want to remove a mounted filesystem from its current mount 686 When you want to remove a mounted filesystem from its current mount
687 point, for example when you are shutting down the system, the 687 point, for example when you are shutting down the system, the