aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-17 20:56:36 +0200
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-19 18:35:26 +0200
commit07c3f3802d68880825052fb7902534bd31dc3f05 (patch)
treea296152d451acf6a79bc7215c7000d23aaa176b7
parente6a1a2321c47d61868f66beb9a258399cdb09eb2 (diff)
downloadbusybox-w32-07c3f3802d68880825052fb7902534bd31dc3f05.tar.gz
busybox-w32-07c3f3802d68880825052fb7902534bd31dc3f05.tar.bz2
busybox-w32-07c3f3802d68880825052fb7902534bd31dc3f05.zip
Config.in: mark all applets POSIX only
-rw-r--r--archival/Config.in15
-rw-r--r--console-tools/Config.in1
-rw-r--r--coreutils/Config.in77
-rw-r--r--debianutils/Config.in6
-rw-r--r--e2fsprogs/Config.in3
-rw-r--r--editors/Config.in7
-rw-r--r--findutils/Config.in3
-rw-r--r--init/Config.in3
-rw-r--r--loginutils/Config.in15
-rw-r--r--mailutils/Config.in4
-rw-r--r--miscutils/Config.in39
-rw-r--r--modutils/Config.in6
-rw-r--r--networking/Config.in46
-rw-r--r--networking/udhcp/Config.in2
-rw-r--r--printutils/Config.in3
-rw-r--r--procps/Config.in13
-rw-r--r--runit/Config.in9
-rw-r--r--shell/Config.in5
-rw-r--r--sysklogd/Config.in4
-rw-r--r--util-linux/Config.in39
20 files changed, 300 insertions, 0 deletions
diff --git a/archival/Config.in b/archival/Config.in
index deacc2822..15d6ae5c6 100644
--- a/archival/Config.in
+++ b/archival/Config.in
@@ -32,6 +32,7 @@ config FEATURE_SEAMLESS_Z
32config AR 32config AR
33 bool "ar" 33 bool "ar"
34 default n 34 default n
35 depends on PLATFORM_POSIX
35 help 36 help
36 ar is an archival utility program used to create, modify, and 37 ar is an archival utility program used to create, modify, and
37 extract contents from archives. An archive is a single file holding 38 extract contents from archives. An archive is a single file holding
@@ -72,6 +73,7 @@ config FEATURE_AR_CREATE
72config BUNZIP2 73config BUNZIP2
73 bool "bunzip2" 74 bool "bunzip2"
74 default n 75 default n
76 depends on PLATFORM_POSIX
75 help 77 help
76 bunzip2 is a compression utility using the Burrows-Wheeler block 78 bunzip2 is a compression utility using the Burrows-Wheeler block
77 sorting text compression algorithm, and Huffman coding. Compression 79 sorting text compression algorithm, and Huffman coding. Compression
@@ -85,6 +87,7 @@ config BUNZIP2
85config BZIP2 87config BZIP2
86 bool "bzip2" 88 bool "bzip2"
87 default n 89 default n
90 depends on PLATFORM_POSIX
88 help 91 help
89 bzip2 is a compression utility using the Burrows-Wheeler block 92 bzip2 is a compression utility using the Burrows-Wheeler block
90 sorting text compression algorithm, and Huffman coding. Compression 93 sorting text compression algorithm, and Huffman coding. Compression
@@ -98,6 +101,7 @@ config BZIP2
98config CPIO 101config CPIO
99 bool "cpio" 102 bool "cpio"
100 default n 103 default n
104 depends on PLATFORM_POSIX
101 help 105 help
102 cpio is an archival utility program used to create, modify, and 106 cpio is an archival utility program used to create, modify, and
103 extract contents from archives. 107 extract contents from archives.
@@ -127,6 +131,7 @@ config FEATURE_CPIO_P
127config DPKG 131config DPKG
128 bool "dpkg" 132 bool "dpkg"
129 default n 133 default n
134 depends on PLATFORM_POSIX
130 select FEATURE_SEAMLESS_GZ 135 select FEATURE_SEAMLESS_GZ
131 help 136 help
132 dpkg is a medium-level tool to install, build, remove and manage 137 dpkg is a medium-level tool to install, build, remove and manage
@@ -138,6 +143,7 @@ config DPKG
138config DPKG_DEB 143config DPKG_DEB
139 bool "dpkg_deb" 144 bool "dpkg_deb"
140 default n 145 default n
146 depends on PLATFORM_POSIX
141 select FEATURE_SEAMLESS_GZ 147 select FEATURE_SEAMLESS_GZ
142 help 148 help
143 dpkg-deb unpacks and provides information about Debian archives. 149 dpkg-deb unpacks and provides information about Debian archives.
@@ -160,6 +166,7 @@ config FEATURE_DPKG_DEB_EXTRACT_ONLY
160config GUNZIP 166config GUNZIP
161 bool "gunzip" 167 bool "gunzip"
162 default n 168 default n
169 depends on PLATFORM_POSIX
163 help 170 help
164 gunzip is used to decompress archives created by gzip. 171 gunzip is used to decompress archives created by gzip.
165 You can use the `-t' option to test the integrity of 172 You can use the `-t' option to test the integrity of
@@ -168,6 +175,7 @@ config GUNZIP
168config GZIP 175config GZIP
169 bool "gzip" 176 bool "gzip"
170 default n 177 default n
178 depends on PLATFORM_POSIX
171 help 179 help
172 gzip is used to compress files. 180 gzip is used to compress files.
173 It's probably the most widely used UNIX compression program. 181 It's probably the most widely used UNIX compression program.
@@ -182,6 +190,7 @@ config FEATURE_GZIP_LONG_OPTIONS
182config LZOP 190config LZOP
183 bool "lzop" 191 bool "lzop"
184 default n 192 default n
193 depends on PLATFORM_POSIX
185 help 194 help
186 Lzop compression/decompresion. 195 Lzop compression/decompresion.
187 196
@@ -197,18 +206,21 @@ config LZOP_COMPR_HIGH
197config RPM2CPIO 206config RPM2CPIO
198 bool "rpm2cpio" 207 bool "rpm2cpio"
199 default n 208 default n
209 depends on PLATFORM_POSIX
200 help 210 help
201 Converts an RPM file into a CPIO archive. 211 Converts an RPM file into a CPIO archive.
202 212
203config RPM 213config RPM
204 bool "rpm" 214 bool "rpm"
205 default n 215 default n
216 depends on PLATFORM_POSIX
206 help 217 help
207 Mini RPM applet - queries and extracts RPM packages. 218 Mini RPM applet - queries and extracts RPM packages.
208 219
209config TAR 220config TAR
210 bool "tar" 221 bool "tar"
211 default n 222 default n
223 depends on PLATFORM_POSIX
212 help 224 help
213 tar is an archiving program. It's commonly used with gzip to 225 tar is an archiving program. It's commonly used with gzip to
214 create compressed archives. It's probably the most widely used 226 create compressed archives. It's probably the most widely used
@@ -300,6 +312,7 @@ config FEATURE_TAR_SELINUX
300config UNCOMPRESS 312config UNCOMPRESS
301 bool "uncompress" 313 bool "uncompress"
302 default n 314 default n
315 depends on PLATFORM_POSIX
303 help 316 help
304 uncompress is used to decompress archives created by compress. 317 uncompress is used to decompress archives created by compress.
305 Not much used anymore, replaced by gzip/gunzip. 318 Not much used anymore, replaced by gzip/gunzip.
@@ -307,6 +320,7 @@ config UNCOMPRESS
307config UNLZMA 320config UNLZMA
308 bool "unlzma" 321 bool "unlzma"
309 default n 322 default n
323 depends on PLATFORM_POSIX
310 help 324 help
311 unlzma is a compression utility using the Lempel-Ziv-Markov chain 325 unlzma is a compression utility using the Lempel-Ziv-Markov chain
312 compression algorithm, and range coding. Compression 326 compression algorithm, and range coding. Compression
@@ -330,6 +344,7 @@ config FEATURE_LZMA_FAST
330config UNZIP 344config UNZIP
331 bool "unzip" 345 bool "unzip"
332 default n 346 default n
347 depends on PLATFORM_POSIX
333 help 348 help
334 unzip will list or extract files from a ZIP archive, 349 unzip will list or extract files from a ZIP archive,
335 commonly found on DOS/WIN systems. The default behavior 350 commonly found on DOS/WIN systems. The default behavior
diff --git a/console-tools/Config.in b/console-tools/Config.in
index 195685b97..2192976b7 100644
--- a/console-tools/Config.in
+++ b/console-tools/Config.in
@@ -4,6 +4,7 @@
4# 4#
5 5
6menu "Console Utilities" 6menu "Console Utilities"
7 depends on PLATFORM_POSIX
7 8
8config CHVT 9config CHVT
9 bool "chvt" 10 bool "chvt"
diff --git a/coreutils/Config.in b/coreutils/Config.in
index ead632a31..9b0873aaf 100644
--- a/coreutils/Config.in
+++ b/coreutils/Config.in
@@ -8,6 +8,7 @@ menu "Coreutils"
8config BASENAME 8config BASENAME
9 bool "basename" 9 bool "basename"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 basename is used to strip the directory and suffix from filenames, 13 basename is used to strip the directory and suffix from filenames,
13 leaving just the filename itself. Enable this option if you wish 14 leaving just the filename itself. Enable this option if you wish
@@ -16,12 +17,14 @@ config BASENAME
16config CAL 17config CAL
17 bool "cal" 18 bool "cal"
18 default n 19 default n
20 depends on PLATFORM_POSIX
19 help 21 help
20 cal is used to display a monthly calender. 22 cal is used to display a monthly calender.
21 23
22config CAT 24config CAT
23 bool "cat" 25 bool "cat"
24 default n 26 default n
27 depends on PLATFORM_POSIX
25 help 28 help
26 cat is used to concatenate files and print them to the standard 29 cat is used to concatenate files and print them to the standard
27 output. Enable this option if you wish to enable the 'cat' utility. 30 output. Enable this option if you wish to enable the 'cat' utility.
@@ -29,6 +32,7 @@ config CAT
29config CATV 32config CATV
30 bool "catv" 33 bool "catv"
31 default n 34 default n
35 depends on PLATFORM_POSIX
32 help 36 help
33 Display nonprinting characters as escape sequences (like some 37 Display nonprinting characters as escape sequences (like some
34 implementations' cat -v option). 38 implementations' cat -v option).
@@ -36,18 +40,21 @@ config CATV
36config CHGRP 40config CHGRP
37 bool "chgrp" 41 bool "chgrp"
38 default n 42 default n
43 depends on PLATFORM_POSIX
39 help 44 help
40 chgrp is used to change the group ownership of files. 45 chgrp is used to change the group ownership of files.
41 46
42config CHMOD 47config CHMOD
43 bool "chmod" 48 bool "chmod"
44 default n 49 default n
50 depends on PLATFORM_POSIX
45 help 51 help
46 chmod is used to change the access permission of files. 52 chmod is used to change the access permission of files.
47 53
48config CHOWN 54config CHOWN
49 bool "chown" 55 bool "chown"
50 default n 56 default n
57 depends on PLATFORM_POSIX
51 help 58 help
52 chown is used to change the user and/or group ownership 59 chown is used to change the user and/or group ownership
53 of files. 60 of files.
@@ -62,6 +69,7 @@ config FEATURE_CHOWN_LONG_OPTIONS
62config CHROOT 69config CHROOT
63 bool "chroot" 70 bool "chroot"
64 default n 71 default n
72 depends on PLATFORM_POSIX
65 help 73 help
66 chroot is used to change the root directory and run a command. 74 chroot is used to change the root directory and run a command.
67 The default command is `/bin/sh'. 75 The default command is `/bin/sh'.
@@ -69,12 +77,14 @@ config CHROOT
69config CKSUM 77config CKSUM
70 bool "cksum" 78 bool "cksum"
71 default n 79 default n
80 depends on PLATFORM_POSIX
72 help 81 help
73 cksum is used to calculate the CRC32 checksum of a file. 82 cksum is used to calculate the CRC32 checksum of a file.
74 83
75config COMM 84config COMM
76 bool "comm" 85 bool "comm"
77 default n 86 default n
87 depends on PLATFORM_POSIX
78 help 88 help
79 comm is used to compare two files line by line and return 89 comm is used to compare two files line by line and return
80 a three-column output. 90 a three-column output.
@@ -82,6 +92,7 @@ config COMM
82config CP 92config CP
83 bool "cp" 93 bool "cp"
84 default n 94 default n
95 depends on PLATFORM_POSIX
85 help 96 help
86 cp is used to copy files and directories. 97 cp is used to copy files and directories.
87 98
@@ -96,6 +107,7 @@ config FEATURE_CP_LONG_OPTIONS
96config CUT 107config CUT
97 bool "cut" 108 bool "cut"
98 default n 109 default n
110 depends on PLATFORM_POSIX
99 help 111 help
100 cut is used to print selected parts of lines from 112 cut is used to print selected parts of lines from
101 each file to stdout. 113 each file to stdout.
@@ -103,6 +115,7 @@ config CUT
103config DATE 115config DATE
104 bool "date" 116 bool "date"
105 default n 117 default n
118 depends on PLATFORM_POSIX
106 help 119 help
107 date is used to set the system date or display the 120 date is used to set the system date or display the
108 current time in the given format. 121 current time in the given format.
@@ -134,6 +147,7 @@ config FEATURE_DATE_COMPAT
134config DD 147config DD
135 bool "dd" 148 bool "dd"
136 default n 149 default n
150 depends on PLATFORM_POSIX
137 help 151 help
138 dd copies a file (from standard input to standard output, 152 dd copies a file (from standard input to standard output,
139 by default) using specific input and output blocksizes, 153 by default) using specific input and output blocksizes,
@@ -172,6 +186,7 @@ config FEATURE_DD_IBS_OBS
172config DF 186config DF
173 bool "df" 187 bool "df"
174 default n 188 default n
189 depends on PLATFORM_POSIX
175 help 190 help
176 df reports the amount of disk space used and available 191 df reports the amount of disk space used and available
177 on filesystems. 192 on filesystems.
@@ -190,6 +205,7 @@ config FEATURE_DF_FANCY
190config DIRNAME 205config DIRNAME
191 bool "dirname" 206 bool "dirname"
192 default n 207 default n
208 depends on PLATFORM_POSIX
193 help 209 help
194 dirname is used to strip a non-directory suffix from 210 dirname is used to strip a non-directory suffix from
195 a file name. 211 a file name.
@@ -197,6 +213,7 @@ config DIRNAME
197config DOS2UNIX 213config DOS2UNIX
198 bool "dos2unix/unix2dos" 214 bool "dos2unix/unix2dos"
199 default n 215 default n
216 depends on PLATFORM_POSIX
200 help 217 help
201 dos2unix is used to convert a text file from DOS format to 218 dos2unix is used to convert a text file from DOS format to
202 UNIX format, and vice versa. 219 UNIX format, and vice versa.
@@ -212,6 +229,7 @@ config UNIX2DOS
212config DU 229config DU
213 bool "du (default blocksize of 512 bytes)" 230 bool "du (default blocksize of 512 bytes)"
214 default n 231 default n
232 depends on PLATFORM_POSIX
215 help 233 help
216 du is used to report the amount of disk space used 234 du is used to report the amount of disk space used
217 for specified files. 235 for specified files.
@@ -226,6 +244,7 @@ config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
226config ECHO 244config ECHO
227 bool "echo (basic SuSv3 version taking no options)" 245 bool "echo (basic SuSv3 version taking no options)"
228 default n 246 default n
247 depends on PLATFORM_POSIX
229 help 248 help
230 echo is used to print a specified string to stdout. 249 echo is used to print a specified string to stdout.
231 250
@@ -240,6 +259,7 @@ config FEATURE_FANCY_ECHO
240config ENV 259config ENV
241 bool "env" 260 bool "env"
242 default n 261 default n
262 depends on PLATFORM_POSIX
243 help 263 help
244 env is used to set an environment variable and run 264 env is used to set an environment variable and run
245 a command; without options it displays the current 265 a command; without options it displays the current
@@ -255,6 +275,7 @@ config FEATURE_ENV_LONG_OPTIONS
255config EXPAND 275config EXPAND
256 bool "expand" 276 bool "expand"
257 default n 277 default n
278 depends on PLATFORM_POSIX
258 help 279 help
259 By default, convert all tabs to spaces. 280 By default, convert all tabs to spaces.
260 281
@@ -268,6 +289,7 @@ config FEATURE_EXPAND_LONG_OPTIONS
268config EXPR 289config EXPR
269 bool "expr" 290 bool "expr"
270 default n 291 default n
292 depends on PLATFORM_POSIX
271 help 293 help
272 expr is used to calculate numbers and print the result 294 expr is used to calculate numbers and print the result
273 to standard output. 295 to standard output.
@@ -284,24 +306,28 @@ config EXPR_MATH_SUPPORT_64
284config FALSE 306config FALSE
285 bool "false" 307 bool "false"
286 default n 308 default n
309 depends on PLATFORM_POSIX
287 help 310 help
288 false returns an exit code of FALSE (1). 311 false returns an exit code of FALSE (1).
289 312
290config FOLD 313config FOLD
291 bool "fold" 314 bool "fold"
292 default n 315 default n
316 depends on PLATFORM_POSIX
293 help 317 help
294 Wrap text to fit a specific width. 318 Wrap text to fit a specific width.
295 319
296config FSYNC 320config FSYNC
297 bool "fsync" 321 bool "fsync"
298 default n 322 default n
323 depends on PLATFORM_POSIX
299 help 324 help
300 fsync is used to flush file-related cached blocks to disk. 325 fsync is used to flush file-related cached blocks to disk.
301 326
302config HEAD 327config HEAD
303 bool "head" 328 bool "head"
304 default n 329 default n
330 depends on PLATFORM_POSIX
305 help 331 help
306 head is used to print the first specified number of lines 332 head is used to print the first specified number of lines
307 from files. 333 from files.
@@ -316,6 +342,7 @@ config FEATURE_FANCY_HEAD
316config HOSTID 342config HOSTID
317 bool "hostid" 343 bool "hostid"
318 default n 344 default n
345 depends on PLATFORM_POSIX
319 help 346 help
320 hostid prints the numeric identifier (in hexadecimal) for 347 hostid prints the numeric identifier (in hexadecimal) for
321 the current host. 348 the current host.
@@ -323,12 +350,14 @@ config HOSTID
323config ID 350config ID
324 bool "id" 351 bool "id"
325 default n 352 default n
353 depends on PLATFORM_POSIX
326 help 354 help
327 id displays the current user and group ID names. 355 id displays the current user and group ID names.
328 356
329config INSTALL 357config INSTALL
330 bool "install" 358 bool "install"
331 default n 359 default n
360 depends on PLATFORM_POSIX
332 help 361 help
333 Copy files and set attributes. 362 Copy files and set attributes.
334 363
@@ -342,24 +371,28 @@ config FEATURE_INSTALL_LONG_OPTIONS
342config LENGTH 371config LENGTH
343 bool "length" 372 bool "length"
344 default n 373 default n
374 depends on PLATFORM_POSIX
345 help 375 help
346 length is used to print out the length of a specified string. 376 length is used to print out the length of a specified string.
347 377
348config LN 378config LN
349 bool "ln" 379 bool "ln"
350 default n 380 default n
381 depends on PLATFORM_POSIX
351 help 382 help
352 ln is used to create hard or soft links between files. 383 ln is used to create hard or soft links between files.
353 384
354config LOGNAME 385config LOGNAME
355 bool "logname" 386 bool "logname"
356 default n 387 default n
388 depends on PLATFORM_POSIX
357 help 389 help
358 logname is used to print the current user's login name. 390 logname is used to print the current user's login name.
359 391
360config LS 392config LS
361 bool "ls" 393 bool "ls"
362 default n 394 default n
395 depends on PLATFORM_POSIX
363 help 396 help
364 ls is used to list the contents of directories. 397 ls is used to list the contents of directories.
365 398
@@ -426,12 +459,14 @@ config FEATURE_LS_COLOR_IS_DEFAULT
426config MD5SUM 459config MD5SUM
427 bool "md5sum" 460 bool "md5sum"
428 default n 461 default n
462 depends on PLATFORM_POSIX
429 help 463 help
430 md5sum is used to print or check MD5 checksums. 464 md5sum is used to print or check MD5 checksums.
431 465
432config MKDIR 466config MKDIR
433 bool "mkdir" 467 bool "mkdir"
434 default n 468 default n
469 depends on PLATFORM_POSIX
435 help 470 help
436 mkdir is used to create directories with the specified names. 471 mkdir is used to create directories with the specified names.
437 472
@@ -445,6 +480,7 @@ config FEATURE_MKDIR_LONG_OPTIONS
445config MKFIFO 480config MKFIFO
446 bool "mkfifo" 481 bool "mkfifo"
447 default n 482 default n
483 depends on PLATFORM_POSIX
448 help 484 help
449 mkfifo is used to create FIFOs (named pipes). 485 mkfifo is used to create FIFOs (named pipes).
450 The `mknod' program can also create FIFOs. 486 The `mknod' program can also create FIFOs.
@@ -452,6 +488,7 @@ config MKFIFO
452config MKNOD 488config MKNOD
453 bool "mknod" 489 bool "mknod"
454 default n 490 default n
491 depends on PLATFORM_POSIX
455 help 492 help
456 mknod is used to create FIFOs or block/character special 493 mknod is used to create FIFOs or block/character special
457 files with the specified names. 494 files with the specified names.
@@ -459,6 +496,7 @@ config MKNOD
459config MV 496config MV
460 bool "mv" 497 bool "mv"
461 default n 498 default n
499 depends on PLATFORM_POSIX
462 help 500 help
463 mv is used to move or rename files or directories. 501 mv is used to move or rename files or directories.
464 502
@@ -472,30 +510,35 @@ config FEATURE_MV_LONG_OPTIONS
472config NICE 510config NICE
473 bool "nice" 511 bool "nice"
474 default n 512 default n
513 depends on PLATFORM_POSIX
475 help 514 help
476 nice runs a program with modified scheduling priority. 515 nice runs a program with modified scheduling priority.
477 516
478config NOHUP 517config NOHUP
479 bool "nohup" 518 bool "nohup"
480 default n 519 default n
520 depends on PLATFORM_POSIX
481 help 521 help
482 run a command immune to hangups, with output to a non-tty. 522 run a command immune to hangups, with output to a non-tty.
483 523
484config OD 524config OD
485 bool "od" 525 bool "od"
486 default n 526 default n
527 depends on PLATFORM_POSIX
487 help 528 help
488 od is used to dump binary files in octal and other formats. 529 od is used to dump binary files in octal and other formats.
489 530
490config PRINTENV 531config PRINTENV
491 bool "printenv" 532 bool "printenv"
492 default n 533 default n
534 depends on PLATFORM_POSIX
493 help 535 help
494 printenv is used to print all or part of environment. 536 printenv is used to print all or part of environment.
495 537
496config PRINTF 538config PRINTF
497 bool "printf" 539 bool "printf"
498 default n 540 default n
541 depends on PLATFORM_POSIX
499 help 542 help
500 printf is used to format and print specified strings. 543 printf is used to format and print specified strings.
501 It's similar to `echo' except it has more options. 544 It's similar to `echo' except it has more options.
@@ -503,12 +546,14 @@ config PRINTF
503config PWD 546config PWD
504 bool "pwd" 547 bool "pwd"
505 default n 548 default n
549 depends on PLATFORM_POSIX
506 help 550 help
507 pwd is used to print the current directory. 551 pwd is used to print the current directory.
508 552
509config READLINK 553config READLINK
510 bool "readlink" 554 bool "readlink"
511 default n 555 default n
556 depends on PLATFORM_POSIX
512 help 557 help
513 This program reads a symbolic link and returns the name 558 This program reads a symbolic link and returns the name
514 of the file it points to 559 of the file it points to
@@ -523,6 +568,7 @@ config FEATURE_READLINK_FOLLOW
523config REALPATH 568config REALPATH
524 bool "realpath" 569 bool "realpath"
525 default n 570 default n
571 depends on PLATFORM_POSIX
526 help 572 help
527 Return the canonicalized absolute pathname. 573 Return the canonicalized absolute pathname.
528 This isn't provided by GNU shellutils, but where else does it belong. 574 This isn't provided by GNU shellutils, but where else does it belong.
@@ -530,12 +576,14 @@ config REALPATH
530config RM 576config RM
531 bool "rm" 577 bool "rm"
532 default n 578 default n
579 depends on PLATFORM_POSIX
533 help 580 help
534 rm is used to remove files or directories. 581 rm is used to remove files or directories.
535 582
536config RMDIR 583config RMDIR
537 bool "rmdir" 584 bool "rmdir"
538 default n 585 default n
586 depends on PLATFORM_POSIX
539 help 587 help
540 rmdir is used to remove empty directories. 588 rmdir is used to remove empty directories.
541 589
@@ -550,30 +598,35 @@ config FEATURE_RMDIR_LONG_OPTIONS
550config SEQ 598config SEQ
551 bool "seq" 599 bool "seq"
552 default n 600 default n
601 depends on PLATFORM_POSIX
553 help 602 help
554 print a sequence of numbers 603 print a sequence of numbers
555 604
556config SHA1SUM 605config SHA1SUM
557 bool "sha1sum" 606 bool "sha1sum"
558 default n 607 default n
608 depends on PLATFORM_POSIX
559 help 609 help
560 Compute and check SHA1 message digest 610 Compute and check SHA1 message digest
561 611
562config SHA256SUM 612config SHA256SUM
563 bool "sha256sum" 613 bool "sha256sum"
564 default n 614 default n
615 depends on PLATFORM_POSIX
565 help 616 help
566 Compute and check SHA256 message digest 617 Compute and check SHA256 message digest
567 618
568config SHA512SUM 619config SHA512SUM
569 bool "sha512sum" 620 bool "sha512sum"
570 default n 621 default n
622 depends on PLATFORM_POSIX
571 help 623 help
572 Compute and check SHA512 message digest 624 Compute and check SHA512 message digest
573 625
574config SLEEP 626config SLEEP
575 bool "sleep" 627 bool "sleep"
576 default n 628 default n
629 depends on PLATFORM_POSIX
577 help 630 help
578 sleep is used to pause for a specified number of seconds. 631 sleep is used to pause for a specified number of seconds.
579 It comes in 3 versions: 632 It comes in 3 versions:
@@ -602,6 +655,7 @@ config FEATURE_FLOAT_SLEEP
602config SORT 655config SORT
603 bool "sort" 656 bool "sort"
604 default n 657 default n
658 depends on PLATFORM_POSIX
605 help 659 help
606 sort is used to sort lines of text in specified files. 660 sort is used to sort lines of text in specified files.
607 661
@@ -620,6 +674,7 @@ config FEATURE_SORT_BIG
620config SPLIT 674config SPLIT
621 bool "split" 675 bool "split"
622 default n 676 default n
677 depends on PLATFORM_POSIX
623 help 678 help
624 split a file into pieces. 679 split a file into pieces.
625 680
@@ -635,6 +690,7 @@ config FEATURE_SPLIT_FANCY
635config STAT 690config STAT
636 bool "stat" 691 bool "stat"
637 default n 692 default n
693 depends on PLATFORM_POSIX
638 help 694 help
639 display file or filesystem status. 695 display file or filesystem status.
640 696
@@ -650,30 +706,35 @@ config FEATURE_STAT_FORMAT
650config STTY 706config STTY
651 bool "stty" 707 bool "stty"
652 default n 708 default n
709 depends on PLATFORM_POSIX
653 help 710 help
654 stty is used to change and print terminal line settings. 711 stty is used to change and print terminal line settings.
655 712
656config SUM 713config SUM
657 bool "sum" 714 bool "sum"
658 default n 715 default n
716 depends on PLATFORM_POSIX
659 help 717 help
660 checksum and count the blocks in a file 718 checksum and count the blocks in a file
661 719
662config SYNC 720config SYNC
663 bool "sync" 721 bool "sync"
664 default n 722 default n
723 depends on PLATFORM_POSIX
665 help 724 help
666 sync is used to flush filesystem buffers. 725 sync is used to flush filesystem buffers.
667 726
668config TAC 727config TAC
669 bool "tac" 728 bool "tac"
670 default n 729 default n
730 depends on PLATFORM_POSIX
671 help 731 help
672 tac is used to concatenate and print files in reverse. 732 tac is used to concatenate and print files in reverse.
673 733
674config TAIL 734config TAIL
675 bool "tail" 735 bool "tail"
676 default n 736 default n
737 depends on PLATFORM_POSIX
677 help 738 help
678 tail is used to print the last specified number of lines 739 tail is used to print the last specified number of lines
679 from files. 740 from files.
@@ -693,6 +754,7 @@ config FEATURE_FANCY_TAIL
693config TEE 754config TEE
694 bool "tee" 755 bool "tee"
695 default n 756 default n
757 depends on PLATFORM_POSIX
696 help 758 help
697 tee is used to read from standard input and write 759 tee is used to read from standard input and write
698 to standard output and files. 760 to standard output and files.
@@ -707,6 +769,7 @@ config FEATURE_TEE_USE_BLOCK_IO
707config TEST 769config TEST
708 bool "test" 770 bool "test"
709 default n 771 default n
772 depends on PLATFORM_POSIX
710 help 773 help
711 test is used to check file types and compare values, 774 test is used to check file types and compare values,
712 returning an appropriate exit code. The bash shell 775 returning an appropriate exit code. The bash shell
@@ -722,6 +785,7 @@ config FEATURE_TEST_64
722config TOUCH 785config TOUCH
723 bool "touch" 786 bool "touch"
724 default n 787 default n
788 depends on PLATFORM_POSIX
725 help 789 help
726 touch is used to create or change the access and/or 790 touch is used to create or change the access and/or
727 modification timestamp of specified files. 791 modification timestamp of specified files.
@@ -729,6 +793,7 @@ config TOUCH
729config TR 793config TR
730 bool "tr" 794 bool "tr"
731 default n 795 default n
796 depends on PLATFORM_POSIX
732 help 797 help
733 tr is used to squeeze, and/or delete characters from standard 798 tr is used to squeeze, and/or delete characters from standard
734 input, writing to standard output. 799 input, writing to standard output.
@@ -755,12 +820,14 @@ config FEATURE_TR_EQUIV
755config TRUE 820config TRUE
756 bool "true" 821 bool "true"
757 default n 822 default n
823 depends on PLATFORM_POSIX
758 help 824 help
759 true returns an exit code of TRUE (0). 825 true returns an exit code of TRUE (0).
760 826
761config TTY 827config TTY
762 bool "tty" 828 bool "tty"
763 default n 829 default n
830 depends on PLATFORM_POSIX
764 help 831 help
765 tty is used to print the name of the current terminal to 832 tty is used to print the name of the current terminal to
766 standard output. 833 standard output.
@@ -768,12 +835,14 @@ config TTY
768config UNAME 835config UNAME
769 bool "uname" 836 bool "uname"
770 default n 837 default n
838 depends on PLATFORM_POSIX
771 help 839 help
772 uname is used to print system information. 840 uname is used to print system information.
773 841
774config UNEXPAND 842config UNEXPAND
775 bool "unexpand" 843 bool "unexpand"
776 default n 844 default n
845 depends on PLATFORM_POSIX
777 help 846 help
778 By default, convert only leading sequences of blanks to tabs. 847 By default, convert only leading sequences of blanks to tabs.
779 848
@@ -787,30 +856,35 @@ config FEATURE_UNEXPAND_LONG_OPTIONS
787config UNIQ 856config UNIQ
788 bool "uniq" 857 bool "uniq"
789 default n 858 default n
859 depends on PLATFORM_POSIX
790 help 860 help
791 uniq is used to remove duplicate lines from a sorted file. 861 uniq is used to remove duplicate lines from a sorted file.
792 862
793config USLEEP 863config USLEEP
794 bool "usleep" 864 bool "usleep"
795 default n 865 default n
866 depends on PLATFORM_POSIX
796 help 867 help
797 usleep is used to pause for a specified number of microseconds. 868 usleep is used to pause for a specified number of microseconds.
798 869
799config UUDECODE 870config UUDECODE
800 bool "uudecode" 871 bool "uudecode"
801 default n 872 default n
873 depends on PLATFORM_POSIX
802 help 874 help
803 uudecode is used to decode a uuencoded file. 875 uudecode is used to decode a uuencoded file.
804 876
805config UUENCODE 877config UUENCODE
806 bool "uuencode" 878 bool "uuencode"
807 default n 879 default n
880 depends on PLATFORM_POSIX
808 help 881 help
809 uuencode is used to uuencode a file. 882 uuencode is used to uuencode a file.
810 883
811config WC 884config WC
812 bool "wc" 885 bool "wc"
813 default n 886 default n
887 depends on PLATFORM_POSIX
814 help 888 help
815 wc is used to print the number of bytes, words, and lines, 889 wc is used to print the number of bytes, words, and lines,
816 in specified files. 890 in specified files.
@@ -826,12 +900,14 @@ config WHO
826 bool "who" 900 bool "who"
827 default n 901 default n
828 depends on FEATURE_UTMP 902 depends on FEATURE_UTMP
903 depends on PLATFORM_POSIX
829 help 904 help
830 who is used to show who is logged on. 905 who is used to show who is logged on.
831 906
832config WHOAMI 907config WHOAMI
833 bool "whoami" 908 bool "whoami"
834 default n 909 default n
910 depends on PLATFORM_POSIX
835 help 911 help
836 whoami is used to print the username of the current 912 whoami is used to print the username of the current
837 user id (same as id -un). 913 user id (same as id -un).
@@ -839,6 +915,7 @@ config WHOAMI
839config YES 915config YES
840 bool "yes" 916 bool "yes"
841 default n 917 default n
918 depends on PLATFORM_POSIX
842 help 919 help
843 yes is used to repeatedly output a specific string, or 920 yes is used to repeatedly output a specific string, or
844 the default string `y'. 921 the default string `y'.
diff --git a/debianutils/Config.in b/debianutils/Config.in
index 9146f3ef4..abd453ab9 100644
--- a/debianutils/Config.in
+++ b/debianutils/Config.in
@@ -4,22 +4,26 @@
4# 4#
5 5
6menu "Debian Utilities" 6menu "Debian Utilities"
7 depends on PLATFORM_POSIX
7 8
8config MKTEMP 9config MKTEMP
9 bool "mktemp" 10 bool "mktemp"
10 default n 11 default n
12 depends on PLATFORM_POSIX
11 help 13 help
12 mktemp is used to create unique temporary files 14 mktemp is used to create unique temporary files
13 15
14config PIPE_PROGRESS 16config PIPE_PROGRESS
15 bool "pipe_progress" 17 bool "pipe_progress"
16 default n 18 default n
19 depends on PLATFORM_POSIX
17 help 20 help
18 Display a dot to indicate pipe activity. 21 Display a dot to indicate pipe activity.
19 22
20config RUN_PARTS 23config RUN_PARTS
21 bool "run-parts" 24 bool "run-parts"
22 default n 25 default n
26 depends on PLATFORM_POSIX
23 help 27 help
24 run-parts is a utility designed to run all the scripts in a directory. 28 run-parts is a utility designed to run all the scripts in a directory.
25 29
@@ -51,6 +55,7 @@ config FEATURE_RUN_PARTS_FANCY
51config START_STOP_DAEMON 55config START_STOP_DAEMON
52 bool "start-stop-daemon" 56 bool "start-stop-daemon"
53 default n 57 default n
58 depends on PLATFORM_POSIX
54 help 59 help
55 start-stop-daemon is used to control the creation and 60 start-stop-daemon is used to control the creation and
56 termination of system-level processes, usually the ones 61 termination of system-level processes, usually the ones
@@ -76,6 +81,7 @@ config FEATURE_START_STOP_DAEMON_LONG_OPTIONS
76config WHICH 81config WHICH
77 bool "which" 82 bool "which"
78 default n 83 default n
84 depends on PLATFORM_POSIX
79 help 85 help
80 which is used to find programs in your PATH and 86 which is used to find programs in your PATH and
81 print out their pathnames. 87 print out their pathnames.
diff --git a/e2fsprogs/Config.in b/e2fsprogs/Config.in
index 9a0088ab5..a488a6b5a 100644
--- a/e2fsprogs/Config.in
+++ b/e2fsprogs/Config.in
@@ -8,6 +8,7 @@ menu "Linux Ext2 FS Progs"
8config CHATTR 8config CHATTR
9 bool "chattr" 9 bool "chattr"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 chattr changes the file attributes on a second extended file system. 13 chattr changes the file attributes on a second extended file system.
13 14
@@ -23,6 +24,7 @@ config CHATTR
23config FSCK 24config FSCK
24 bool "fsck" 25 bool "fsck"
25 default n 26 default n
27 depends on PLATFORM_POSIX
26 help 28 help
27 fsck is used to check and optionally repair one or more filesystems. 29 fsck is used to check and optionally repair one or more filesystems.
28 In actuality, fsck is simply a front-end for the various file system 30 In actuality, fsck is simply a front-end for the various file system
@@ -31,6 +33,7 @@ config FSCK
31config LSATTR 33config LSATTR
32 bool "lsattr" 34 bool "lsattr"
33 default n 35 default n
36 depends on PLATFORM_POSIX
34 help 37 help
35 lsattr lists the file attributes on a second extended file system. 38 lsattr lists the file attributes on a second extended file system.
36 39
diff --git a/editors/Config.in b/editors/Config.in
index e4fdd0f38..ca04de2d6 100644
--- a/editors/Config.in
+++ b/editors/Config.in
@@ -8,6 +8,7 @@ menu "Editors"
8config AWK 8config AWK
9 bool "awk" 9 bool "awk"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 Awk is used as a pattern scanning and processing language. This is 13 Awk is used as a pattern scanning and processing language. This is
13 the BusyBox implementation of that programming language. 14 the BusyBox implementation of that programming language.
@@ -23,6 +24,7 @@ config FEATURE_AWK_LIBM
23config CMP 24config CMP
24 bool "cmp" 25 bool "cmp"
25 default n 26 default n
27 depends on PLATFORM_POSIX
26 help 28 help
27 cmp is used to compare two files and returns the result 29 cmp is used to compare two files and returns the result
28 to standard output. 30 to standard output.
@@ -30,6 +32,7 @@ config CMP
30config DIFF 32config DIFF
31 bool "diff" 33 bool "diff"
32 default n 34 default n
35 depends on PLATFORM_POSIX
33 help 36 help
34 diff compares two files or directories and outputs the 37 diff compares two files or directories and outputs the
35 differences between them in a form that can be given to 38 differences between them in a form that can be given to
@@ -53,6 +56,7 @@ config FEATURE_DIFF_DIR
53config ED 56config ED
54 bool "ed" 57 bool "ed"
55 default n 58 default n
59 depends on PLATFORM_POSIX
56 help 60 help
57 The original 1970's Unix text editor, from the days of teletypes. 61 The original 1970's Unix text editor, from the days of teletypes.
58 Small, simple, evil. Part of SUSv3. If you're not already using 62 Small, simple, evil. Part of SUSv3. If you're not already using
@@ -61,12 +65,14 @@ config ED
61config PATCH 65config PATCH
62 bool "patch" 66 bool "patch"
63 default n 67 default n
68 depends on PLATFORM_POSIX
64 help 69 help
65 Apply a unified diff formatted patch. 70 Apply a unified diff formatted patch.
66 71
67config SED 72config SED
68 bool "sed" 73 bool "sed"
69 default n 74 default n
75 depends on PLATFORM_POSIX
70 help 76 help
71 sed is used to perform text transformations on a file 77 sed is used to perform text transformations on a file
72 or input from a pipeline. 78 or input from a pipeline.
@@ -74,6 +80,7 @@ config SED
74config VI 80config VI
75 bool "vi" 81 bool "vi"
76 default n 82 default n
83 depends on PLATFORM_POSIX
77 help 84 help
78 'vi' is a text editor. More specifically, it is the One True 85 'vi' is a text editor. More specifically, it is the One True
79 text editor <grin>. It does, however, have a rather steep 86 text editor <grin>. It does, however, have a rather steep
diff --git a/findutils/Config.in b/findutils/Config.in
index 8582d6446..9cd4a1908 100644
--- a/findutils/Config.in
+++ b/findutils/Config.in
@@ -8,6 +8,7 @@ menu "Finding Utilities"
8config FIND 8config FIND
9 bool "find" 9 bool "find"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 find is used to search your system to find specified files. 13 find is used to search your system to find specified files.
13 14
@@ -181,6 +182,7 @@ config FEATURE_FIND_LINKS
181config GREP 182config GREP
182 bool "grep" 183 bool "grep"
183 default n 184 default n
185 depends on PLATFORM_POSIX
184 help 186 help
185 grep is used to search files for a specified pattern. 187 grep is used to search files for a specified pattern.
186 188
@@ -214,6 +216,7 @@ config FEATURE_GREP_CONTEXT
214config XARGS 216config XARGS
215 bool "xargs" 217 bool "xargs"
216 default n 218 default n
219 depends on PLATFORM_POSIX
217 help 220 help
218 xargs is used to execute a specified command for 221 xargs is used to execute a specified command for
219 every item from standard input. 222 every item from standard input.
diff --git a/init/Config.in b/init/Config.in
index 3d99d4792..26401af01 100644
--- a/init/Config.in
+++ b/init/Config.in
@@ -8,6 +8,7 @@ menu "Init Utilities"
8config INIT 8config INIT
9 bool "init" 9 bool "init"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 select FEATURE_SYSLOG 12 select FEATURE_SYSLOG
12 help 13 help
13 init is the first program run when the system boots. 14 init is the first program run when the system boots.
@@ -90,6 +91,7 @@ config FEATURE_INITRD
90config HALT 91config HALT
91 bool "poweroff, halt, and reboot" 92 bool "poweroff, halt, and reboot"
92 default n 93 default n
94 depends on PLATFORM_POSIX
93 help 95 help
94 Stop all processes and either halt, reboot, or power off the system. 96 Stop all processes and either halt, reboot, or power off the system.
95 97
@@ -116,6 +118,7 @@ config TELINIT_PATH
116config MESG 118config MESG
117 bool "mesg" 119 bool "mesg"
118 default n 120 default n
121 depends on PLATFORM_POSIX
119 help 122 help
120 Mesg controls access to your terminal by others. It is typically 123 Mesg controls access to your terminal by others. It is typically
121 used to allow or disallow other users to write to your terminal 124 used to allow or disallow other users to write to your terminal
diff --git a/loginutils/Config.in b/loginutils/Config.in
index a9b5f5a9f..5144d4211 100644
--- a/loginutils/Config.in
+++ b/loginutils/Config.in
@@ -8,6 +8,7 @@ menu "Login/Password Management Utilities"
8config FEATURE_SHADOWPASSWDS 8config FEATURE_SHADOWPASSWDS
9 bool "Support for shadow passwords" 9 bool "Support for shadow passwords"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 Build support for shadow password in /etc/shadow. This file is only 13 Build support for shadow password in /etc/shadow. This file is only
13 readable by root and thus the encrypted passwords are no longer 14 readable by root and thus the encrypted passwords are no longer
@@ -16,6 +17,7 @@ config FEATURE_SHADOWPASSWDS
16config USE_BB_PWD_GRP 17config USE_BB_PWD_GRP
17 bool "Use internal password and group functions rather than system functions" 18 bool "Use internal password and group functions rather than system functions"
18 default n 19 default n
20 depends on PLATFORM_POSIX
19 help 21 help
20 If you leave this disabled, busybox will use the system's password 22 If you leave this disabled, busybox will use the system's password
21 and group functions. And if you are using the GNU C library 23 and group functions. And if you are using the GNU C library
@@ -60,6 +62,7 @@ config USE_BB_SHADOW
60config USE_BB_CRYPT 62config USE_BB_CRYPT
61 bool "Use internal crypt functions" 63 bool "Use internal crypt functions"
62 default y 64 default y
65 depends on PLATFORM_POSIX
63 help 66 help
64 Busybox has internal DES and MD5 crypt functions. 67 Busybox has internal DES and MD5 crypt functions.
65 They produce results which are identical to corresponding 68 They produce results which are identical to corresponding
@@ -94,6 +97,7 @@ config USE_BB_CRYPT_SHA
94config ADDGROUP 97config ADDGROUP
95 bool "addgroup" 98 bool "addgroup"
96 default n 99 default n
100 depends on PLATFORM_POSIX
97 help 101 help
98 Utility for creating a new group account. 102 Utility for creating a new group account.
99 103
@@ -116,6 +120,7 @@ config FEATURE_ADDUSER_TO_GROUP
116config DELGROUP 120config DELGROUP
117 bool "delgroup" 121 bool "delgroup"
118 default n 122 default n
123 depends on PLATFORM_POSIX
119 help 124 help
120 Utility for deleting a group account. 125 Utility for deleting a group account.
121 126
@@ -142,6 +147,7 @@ config FEATURE_CHECK_NAMES
142config ADDUSER 147config ADDUSER
143 bool "adduser" 148 bool "adduser"
144 default n 149 default n
150 depends on PLATFORM_POSIX
145 help 151 help
146 Utility for creating a new user account. 152 Utility for creating a new user account.
147 153
@@ -171,12 +177,14 @@ config LAST_SYSTEM_ID
171config DELUSER 177config DELUSER
172 bool "deluser" 178 bool "deluser"
173 default n 179 default n
180 depends on PLATFORM_POSIX
174 help 181 help
175 Utility for deleting a user account. 182 Utility for deleting a user account.
176 183
177config GETTY 184config GETTY
178 bool "getty" 185 bool "getty"
179 default n 186 default n
187 depends on PLATFORM_POSIX
180 select FEATURE_SYSLOG 188 select FEATURE_SYSLOG
181 help 189 help
182 getty lets you log in on a tty, it is normally invoked by init. 190 getty lets you log in on a tty, it is normally invoked by init.
@@ -184,6 +192,7 @@ config GETTY
184config LOGIN 192config LOGIN
185 bool "login" 193 bool "login"
186 default n 194 default n
195 depends on PLATFORM_POSIX
187 select FEATURE_SUID 196 select FEATURE_SUID
188 select FEATURE_SYSLOG 197 select FEATURE_SYSLOG
189 help 198 help
@@ -227,6 +236,7 @@ config FEATURE_SECURETTY
227config PASSWD 236config PASSWD
228 bool "passwd" 237 bool "passwd"
229 default n 238 default n
239 depends on PLATFORM_POSIX
230 select FEATURE_SUID 240 select FEATURE_SUID
231 select FEATURE_SYSLOG 241 select FEATURE_SYSLOG
232 help 242 help
@@ -248,6 +258,7 @@ config FEATURE_PASSWD_WEAK_CHECK
248config CRYPTPW 258config CRYPTPW
249 bool "cryptpw" 259 bool "cryptpw"
250 default n 260 default n
261 depends on PLATFORM_POSIX
251 help 262 help
252 Encrypts the given password with the crypt(3) libc function 263 Encrypts the given password with the crypt(3) libc function
253 using the given salt. Debian has this utility under mkpasswd 264 using the given salt. Debian has this utility under mkpasswd
@@ -256,6 +267,7 @@ config CRYPTPW
256config CHPASSWD 267config CHPASSWD
257 bool "chpasswd" 268 bool "chpasswd"
258 default n 269 default n
270 depends on PLATFORM_POSIX
259 help 271 help
260 Reads a file of user name and password pairs from standard input 272 Reads a file of user name and password pairs from standard input
261 and uses this information to update a group of existing users. 273 and uses this information to update a group of existing users.
@@ -263,6 +275,7 @@ config CHPASSWD
263config SU 275config SU
264 bool "su" 276 bool "su"
265 default n 277 default n
278 depends on PLATFORM_POSIX
266 select FEATURE_SUID 279 select FEATURE_SUID
267 select FEATURE_SYSLOG 280 select FEATURE_SYSLOG
268 help 281 help
@@ -285,6 +298,7 @@ config FEATURE_SU_CHECKS_SHELLS
285config SULOGIN 298config SULOGIN
286 bool "sulogin" 299 bool "sulogin"
287 default n 300 default n
301 depends on PLATFORM_POSIX
288 select FEATURE_SYSLOG 302 select FEATURE_SYSLOG
289 help 303 help
290 sulogin is invoked when the system goes into single user 304 sulogin is invoked when the system goes into single user
@@ -293,6 +307,7 @@ config SULOGIN
293config VLOCK 307config VLOCK
294 bool "vlock" 308 bool "vlock"
295 default n 309 default n
310 depends on PLATFORM_POSIX
296 select FEATURE_SUID 311 select FEATURE_SUID
297 help 312 help
298 Build the "vlock" applet which allows you to lock (virtual) terminals. 313 Build the "vlock" applet which allows you to lock (virtual) terminals.
diff --git a/mailutils/Config.in b/mailutils/Config.in
index 519d562ae..67f0d079a 100644
--- a/mailutils/Config.in
+++ b/mailutils/Config.in
@@ -3,6 +3,7 @@ menu "Mail Utilities"
3config MAKEMIME 3config MAKEMIME
4 bool "makemime" 4 bool "makemime"
5 default n 5 default n
6 depends on PLATFORM_POSIX
6 help 7 help
7 Create MIME-formatted messages. 8 Create MIME-formatted messages.
8 9
@@ -16,6 +17,7 @@ config FEATURE_MIME_CHARSET
16config POPMAILDIR 17config POPMAILDIR
17 bool "popmaildir" 18 bool "popmaildir"
18 default n 19 default n
20 depends on PLATFORM_POSIX
19 help 21 help
20 Simple yet powerful POP3 mail popper. Delivers content 22 Simple yet powerful POP3 mail popper. Delivers content
21 of remote mailboxes to local Maildir. 23 of remote mailboxes to local Maildir.
@@ -33,6 +35,7 @@ config FEATURE_POPMAILDIR_DELIVERY
33config REFORMIME 35config REFORMIME
34 bool "reformime" 36 bool "reformime"
35 default n 37 default n
38 depends on PLATFORM_POSIX
36 help 39 help
37 Parse MIME-formatted messages. 40 Parse MIME-formatted messages.
38 41
@@ -47,6 +50,7 @@ config FEATURE_REFORMIME_COMPAT
47config SENDMAIL 50config SENDMAIL
48 bool "sendmail" 51 bool "sendmail"
49 default n 52 default n
53 depends on PLATFORM_POSIX
50 help 54 help
51 Barebones sendmail. 55 Barebones sendmail.
52 56
diff --git a/miscutils/Config.in b/miscutils/Config.in
index 0469b6399..ee20b10a1 100644
--- a/miscutils/Config.in
+++ b/miscutils/Config.in
@@ -8,6 +8,7 @@ menu "Miscellaneous Utilities"
8config ADJTIMEX 8config ADJTIMEX
9 bool "adjtimex" 9 bool "adjtimex"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 Adjtimex reads and optionally sets adjustment parameters for 13 Adjtimex reads and optionally sets adjustment parameters for
13 the Linux clock adjustment algorithm. 14 the Linux clock adjustment algorithm.
@@ -15,6 +16,7 @@ config ADJTIMEX
15config BBCONFIG 16config BBCONFIG
16 bool "bbconfig" 17 bool "bbconfig"
17 default n 18 default n
19 depends on PLATFORM_POSIX
18 help 20 help
19 The bbconfig applet will print the config file with which 21 The bbconfig applet will print the config file with which
20 busybox was built. 22 busybox was built.
@@ -22,6 +24,7 @@ config BBCONFIG
22config BEEP 24config BEEP
23 bool "beep" 25 bool "beep"
24 default n 26 default n
27 depends on PLATFORM_POSIX
25 help 28 help
26 The beep applets beeps in a given freq/Hz. 29 The beep applets beeps in a given freq/Hz.
27 30
@@ -44,6 +47,7 @@ config FEATURE_BEEP_LENGTH_MS
44config CHAT 47config CHAT
45 bool "chat" 48 bool "chat"
46 default n 49 default n
50 depends on PLATFORM_POSIX
47 help 51 help
48 Simple chat utility. 52 Simple chat utility.
49 53
@@ -111,6 +115,7 @@ config FEATURE_CHAT_CLR_ABORT
111config CHRT 115config CHRT
112 bool "chrt" 116 bool "chrt"
113 default n 117 default n
118 depends on PLATFORM_POSIX
114 help 119 help
115 manipulate real-time attributes of a process. 120 manipulate real-time attributes of a process.
116 This requires sched_{g,s}etparam support in your libc. 121 This requires sched_{g,s}etparam support in your libc.
@@ -118,6 +123,7 @@ config CHRT
118config CROND 123config CROND
119 bool "crond" 124 bool "crond"
120 default n 125 default n
126 depends on PLATFORM_POSIX
121 select FEATURE_SUID 127 select FEATURE_SUID
122 select FEATURE_SYSLOG 128 select FEATURE_SYSLOG
123 help 129 help
@@ -153,6 +159,7 @@ config FEATURE_CROND_DIR
153config CRONTAB 159config CRONTAB
154 bool "crontab" 160 bool "crontab"
155 default n 161 default n
162 depends on PLATFORM_POSIX
156 select FEATURE_SUID 163 select FEATURE_SUID
157 help 164 help
158 Crontab manipulates the crontab for a particular user. Only 165 Crontab manipulates the crontab for a particular user. Only
@@ -163,6 +170,7 @@ config CRONTAB
163config DC 170config DC
164 bool "dc" 171 bool "dc"
165 default n 172 default n
173 depends on PLATFORM_POSIX
166 help 174 help
167 Dc is a reverse-polish desk calculator which supports unlimited 175 Dc is a reverse-polish desk calculator which supports unlimited
168 precision arithmetic. 176 precision arithmetic.
@@ -178,6 +186,7 @@ config FEATURE_DC_LIBM
178config DEVFSD 186config DEVFSD
179 bool "devfsd (obsolete)" 187 bool "devfsd (obsolete)"
180 default n 188 default n
189 depends on PLATFORM_POSIX
181 select FEATURE_SYSLOG 190 select FEATURE_SYSLOG
182 help 191 help
183 This is deprecated and should NOT be used anymore. 192 This is deprecated and should NOT be used anymore.
@@ -221,6 +230,7 @@ config DEVFSD_VERBOSE
221config FEATURE_DEVFS 230config FEATURE_DEVFS
222 bool "Use devfs names for all devices (obsolete)" 231 bool "Use devfs names for all devices (obsolete)"
223 default n 232 default n
233 depends on PLATFORM_POSIX
224 help 234 help
225 This is obsolete and should NOT be used anymore. 235 This is obsolete and should NOT be used anymore.
226 Use linux >= 2.6 (optionally with hotplug) and mdev instead! 236 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
@@ -233,6 +243,7 @@ config FEATURE_DEVFS
233config DEVMEM 243config DEVMEM
234 bool "devmem" 244 bool "devmem"
235 default n 245 default n
246 depends on PLATFORM_POSIX
236 help 247 help
237 devmem is a small program that reads and writes from physical 248 devmem is a small program that reads and writes from physical
238 memory using /dev/mem. 249 memory using /dev/mem.
@@ -240,6 +251,7 @@ config DEVMEM
240config EJECT 251config EJECT
241 bool "eject" 252 bool "eject"
242 default n 253 default n
254 depends on PLATFORM_POSIX
243 help 255 help
244 Used to eject cdroms. (defaults to /dev/cdrom) 256 Used to eject cdroms. (defaults to /dev/cdrom)
245 257
@@ -254,6 +266,7 @@ config FEATURE_EJECT_SCSI
254config FBSPLASH 266config FBSPLASH
255 bool "fbsplash" 267 bool "fbsplash"
256 default n 268 default n
269 depends on PLATFORM_POSIX
257 help 270 help
258 Shows splash image and progress bar on framebuffer device. 271 Shows splash image and progress bar on framebuffer device.
259 Can be used during boot phase of an embedded device. ~2kb. 272 Can be used during boot phase of an embedded device. ~2kb.
@@ -275,6 +288,7 @@ config FBSPLASH
275config FLASHCP 288config FLASHCP
276 bool "flashcp" 289 bool "flashcp"
277 default n 290 default n
291 depends on PLATFORM_POSIX
278 help 292 help
279 The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7. 293 The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
280 This utility is used to copy images into a MTD device. 294 This utility is used to copy images into a MTD device.
@@ -282,6 +296,7 @@ config FLASHCP
282config FLASH_LOCK 296config FLASH_LOCK
283 bool "flash_lock" 297 bool "flash_lock"
284 default n 298 default n
299 depends on PLATFORM_POSIX
285 help 300 help
286 The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This 301 The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
287 utility locks part or all of the flash device. 302 utility locks part or all of the flash device.
@@ -289,6 +304,7 @@ config FLASH_LOCK
289config FLASH_UNLOCK 304config FLASH_UNLOCK
290 bool "flash_unlock" 305 bool "flash_unlock"
291 default n 306 default n
307 depends on PLATFORM_POSIX
292 help 308 help
293 The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This 309 The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
294 utility unlocks part or all of the flash device. 310 utility unlocks part or all of the flash device.
@@ -296,6 +312,7 @@ config FLASH_UNLOCK
296config FLASH_ERASEALL 312config FLASH_ERASEALL
297 bool "flash_eraseall" 313 bool "flash_eraseall"
298 default n 314 default n
315 depends on PLATFORM_POSIX
299 help 316 help
300 The flash_eraseall binary from mtd-utils as of git head c4c6a59eb. 317 The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
301 This utility is used to erase the whole MTD device. 318 This utility is used to erase the whole MTD device.
@@ -303,6 +320,7 @@ config FLASH_ERASEALL
303config IONICE 320config IONICE
304 bool "ionice" 321 bool "ionice"
305 default n 322 default n
323 depends on PLATFORM_POSIX
306 help 324 help
307 Set/set program io scheduling class and priority 325 Set/set program io scheduling class and priority
308 Requires kernel >= 2.6.13 326 Requires kernel >= 2.6.13
@@ -310,6 +328,7 @@ config IONICE
310config INOTIFYD 328config INOTIFYD
311 bool "inotifyd" 329 bool "inotifyd"
312 default n 330 default n
331 depends on PLATFORM_POSIX
313 help 332 help
314 Simple inotify daemon. Reports filesystem changes. Requires 333 Simple inotify daemon. Reports filesystem changes. Requires
315 kernel >= 2.6.13 334 kernel >= 2.6.13
@@ -318,6 +337,7 @@ config LAST
318 bool "last" 337 bool "last"
319 default n 338 default n
320 depends on FEATURE_WTMP 339 depends on FEATURE_WTMP
340 depends on PLATFORM_POSIX
321 help 341 help
322 'last' displays a list of the last users that logged into the system. 342 'last' displays a list of the last users that logged into the system.
323 343
@@ -342,6 +362,7 @@ endchoice
342config LESS 362config LESS
343 bool "less" 363 bool "less"
344 default n 364 default n
365 depends on PLATFORM_POSIX
345 help 366 help
346 'less' is a pager, meaning that it displays text files. It possesses 367 'less' is a pager, meaning that it displays text files. It possesses
347 a wide array of features, and is an improvement over 'more'. 368 a wide array of features, and is an improvement over 'more'.
@@ -408,6 +429,7 @@ config FEATURE_LESS_LINENUMS
408config HDPARM 429config HDPARM
409 bool "hdparm" 430 bool "hdparm"
410 default n 431 default n
432 depends on PLATFORM_POSIX
411 help 433 help
412 Get/Set hard drive parameters. Primarily intended for ATA 434 Get/Set hard drive parameters. Primarily intended for ATA
413 drives. Adds about 13k (or around 30k if you enable the 435 drives. Adds about 13k (or around 30k if you enable the
@@ -466,6 +488,7 @@ config FEATURE_HDPARM_HDIO_GETSET_DMA
466config MAKEDEVS 488config MAKEDEVS
467 bool "makedevs" 489 bool "makedevs"
468 default n 490 default n
491 depends on PLATFORM_POSIX
469 help 492 help
470 'makedevs' is a utility used to create a batch of devices with 493 'makedevs' is a utility used to create a batch of devices with
471 one command. 494 one command.
@@ -498,24 +521,28 @@ endchoice
498config MAN 521config MAN
499 bool "man" 522 bool "man"
500 default n 523 default n
524 depends on PLATFORM_POSIX
501 help 525 help
502 Format and display manual pages. 526 Format and display manual pages.
503 527
504config MICROCOM 528config MICROCOM
505 bool "microcom" 529 bool "microcom"
506 default n 530 default n
531 depends on PLATFORM_POSIX
507 help 532 help
508 The poor man's minicom utility for chatting with serial port devices. 533 The poor man's minicom utility for chatting with serial port devices.
509 534
510config MOUNTPOINT 535config MOUNTPOINT
511 bool "mountpoint" 536 bool "mountpoint"
512 default n 537 default n
538 depends on PLATFORM_POSIX
513 help 539 help
514 mountpoint checks if the directory is a mountpoint. 540 mountpoint checks if the directory is a mountpoint.
515 541
516config MT 542config MT
517 bool "mt" 543 bool "mt"
518 default n 544 default n
545 depends on PLATFORM_POSIX
519 help 546 help
520 mt is used to control tape devices. You can use the mt utility 547 mt is used to control tape devices. You can use the mt utility
521 to advance or rewind a tape past a specified number of archive 548 to advance or rewind a tape past a specified number of archive
@@ -524,6 +551,7 @@ config MT
524config RAIDAUTORUN 551config RAIDAUTORUN
525 bool "raidautorun" 552 bool "raidautorun"
526 default n 553 default n
554 depends on PLATFORM_POSIX
527 help 555 help
528 raidautorun tells the kernel md driver to 556 raidautorun tells the kernel md driver to
529 search and start RAID arrays. 557 search and start RAID arrays.
@@ -548,6 +576,7 @@ config READAHEAD
548config RUNLEVEL 576config RUNLEVEL
549 bool "runlevel" 577 bool "runlevel"
550 default n 578 default n
579 depends on PLATFORM_POSIX
551 help 580 help
552 find the current and previous system runlevel. 581 find the current and previous system runlevel.
553 582
@@ -557,18 +586,21 @@ config RUNLEVEL
557config RX 586config RX
558 bool "rx" 587 bool "rx"
559 default n 588 default n
589 depends on PLATFORM_POSIX
560 help 590 help
561 Receive files using the Xmodem protocol. 591 Receive files using the Xmodem protocol.
562 592
563config SETSID 593config SETSID
564 bool "setsid" 594 bool "setsid"
565 default n 595 default n
596 depends on PLATFORM_POSIX
566 help 597 help
567 setsid runs a program in a new session 598 setsid runs a program in a new session
568 599
569config STRINGS 600config STRINGS
570 bool "strings" 601 bool "strings"
571 default n 602 default n
603 depends on PLATFORM_POSIX
572 help 604 help
573 strings prints the printable character sequences for each file 605 strings prints the printable character sequences for each file
574 specified. 606 specified.
@@ -576,6 +608,7 @@ config STRINGS
576config TASKSET 608config TASKSET
577 bool "taskset" 609 bool "taskset"
578 default n 610 default n
611 depends on PLATFORM_POSIX
579 help 612 help
580 Retrieve or set a processes's CPU affinity. 613 Retrieve or set a processes's CPU affinity.
581 This requires sched_{g,s}etaffinity support in your libc. 614 This requires sched_{g,s}etaffinity support in your libc.
@@ -592,6 +625,7 @@ config FEATURE_TASKSET_FANCY
592config TIME 625config TIME
593 bool "time" 626 bool "time"
594 default n 627 default n
628 depends on PLATFORM_POSIX
595 help 629 help
596 The time command runs the specified program with the given arguments. 630 The time command runs the specified program with the given arguments.
597 When the command finishes, time writes a message to standard output 631 When the command finishes, time writes a message to standard output
@@ -600,6 +634,7 @@ config TIME
600config TIMEOUT 634config TIMEOUT
601 bool "timeout" 635 bool "timeout"
602 default n 636 default n
637 depends on PLATFORM_POSIX
603 help 638 help
604 Runs a program and watches it. If it does not terminate in 639 Runs a program and watches it. If it does not terminate in
605 specified number of seconds, it is sent a signal. 640 specified number of seconds, it is sent a signal.
@@ -607,6 +642,7 @@ config TIMEOUT
607config TTYSIZE 642config TTYSIZE
608 bool "ttysize" 643 bool "ttysize"
609 default n 644 default n
645 depends on PLATFORM_POSIX
610 help 646 help
611 A replacement for "stty size". Unlike stty, can report only width, 647 A replacement for "stty size". Unlike stty, can report only width,
612 only height, or both, in any order. It also does not complain on 648 only height, or both, in any order. It also does not complain on
@@ -616,18 +652,21 @@ config TTYSIZE
616config VOLNAME 652config VOLNAME
617 bool "volname" 653 bool "volname"
618 default n 654 default n
655 depends on PLATFORM_POSIX
619 help 656 help
620 Prints a CD-ROM volume name. 657 Prints a CD-ROM volume name.
621 658
622config WALL 659config WALL
623 bool "wall" 660 bool "wall"
624 default n 661 default n
662 depends on PLATFORM_POSIX
625 help 663 help
626 Write a message to all users that are logged in. 664 Write a message to all users that are logged in.
627 665
628config WATCHDOG 666config WATCHDOG
629 bool "watchdog" 667 bool "watchdog"
630 default n 668 default n
669 depends on PLATFORM_POSIX
631 help 670 help
632 The watchdog utility is used with hardware or software watchdog 671 The watchdog utility is used with hardware or software watchdog
633 device drivers. It opens the specified watchdog device special file 672 device drivers. It opens the specified watchdog device special file
diff --git a/modutils/Config.in b/modutils/Config.in
index 83c12b67f..2d6e4a5d2 100644
--- a/modutils/Config.in
+++ b/modutils/Config.in
@@ -8,6 +8,7 @@ menu "Linux Module Utilities"
8config MODPROBE_SMALL 8config MODPROBE_SMALL
9 bool "Simplified modutils" 9 bool "Simplified modutils"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 Simplified modutils. 13 Simplified modutils.
13 14
@@ -56,6 +57,7 @@ config INSMOD
56 bool "insmod" 57 bool "insmod"
57 default n 58 default n
58 depends on !MODPROBE_SMALL 59 depends on !MODPROBE_SMALL
60 depends on PLATFORM_POSIX
59 help 61 help
60 insmod is used to load specified modules in the running kernel. 62 insmod is used to load specified modules in the running kernel.
61 63
@@ -63,6 +65,7 @@ config RMMOD
63 bool "rmmod" 65 bool "rmmod"
64 default n 66 default n
65 depends on !MODPROBE_SMALL 67 depends on !MODPROBE_SMALL
68 depends on PLATFORM_POSIX
66 help 69 help
67 rmmod is used to unload specified modules from the kernel. 70 rmmod is used to unload specified modules from the kernel.
68 71
@@ -70,6 +73,7 @@ config LSMOD
70 bool "lsmod" 73 bool "lsmod"
71 default n 74 default n
72 depends on !MODPROBE_SMALL 75 depends on !MODPROBE_SMALL
76 depends on PLATFORM_POSIX
73 help 77 help
74 lsmod is used to display a list of loaded modules. 78 lsmod is used to display a list of loaded modules.
75 79
@@ -86,6 +90,7 @@ config MODPROBE
86 bool "modprobe" 90 bool "modprobe"
87 default n 91 default n
88 depends on !MODPROBE_SMALL 92 depends on !MODPROBE_SMALL
93 depends on PLATFORM_POSIX
89 help 94 help
90 Handle the loading of modules, and their dependencies on a high 95 Handle the loading of modules, and their dependencies on a high
91 level. 96 level.
@@ -105,6 +110,7 @@ config DEPMOD
105 bool "depmod" 110 bool "depmod"
106 default n 111 default n
107 depends on !MODPROBE_SMALL 112 depends on !MODPROBE_SMALL
113 depends on PLATFORM_POSIX
108 help 114 help
109 depmod generates modules.dep (and potentially modules.alias 115 depmod generates modules.dep (and potentially modules.alias
110 and modules.symbols) that contain dependency information 116 and modules.symbols) that contain dependency information
diff --git a/networking/Config.in b/networking/Config.in
index 61e59b244..0d3a16d01 100644
--- a/networking/Config.in
+++ b/networking/Config.in
@@ -8,6 +8,7 @@ menu "Networking Utilities"
8config FEATURE_IPV6 8config FEATURE_IPV6
9 bool "Enable IPv6 support" 9 bool "Enable IPv6 support"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 Enable IPv6 support in busybox. 13 Enable IPv6 support in busybox.
13 This adds IPv6 support in the networking applets. 14 This adds IPv6 support in the networking applets.
@@ -15,6 +16,7 @@ config FEATURE_IPV6
15config FEATURE_UNIX_LOCAL 16config FEATURE_UNIX_LOCAL
16 bool "Enable Unix domain socket support (usually not needed)" 17 bool "Enable Unix domain socket support (usually not needed)"
17 default n 18 default n
19 depends on PLATFORM_POSIX
18 help 20 help
19 Enable Unix domain socket support in all busybox networking 21 Enable Unix domain socket support in all busybox networking
20 applets. Address of the form local:/path/to/unix/socket 22 applets. Address of the form local:/path/to/unix/socket
@@ -41,6 +43,7 @@ config FEATURE_PREFER_IPV4_ADDRESS
41config VERBOSE_RESOLUTION_ERRORS 43config VERBOSE_RESOLUTION_ERRORS
42 bool "Verbose resolution errors" 44 bool "Verbose resolution errors"
43 default n 45 default n
46 depends on PLATFORM_POSIX
44 help 47 help
45 Enable if you are not satisfied with simplistic 48 Enable if you are not satisfied with simplistic
46 "can't resolve 'hostname.com'" and want to know more. 49 "can't resolve 'hostname.com'" and want to know more.
@@ -49,18 +52,21 @@ config VERBOSE_RESOLUTION_ERRORS
49config ARP 52config ARP
50 bool "arp" 53 bool "arp"
51 default n 54 default n
55 depends on PLATFORM_POSIX
52 help 56 help
53 Manipulate the system ARP cache. 57 Manipulate the system ARP cache.
54 58
55config ARPING 59config ARPING
56 bool "arping" 60 bool "arping"
57 default n 61 default n
62 depends on PLATFORM_POSIX
58 help 63 help
59 Ping hosts by ARP packets. 64 Ping hosts by ARP packets.
60 65
61config BRCTL 66config BRCTL
62 bool "brctl" 67 bool "brctl"
63 default n 68 default n
69 depends on PLATFORM_POSIX
64 help 70 help
65 Manage ethernet bridges. 71 Manage ethernet bridges.
66 Supports addbr/delbr and addif/delif. 72 Supports addbr/delbr and addif/delif.
@@ -87,18 +93,21 @@ config FEATURE_BRCTL_SHOW
87config DNSD 93config DNSD
88 bool "dnsd" 94 bool "dnsd"
89 default n 95 default n
96 depends on PLATFORM_POSIX
90 help 97 help
91 Small and static DNS server daemon. 98 Small and static DNS server daemon.
92 99
93config ETHER_WAKE 100config ETHER_WAKE
94 bool "ether-wake" 101 bool "ether-wake"
95 default n 102 default n
103 depends on PLATFORM_POSIX
96 help 104 help
97 Send a magic packet to wake up sleeping machines. 105 Send a magic packet to wake up sleeping machines.
98 106
99config FAKEIDENTD 107config FAKEIDENTD
100 bool "fakeidentd" 108 bool "fakeidentd"
101 default n 109 default n
110 depends on PLATFORM_POSIX
102 select FEATURE_SYSLOG 111 select FEATURE_SYSLOG
103 help 112 help
104 fakeidentd listens on the ident port and returns a predefined 113 fakeidentd listens on the ident port and returns a predefined
@@ -107,6 +116,7 @@ config FAKEIDENTD
107config FTPD 116config FTPD
108 bool "ftpd" 117 bool "ftpd"
109 default n 118 default n
119 depends on PLATFORM_POSIX
110 help 120 help
111 simple FTP daemon. You have to run it via inetd. 121 simple FTP daemon. You have to run it via inetd.
112 122
@@ -131,12 +141,14 @@ config FEATURE_FTPD_ACCEPT_BROKEN_LIST
131config FTPGET 141config FTPGET
132 bool "ftpget" 142 bool "ftpget"
133 default n 143 default n
144 depends on PLATFORM_POSIX
134 help 145 help
135 Retrieve a remote file via FTP. 146 Retrieve a remote file via FTP.
136 147
137config FTPPUT 148config FTPPUT
138 bool "ftpput" 149 bool "ftpput"
139 default n 150 default n
151 depends on PLATFORM_POSIX
140 help 152 help
141 Store a remote file via FTP. 153 Store a remote file via FTP.
142 154
@@ -150,12 +162,14 @@ config FEATURE_FTPGETPUT_LONG_OPTIONS
150config HOSTNAME 162config HOSTNAME
151 bool "hostname" 163 bool "hostname"
152 default n 164 default n
165 depends on PLATFORM_POSIX
153 help 166 help
154 Show or set the system's host name. 167 Show or set the system's host name.
155 168
156config HTTPD 169config HTTPD
157 bool "httpd" 170 bool "httpd"
158 default n 171 default n
172 depends on PLATFORM_POSIX
159 help 173 help
160 Serve web pages via an HTTP server. 174 Serve web pages via an HTTP server.
161 175
@@ -267,6 +281,7 @@ config FEATURE_HTTPD_PROXY
267config IFCONFIG 281config IFCONFIG
268 bool "ifconfig" 282 bool "ifconfig"
269 default n 283 default n
284 depends on PLATFORM_POSIX
270 help 285 help
271 Ifconfig is used to configure the kernel-resident network interfaces. 286 Ifconfig is used to configure the kernel-resident network interfaces.
272 287
@@ -314,6 +329,7 @@ config FEATURE_IFCONFIG_BROADCAST_PLUS
314config IFENSLAVE 329config IFENSLAVE
315 bool "ifenslave" 330 bool "ifenslave"
316 default n 331 default n
332 depends on PLATFORM_POSIX
317 help 333 help
318 Userspace application to bind several interfaces 334 Userspace application to bind several interfaces
319 to a logical interface (use with kernel bonding driver). 335 to a logical interface (use with kernel bonding driver).
@@ -321,12 +337,14 @@ config IFENSLAVE
321config IFPLUGD 337config IFPLUGD
322 bool "ifplugd" 338 bool "ifplugd"
323 default n 339 default n
340 depends on PLATFORM_POSIX
324 help 341 help
325 Network interface plug detection daemon. 342 Network interface plug detection daemon.
326 343
327config IFUPDOWN 344config IFUPDOWN
328 bool "ifupdown" 345 bool "ifupdown"
329 default n 346 default n
347 depends on PLATFORM_POSIX
330 help 348 help
331 Activate or deactivate the specified interfaces. This applet makes 349 Activate or deactivate the specified interfaces. This applet makes
332 use of either "ifconfig" and "route" or the "ip" command to actually 350 use of either "ifconfig" and "route" or the "ip" command to actually
@@ -431,6 +449,7 @@ config FEATURE_IFUPDOWN_EXTERNAL_DHCP
431config INETD 449config INETD
432 bool "inetd" 450 bool "inetd"
433 default n 451 default n
452 depends on PLATFORM_POSIX
434 select FEATURE_SYSLOG 453 select FEATURE_SYSLOG
435 help 454 help
436 Internet superserver daemon 455 Internet superserver daemon
@@ -481,6 +500,7 @@ config FEATURE_INETD_RPC
481config IP 500config IP
482 bool "ip" 501 bool "ip"
483 default n 502 default n
503 depends on PLATFORM_POSIX
484 help 504 help
485 The "ip" applet is a TCP/IP interface configuration and routing 505 The "ip" applet is a TCP/IP interface configuration and routing
486 utility. You generally don't need "ip" to use busybox with 506 utility. You generally don't need "ip" to use busybox with
@@ -550,30 +570,36 @@ config IPADDR
550 bool 570 bool
551 default y 571 default y
552 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS 572 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
573 depends on PLATFORM_POSIX
553 574
554config IPLINK 575config IPLINK
555 bool 576 bool
556 default y 577 default y
557 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK 578 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
579 depends on PLATFORM_POSIX
558 580
559config IPROUTE 581config IPROUTE
560 bool 582 bool
561 default y 583 default y
562 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE 584 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
585 depends on PLATFORM_POSIX
563 586
564config IPTUNNEL 587config IPTUNNEL
565 bool 588 bool
566 default y 589 default y
567 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL 590 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
591 depends on PLATFORM_POSIX
568 592
569config IPRULE 593config IPRULE
570 bool 594 bool
571 default y 595 default y
572 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE 596 depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
597 depends on PLATFORM_POSIX
573 598
574config IPCALC 599config IPCALC
575 bool "ipcalc" 600 bool "ipcalc"
576 default n 601 default n
602 depends on PLATFORM_POSIX
577 help 603 help
578 ipcalc takes an IP address and netmask and calculates the 604 ipcalc takes an IP address and netmask and calculates the
579 resulting broadcast, network, and host range. 605 resulting broadcast, network, and host range.
@@ -596,6 +622,7 @@ config FEATURE_IPCALC_LONG_OPTIONS
596config NAMEIF 622config NAMEIF
597 bool "nameif" 623 bool "nameif"
598 default n 624 default n
625 depends on PLATFORM_POSIX
599 select FEATURE_SYSLOG 626 select FEATURE_SYSLOG
600 help 627 help
601 nameif is used to rename network interface by its MAC address. 628 nameif is used to rename network interface by its MAC address.
@@ -624,6 +651,7 @@ config FEATURE_NAMEIF_EXTENDED
624config NC 651config NC
625 bool "nc" 652 bool "nc"
626 default n 653 default n
654 depends on PLATFORM_POSIX
627 help 655 help
628 A simple Unix utility which reads and writes data across network 656 A simple Unix utility which reads and writes data across network
629 connections. 657 connections.
@@ -647,6 +675,7 @@ config NC_EXTRA
647config NETSTAT 675config NETSTAT
648 bool "netstat" 676 bool "netstat"
649 default n 677 default n
678 depends on PLATFORM_POSIX
650 help 679 help
651 netstat prints information about the Linux networking subsystem. 680 netstat prints information about the Linux networking subsystem.
652 681
@@ -669,12 +698,14 @@ config FEATURE_NETSTAT_PRG
669config NSLOOKUP 698config NSLOOKUP
670 bool "nslookup" 699 bool "nslookup"
671 default n 700 default n
701 depends on PLATFORM_POSIX
672 help 702 help
673 nslookup is a tool to query Internet name servers. 703 nslookup is a tool to query Internet name servers.
674 704
675config NTPD 705config NTPD
676 bool "ntpd" 706 bool "ntpd"
677 default n 707 default n
708 depends on PLATFORM_POSIX
678 help 709 help
679 The NTP client/server daemon. 710 The NTP client/server daemon.
680 711
@@ -689,6 +720,7 @@ config FEATURE_NTPD_SERVER
689config PING 720config PING
690 bool "ping" 721 bool "ping"
691 default n 722 default n
723 depends on PLATFORM_POSIX
692 help 724 help
693 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to 725 ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
694 elicit an ICMP ECHO_RESPONSE from a host or gateway. 726 elicit an ICMP ECHO_RESPONSE from a host or gateway.
@@ -711,18 +743,21 @@ config FEATURE_FANCY_PING
711config PSCAN 743config PSCAN
712 bool "pscan" 744 bool "pscan"
713 default n 745 default n
746 depends on PLATFORM_POSIX
714 help 747 help
715 Simple network port scanner. 748 Simple network port scanner.
716 749
717config ROUTE 750config ROUTE
718 bool "route" 751 bool "route"
719 default n 752 default n
753 depends on PLATFORM_POSIX
720 help 754 help
721 Route displays or manipulates the kernel's IP routing tables. 755 Route displays or manipulates the kernel's IP routing tables.
722 756
723config SLATTACH 757config SLATTACH
724 bool "slattach" 758 bool "slattach"
725 default n 759 default n
760 depends on PLATFORM_POSIX
726 help 761 help
727 slattach is a small utility to attach network interfaces to serial 762 slattach is a small utility to attach network interfaces to serial
728 lines. 763 lines.
@@ -740,6 +775,7 @@ config SLATTACH
740config TCPSVD 775config TCPSVD
741 bool "tcpsvd" 776 bool "tcpsvd"
742 default n 777 default n
778 depends on PLATFORM_POSIX
743 help 779 help
744 tcpsvd listens on a TCP port and runs a program for each new 780 tcpsvd listens on a TCP port and runs a program for each new
745 connection. 781 connection.
@@ -747,6 +783,7 @@ config TCPSVD
747config TELNET 783config TELNET
748 bool "telnet" 784 bool "telnet"
749 default n 785 default n
786 depends on PLATFORM_POSIX
750 help 787 help
751 Telnet is an interface to the TELNET protocol, but is also commonly 788 Telnet is an interface to the TELNET protocol, but is also commonly
752 used to test other simple protocols. 789 used to test other simple protocols.
@@ -773,6 +810,7 @@ config FEATURE_TELNET_AUTOLOGIN
773config TELNETD 810config TELNETD
774 bool "telnetd" 811 bool "telnetd"
775 default n 812 default n
813 depends on PLATFORM_POSIX
776 select FEATURE_SYSLOG 814 select FEATURE_SYSLOG
777 help 815 help
778 A daemon for the TELNET protocol, allowing you to log onto the host 816 A daemon for the TELNET protocol, allowing you to log onto the host
@@ -844,6 +882,7 @@ config FEATURE_TELNETD_INETD_WAIT
844config TFTP 882config TFTP
845 bool "tftp" 883 bool "tftp"
846 default n 884 default n
885 depends on PLATFORM_POSIX
847 help 886 help
848 This enables the Trivial File Transfer Protocol client program. TFTP 887 This enables the Trivial File Transfer Protocol client program. TFTP
849 is usually used for simple, small transfers such as a root image 888 is usually used for simple, small transfers such as a root image
@@ -852,6 +891,7 @@ config TFTP
852config TFTPD 891config TFTPD
853 bool "tftpd" 892 bool "tftpd"
854 default n 893 default n
894 depends on PLATFORM_POSIX
855 help 895 help
856 This enables the Trivial File Transfer Protocol server program. 896 This enables the Trivial File Transfer Protocol server program.
857 It expects that stdin is a datagram socket and a packet 897 It expects that stdin is a datagram socket and a packet
@@ -906,6 +946,7 @@ config TFTP_DEBUG
906config TRACEROUTE 946config TRACEROUTE
907 bool "traceroute" 947 bool "traceroute"
908 default n 948 default n
949 depends on PLATFORM_POSIX
909 help 950 help
910 Utility to trace the route of IP packets. 951 Utility to trace the route of IP packets.
911 952
@@ -942,6 +983,7 @@ config FEATURE_TRACEROUTE_USE_ICMP
942config TUNCTL 983config TUNCTL
943 bool "tunctl" 984 bool "tunctl"
944 default n 985 default n
986 depends on PLATFORM_POSIX
945 help 987 help
946 tunctl creates or deletes tun devices. 988 tunctl creates or deletes tun devices.
947 989
@@ -967,6 +1009,7 @@ config IFUPDOWN_UDHCPC_CMD_OPTIONS
967config UDPSVD 1009config UDPSVD
968 bool "udpsvd" 1010 bool "udpsvd"
969 default n 1011 default n
1012 depends on PLATFORM_POSIX
970 help 1013 help
971 udpsvd listens on an UDP port and runs a program for each new 1014 udpsvd listens on an UDP port and runs a program for each new
972 connection. 1015 connection.
@@ -974,12 +1017,14 @@ config UDPSVD
974config VCONFIG 1017config VCONFIG
975 bool "vconfig" 1018 bool "vconfig"
976 default n 1019 default n
1020 depends on PLATFORM_POSIX
977 help 1021 help
978 Creates, removes, and configures VLAN interfaces 1022 Creates, removes, and configures VLAN interfaces
979 1023
980config WGET 1024config WGET
981 bool "wget" 1025 bool "wget"
982 default n 1026 default n
1027 depends on PLATFORM_POSIX
983 help 1028 help
984 wget is a utility for non-interactive download of files from HTTP, 1029 wget is a utility for non-interactive download of files from HTTP,
985 HTTPS, and FTP servers. 1030 HTTPS, and FTP servers.
@@ -1008,6 +1053,7 @@ config FEATURE_WGET_LONG_OPTIONS
1008config ZCIP 1053config ZCIP
1009 bool "zcip" 1054 bool "zcip"
1010 default n 1055 default n
1056 depends on PLATFORM_POSIX
1011 select FEATURE_SYSLOG 1057 select FEATURE_SYSLOG
1012 help 1058 help
1013 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. 1059 ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
diff --git a/networking/udhcp/Config.in b/networking/udhcp/Config.in
index 34adf35fe..37bb587fe 100644
--- a/networking/udhcp/Config.in
+++ b/networking/udhcp/Config.in
@@ -6,6 +6,7 @@
6config UDHCPD 6config UDHCPD
7 bool "udhcp server (udhcpd)" 7 bool "udhcp server (udhcpd)"
8 default n 8 default n
9 depends on PLATFORM_POSIX
9 help 10 help
10 udhcpd is a DHCP server geared primarily toward embedded systems, 11 udhcpd is a DHCP server geared primarily toward embedded systems,
11 while striving to be fully functional and RFC compliant. 12 while striving to be fully functional and RFC compliant.
@@ -49,6 +50,7 @@ config DHCPD_LEASES_FILE
49config UDHCPC 50config UDHCPC
50 bool "udhcp client (udhcpc)" 51 bool "udhcp client (udhcpc)"
51 default n 52 default n
53 depends on PLATFORM_POSIX
52 help 54 help
53 udhcpc is a DHCP client geared primarily toward embedded systems, 55 udhcpc is a DHCP client geared primarily toward embedded systems,
54 while striving to be fully functional and RFC compliant. 56 while striving to be fully functional and RFC compliant.
diff --git a/printutils/Config.in b/printutils/Config.in
index 6912ece6c..a46ca1cd1 100644
--- a/printutils/Config.in
+++ b/printutils/Config.in
@@ -8,18 +8,21 @@ menu "Print Utilities"
8config LPD 8config LPD
9 bool "lpd" 9 bool "lpd"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 lpd is a print spooling daemon. 13 lpd is a print spooling daemon.
13 14
14config LPR 15config LPR
15 bool "lpr" 16 bool "lpr"
16 default n 17 default n
18 depends on PLATFORM_POSIX
17 help 19 help
18 lpr sends files (or standard input) to a print spooling daemon. 20 lpr sends files (or standard input) to a print spooling daemon.
19 21
20config LPQ 22config LPQ
21 bool "lpq" 23 bool "lpq"
22 default n 24 default n
25 depends on PLATFORM_POSIX
23 help 26 help
24 lpq is a print spool queue examination and manipulation program. 27 lpq is a print spool queue examination and manipulation program.
25 28
diff --git a/procps/Config.in b/procps/Config.in
index 6a9a36638..bc4e489e1 100644
--- a/procps/Config.in
+++ b/procps/Config.in
@@ -8,6 +8,7 @@ menu "Process Utilities"
8config FREE 8config FREE
9 bool "free" 9 bool "free"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 free displays the total amount of free and used physical and swap 13 free displays the total amount of free and used physical and swap
13 memory in the system, as well as the buffers used by the kernel. 14 memory in the system, as well as the buffers used by the kernel.
@@ -16,6 +17,7 @@ config FREE
16config FUSER 17config FUSER
17 bool "fuser" 18 bool "fuser"
18 default n 19 default n
20 depends on PLATFORM_POSIX
19 help 21 help
20 fuser lists all PIDs (Process IDs) that currently have a given 22 fuser lists all PIDs (Process IDs) that currently have a given
21 file open. fuser can also list all PIDs that have a given network 23 file open. fuser can also list all PIDs that have a given network
@@ -24,6 +26,7 @@ config FUSER
24config KILL 26config KILL
25 bool "kill" 27 bool "kill"
26 default n 28 default n
29 depends on PLATFORM_POSIX
27 help 30 help
28 The command kill sends the specified signal to the specified 31 The command kill sends the specified signal to the specified
29 process or process group. If no signal is specified, the TERM 32 process or process group. If no signal is specified, the TERM
@@ -46,18 +49,21 @@ config KILLALL5
46config NMETER 49config NMETER
47 bool "nmeter" 50 bool "nmeter"
48 default n 51 default n
52 depends on PLATFORM_POSIX
49 help 53 help
50 Prints selected system stats continuously, one line per update. 54 Prints selected system stats continuously, one line per update.
51 55
52config PGREP 56config PGREP
53 bool "pgrep" 57 bool "pgrep"
54 default n 58 default n
59 depends on PLATFORM_POSIX
55 help 60 help
56 Look for processes by name. 61 Look for processes by name.
57 62
58config PIDOF 63config PIDOF
59 bool "pidof" 64 bool "pidof"
60 default n 65 default n
66 depends on PLATFORM_POSIX
61 help 67 help
62 Pidof finds the process id's (pids) of the named programs. It prints 68 Pidof finds the process id's (pids) of the named programs. It prints
63 those id's on the standard output. 69 those id's on the standard output.
@@ -81,12 +87,14 @@ config FEATURE_PIDOF_OMIT
81config PKILL 87config PKILL
82 bool "pkill" 88 bool "pkill"
83 default n 89 default n
90 depends on PLATFORM_POSIX
84 help 91 help
85 Send signals to processes by name. 92 Send signals to processes by name.
86 93
87config PS 94config PS
88 bool "ps" 95 bool "ps"
89 default n 96 default n
97 depends on PLATFORM_POSIX
90 help 98 help
91 ps gives a snapshot of the current processes. 99 ps gives a snapshot of the current processes.
92 100
@@ -124,6 +132,7 @@ config FEATURE_PS_UNUSUAL_SYSTEMS
124config RENICE 132config RENICE
125 bool "renice" 133 bool "renice"
126 default n 134 default n
135 depends on PLATFORM_POSIX
127 help 136 help
128 Renice alters the scheduling priority of one or more running 137 Renice alters the scheduling priority of one or more running
129 processes. 138 processes.
@@ -131,12 +140,14 @@ config RENICE
131config BB_SYSCTL 140config BB_SYSCTL
132 bool "sysctl" 141 bool "sysctl"
133 default n 142 default n
143 depends on PLATFORM_POSIX
134 help 144 help
135 Configure kernel parameters at runtime. 145 Configure kernel parameters at runtime.
136 146
137config TOP 147config TOP
138 bool "top" 148 bool "top"
139 default n 149 default n
150 depends on PLATFORM_POSIX
140 help 151 help
141 The top program provides a dynamic real-time view of a running 152 The top program provides a dynamic real-time view of a running
142 system. 153 system.
@@ -198,6 +209,7 @@ config FEATURE_SHOW_THREADS
198config UPTIME 209config UPTIME
199 bool "uptime" 210 bool "uptime"
200 default n 211 default n
212 depends on PLATFORM_POSIX
201 help 213 help
202 uptime gives a one line display of the current time, how long 214 uptime gives a one line display of the current time, how long
203 the system has been running, how many users are currently logged 215 the system has been running, how many users are currently logged
@@ -206,6 +218,7 @@ config UPTIME
206config WATCH 218config WATCH
207 bool "watch" 219 bool "watch"
208 default n 220 default n
221 depends on PLATFORM_POSIX
209 help 222 help
210 watch is used to execute a program periodically, showing 223 watch is used to execute a program periodically, showing
211 output to the screen. 224 output to the screen.
diff --git a/runit/Config.in b/runit/Config.in
index 422ca7517..c45ec631b 100644
--- a/runit/Config.in
+++ b/runit/Config.in
@@ -8,6 +8,7 @@ menu "Runit Utilities"
8config RUNSV 8config RUNSV
9 bool "runsv" 9 bool "runsv"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 runsv starts and monitors a service and optionally an appendant log 13 runsv starts and monitors a service and optionally an appendant log
13 service. 14 service.
@@ -15,6 +16,7 @@ config RUNSV
15config RUNSVDIR 16config RUNSVDIR
16 bool "runsvdir" 17 bool "runsvdir"
17 default n 18 default n
19 depends on PLATFORM_POSIX
18 help 20 help
19 runsvdir starts a runsv process for each subdirectory, or symlink to 21 runsvdir starts a runsv process for each subdirectory, or symlink to
20 a directory, in the services directory dir, up to a limit of 1000 22 a directory, in the services directory dir, up to a limit of 1000
@@ -32,6 +34,7 @@ config FEATURE_RUNSVDIR_LOG
32config SV 34config SV
33 bool "sv" 35 bool "sv"
34 default n 36 default n
37 depends on PLATFORM_POSIX
35 help 38 help
36 sv reports the current status and controls the state of services 39 sv reports the current status and controls the state of services
37 monitored by the runsv supervisor. 40 monitored by the runsv supervisor.
@@ -47,6 +50,7 @@ config SV_DEFAULT_SERVICE_DIR
47config SVLOGD 50config SVLOGD
48 bool "svlogd" 51 bool "svlogd"
49 default n 52 default n
53 depends on PLATFORM_POSIX
50 help 54 help
51 svlogd continuously reads log data from its standard input, optionally 55 svlogd continuously reads log data from its standard input, optionally
52 filters log messages, and writes the data to one or more automatically 56 filters log messages, and writes the data to one or more automatically
@@ -55,28 +59,33 @@ config SVLOGD
55config CHPST 59config CHPST
56 bool "chpst" 60 bool "chpst"
57 default n 61 default n
62 depends on PLATFORM_POSIX
58 help 63 help
59 chpst changes the process state according to the given options, and 64 chpst changes the process state according to the given options, and
60 execs specified program. 65 execs specified program.
61 66
62config SETUIDGID 67config SETUIDGID
63 bool "setuidgid" 68 bool "setuidgid"
69 depends on PLATFORM_POSIX
64 help 70 help
65 Sets soft resource limits as specified by options 71 Sets soft resource limits as specified by options
66 72
67config ENVUIDGID 73config ENVUIDGID
68 bool "envuidgid" 74 bool "envuidgid"
75 depends on PLATFORM_POSIX
69 help 76 help
70 Sets $UID to account's uid and $GID to account's gid 77 Sets $UID to account's uid and $GID to account's gid
71 78
72config ENVDIR 79config ENVDIR
73 bool "envdir" 80 bool "envdir"
81 depends on PLATFORM_POSIX
74 help 82 help
75 Sets various environment variables as specified by files 83 Sets various environment variables as specified by files
76 in the given directory 84 in the given directory
77 85
78config SOFTLIMIT 86config SOFTLIMIT
79 bool "softlimit" 87 bool "softlimit"
88 depends on PLATFORM_POSIX
80 help 89 help
81 Sets soft resource limits as specified by options 90 Sets soft resource limits as specified by options
82 91
diff --git a/shell/Config.in b/shell/Config.in
index 3b1650615..f83f5c888 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -38,6 +38,7 @@ config ASH
38 bool "ash" 38 bool "ash"
39 default n 39 default n
40 depends on !NOMMU 40 depends on !NOMMU
41 depends on PLATFORM_POSIX
41 help 42 help
42 Tha 'ash' shell adds about 60k in the default configuration and is 43 Tha 'ash' shell adds about 60k in the default configuration and is
43 the most complete and most pedantically correct shell included with 44 the most complete and most pedantically correct shell included with
@@ -140,6 +141,7 @@ config ASH_EXPAND_PRMT
140config HUSH 141config HUSH
141 bool "hush" 142 bool "hush"
142 default n 143 default n
144 depends on PLATFORM_POSIX
143 help 145 help
144 hush is a small shell (22k). It handles the normal flow control 146 hush is a small shell (22k). It handles the normal flow control
145 constructs such as if/then/elif/else/fi, for/in/do/done, while loops, 147 constructs such as if/then/elif/else/fi, for/in/do/done, while loops,
@@ -246,6 +248,7 @@ config HUSH_RANDOM_SUPPORT
246config LASH 248config LASH
247 bool "lash (deprecated: aliased to hush)" 249 bool "lash (deprecated: aliased to hush)"
248 default n 250 default n
251 depends on PLATFORM_POSIX
249 select HUSH 252 select HUSH
250 help 253 help
251 lash is deprecated and will be removed, please migrate to hush. 254 lash is deprecated and will be removed, please migrate to hush.
@@ -253,6 +256,7 @@ config LASH
253config MSH 256config MSH
254 bool "msh (deprecated: please use hush)" 257 bool "msh (deprecated: please use hush)"
255 default n 258 default n
259 depends on PLATFORM_POSIX
256 select HUSH 260 select HUSH
257 help 261 help
258 msh is deprecated and will be removed, please migrate to hush. 262 msh is deprecated and will be removed, please migrate to hush.
@@ -342,6 +346,7 @@ config FEATURE_SH_NOFORK
342config CTTYHACK 346config CTTYHACK
343 bool "cttyhack" 347 bool "cttyhack"
344 default n 348 default n
349 depends on PLATFORM_POSIX
345 help 350 help
346 One common problem reported on the mailing list is "can't access tty; 351 One common problem reported on the mailing list is "can't access tty;
347 job control turned off" error message which typically appears when 352 job control turned off" error message which typically appears when
diff --git a/sysklogd/Config.in b/sysklogd/Config.in
index b500d5471..3670f1a28 100644
--- a/sysklogd/Config.in
+++ b/sysklogd/Config.in
@@ -8,6 +8,7 @@ menu "System Logging Utilities"
8config SYSLOGD 8config SYSLOGD
9 bool "syslogd" 9 bool "syslogd"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 The syslogd utility is used to record logs of all the 13 The syslogd utility is used to record logs of all the
13 significant events that occur on a system. Every 14 significant events that occur on a system. Every
@@ -87,6 +88,7 @@ config LOGREAD
87 bool "logread" 88 bool "logread"
88 default y 89 default y
89 depends on FEATURE_IPC_SYSLOG 90 depends on FEATURE_IPC_SYSLOG
91 depends on PLATFORM_POSIX
90 help 92 help
91 If you enabled Circular Buffer support, you almost 93 If you enabled Circular Buffer support, you almost
92 certainly want to enable this feature as well. This 94 certainly want to enable this feature as well. This
@@ -107,6 +109,7 @@ config FEATURE_LOGREAD_REDUCED_LOCKING
107config KLOGD 109config KLOGD
108 bool "klogd" 110 bool "klogd"
109 default n 111 default n
112 depends on PLATFORM_POSIX
110 help 113 help
111 klogd is a utility which intercepts and logs all 114 klogd is a utility which intercepts and logs all
112 messages from the Linux kernel and sends the messages 115 messages from the Linux kernel and sends the messages
@@ -117,6 +120,7 @@ config KLOGD
117config LOGGER 120config LOGGER
118 bool "logger" 121 bool "logger"
119 default n 122 default n
123 depends on PLATFORM_POSIX
120 select FEATURE_SYSLOG 124 select FEATURE_SYSLOG
121 help 125 help
122 The logger utility allows you to send arbitrary text 126 The logger utility allows you to send arbitrary text
diff --git a/util-linux/Config.in b/util-linux/Config.in
index a59cc1ddf..572a5963d 100644
--- a/util-linux/Config.in
+++ b/util-linux/Config.in
@@ -8,6 +8,7 @@ menu "Linux System Utilities"
8config ACPID 8config ACPID
9 bool "acpid" 9 bool "acpid"
10 default n 10 default n
11 depends on PLATFORM_POSIX
11 help 12 help
12 acpid listens to ACPI events coming either in textual form from 13 acpid listens to ACPI events coming either in textual form from
13 /proc/acpi/event (though it is marked deprecated it is still widely 14 /proc/acpi/event (though it is marked deprecated it is still widely
@@ -30,6 +31,7 @@ config FEATURE_ACPID_COMPAT
30config BLKID 31config BLKID
31 bool "blkid" 32 bool "blkid"
32 default n 33 default n
34 depends on PLATFORM_POSIX
33 select VOLUMEID 35 select VOLUMEID
34 help 36 help
35 Lists labels and UUIDs of all filesystems. 37 Lists labels and UUIDs of all filesystems.
@@ -39,6 +41,7 @@ config BLKID
39config DMESG 41config DMESG
40 bool "dmesg" 42 bool "dmesg"
41 default n 43 default n
44 depends on PLATFORM_POSIX
42 help 45 help
43 dmesg is used to examine or control the kernel ring buffer. When the 46 dmesg is used to examine or control the kernel ring buffer. When the
44 Linux kernel prints messages to the system log, they are stored in 47 Linux kernel prints messages to the system log, they are stored in
@@ -72,6 +75,7 @@ config FEATURE_DMESG_PRETTY
72config FBSET 75config FBSET
73 bool "fbset" 76 bool "fbset"
74 default n 77 default n
78 depends on PLATFORM_POSIX
75 help 79 help
76 fbset is used to show or change the settings of a Linux frame buffer 80 fbset is used to show or change the settings of a Linux frame buffer
77 device. The frame buffer device provides a simple and unique 81 device. The frame buffer device provides a simple and unique
@@ -100,6 +104,7 @@ config FEATURE_FBSET_READMODE
100config FDFLUSH 104config FDFLUSH
101 bool "fdflush" 105 bool "fdflush"
102 default n 106 default n
107 depends on PLATFORM_POSIX
103 help 108 help
104 fdflush is only needed when changing media on slightly-broken 109 fdflush is only needed when changing media on slightly-broken
105 removable media drives. It is used to make Linux believe that a 110 removable media drives. It is used to make Linux believe that a
@@ -112,12 +117,14 @@ config FDFLUSH
112config FDFORMAT 117config FDFORMAT
113 bool "fdformat" 118 bool "fdformat"
114 default n 119 default n
120 depends on PLATFORM_POSIX
115 help 121 help
116 fdformat is used to low-level format a floppy disk. 122 fdformat is used to low-level format a floppy disk.
117 123
118config FDISK 124config FDISK
119 bool "fdisk" 125 bool "fdisk"
120 default n 126 default n
127 depends on PLATFORM_POSIX
121 help 128 help
122 The fdisk utility is used to divide hard disks into one or more 129 The fdisk utility is used to divide hard disks into one or more
123 logical disks, which are generally called partitions. This utility 130 logical disks, which are generally called partitions. This utility
@@ -185,6 +192,7 @@ config FEATURE_FDISK_ADVANCED
185config FINDFS 192config FINDFS
186 bool "findfs" 193 bool "findfs"
187 default n 194 default n
195 depends on PLATFORM_POSIX
188 select VOLUMEID 196 select VOLUMEID
189 help 197 help
190 Prints the name of a filesystem with given label or UUID. 198 Prints the name of a filesystem with given label or UUID.
@@ -194,12 +202,14 @@ config FINDFS
194config FLOCK 202config FLOCK
195 bool "flock" 203 bool "flock"
196 default n 204 default n
205 depends on PLATFORM_POSIX
197 help 206 help
198 Manage locks from shell scripts 207 Manage locks from shell scripts
199 208
200config FREERAMDISK 209config FREERAMDISK
201 bool "freeramdisk" 210 bool "freeramdisk"
202 default n 211 default n
212 depends on PLATFORM_POSIX
203 help 213 help
204 Linux allows you to create ramdisks. This utility allows you to 214 Linux allows you to create ramdisks. This utility allows you to
205 delete them and completely free all memory that was used for the 215 delete them and completely free all memory that was used for the
@@ -211,6 +221,7 @@ config FREERAMDISK
211config FSCK_MINIX 221config FSCK_MINIX
212 bool "fsck_minix" 222 bool "fsck_minix"
213 default n 223 default n
224 depends on PLATFORM_POSIX
214 help 225 help
215 The minix filesystem is a nice, small, compact, read-write filesystem 226 The minix filesystem is a nice, small, compact, read-write filesystem
216 with little overhead. It is not a journaling filesystem however and 227 with little overhead. It is not a journaling filesystem however and
@@ -222,12 +233,14 @@ config FSCK_MINIX
222config MKFS_EXT2 233config MKFS_EXT2
223 bool "mkfs_ext2" 234 bool "mkfs_ext2"
224 default n 235 default n
236 depends on PLATFORM_POSIX
225 help 237 help
226 Utility to create EXT2 filesystems. 238 Utility to create EXT2 filesystems.
227 239
228config MKFS_MINIX 240config MKFS_MINIX
229 bool "mkfs_minix" 241 bool "mkfs_minix"
230 default n 242 default n
243 depends on PLATFORM_POSIX
231 help 244 help
232 The minix filesystem is a nice, small, compact, read-write filesystem 245 The minix filesystem is a nice, small, compact, read-write filesystem
233 with little overhead. If you wish to be able to create minix 246 with little overhead. If you wish to be able to create minix
@@ -248,18 +261,21 @@ config FEATURE_MINIX2
248config MKFS_REISER 261config MKFS_REISER
249 bool "mkfs_reiser" 262 bool "mkfs_reiser"
250 default n 263 default n
264 depends on PLATFORM_POSIX
251 help 265 help
252 Utility to create ReiserFS filesystems. 266 Utility to create ReiserFS filesystems.
253 267
254config MKFS_VFAT 268config MKFS_VFAT
255 bool "mkfs_vfat" 269 bool "mkfs_vfat"
256 default n 270 default n
271 depends on PLATFORM_POSIX
257 help 272 help
258 Utility to create FAT32 filesystems. 273 Utility to create FAT32 filesystems.
259 274
260config GETOPT 275config GETOPT
261 bool "getopt" 276 bool "getopt"
262 default n 277 default n
278 depends on PLATFORM_POSIX
263 help 279 help
264 The getopt utility is used to break up (parse) options in command 280 The getopt utility is used to break up (parse) options in command
265 lines to make it easy to write complex shell scripts that also check 281 lines to make it easy to write complex shell scripts that also check
@@ -278,6 +294,7 @@ config FEATURE_GETOPT_LONG
278config HEXDUMP 294config HEXDUMP
279 bool "hexdump" 295 bool "hexdump"
280 default n 296 default n
297 depends on PLATFORM_POSIX
281 help 298 help
282 The hexdump utility is used to display binary data in a readable 299 The hexdump utility is used to display binary data in a readable
283 way that is comparable to the output from most hex editors. 300 way that is comparable to the output from most hex editors.
@@ -295,6 +312,7 @@ config FEATURE_HEXDUMP_REVERSE
295config HD 312config HD
296 bool "hd" 313 bool "hd"
297 default n 314 default n
315 depends on PLATFORM_POSIX
298 select HEXDUMP 316 select HEXDUMP
299 help 317 help
300 hd is an alias to hexdump -C. 318 hd is an alias to hexdump -C.
@@ -302,6 +320,7 @@ config HD
302config HWCLOCK 320config HWCLOCK
303 bool "hwclock" 321 bool "hwclock"
304 default n 322 default n
323 depends on PLATFORM_POSIX
305 help 324 help
306 The hwclock utility is used to read and set the hardware clock 325 The hwclock utility is used to read and set the hardware clock
307 on a system. This is primarily used to set the current time on 326 on a system. This is primarily used to set the current time on
@@ -332,6 +351,7 @@ config FEATURE_HWCLOCK_ADJTIME_FHS
332config IPCRM 351config IPCRM
333 bool "ipcrm" 352 bool "ipcrm"
334 default n 353 default n
354 depends on PLATFORM_POSIX
335 select FEATURE_SUID 355 select FEATURE_SUID
336 help 356 help
337 The ipcrm utility allows the removal of System V interprocess 357 The ipcrm utility allows the removal of System V interprocess
@@ -341,6 +361,7 @@ config IPCRM
341config IPCS 361config IPCS
342 bool "ipcs" 362 bool "ipcs"
343 default n 363 default n
364 depends on PLATFORM_POSIX
344 select FEATURE_SUID 365 select FEATURE_SUID
345 help 366 help
346 The ipcs utility is used to provide information on the currently 367 The ipcs utility is used to provide information on the currently
@@ -349,6 +370,7 @@ config IPCS
349config LOSETUP 370config LOSETUP
350 bool "losetup" 371 bool "losetup"
351 default n 372 default n
373 depends on PLATFORM_POSIX
352 help 374 help
353 losetup is used to associate or detach a loop device with a regular 375 losetup is used to associate or detach a loop device with a regular
354 file or block device, and to query the status of a loop device. This 376 file or block device, and to query the status of a loop device. This
@@ -357,6 +379,7 @@ config LOSETUP
357config LSPCI 379config LSPCI
358 bool "lspci" 380 bool "lspci"
359 default n 381 default n
382 depends on PLATFORM_POSIX
360 help 383 help
361 lspci is a utility for displaying information about PCI buses in the 384 lspci is a utility for displaying information about PCI buses in the
362 system and devices connected to them. 385 system and devices connected to them.
@@ -366,6 +389,7 @@ config LSPCI
366config LSUSB 389config LSUSB
367 bool "lsusb" 390 bool "lsusb"
368 default n 391 default n
392 depends on PLATFORM_POSIX
369 help 393 help
370 lsusb is a utility for displaying information about USB buses in the 394 lsusb is a utility for displaying information about USB buses in the
371 system and devices connected to them. 395 system and devices connected to them.
@@ -375,6 +399,7 @@ config LSUSB
375config MDEV 399config MDEV
376 bool "mdev" 400 bool "mdev"
377 default n 401 default n
402 depends on PLATFORM_POSIX
378 help 403 help
379 mdev is a mini-udev implementation for dynamically creating device 404 mdev is a mini-udev implementation for dynamically creating device
380 nodes in the /dev directory. 405 nodes in the /dev directory.
@@ -432,6 +457,7 @@ config FEATURE_MDEV_LOAD_FIRMWARE
432config MKSWAP 457config MKSWAP
433 bool "mkswap" 458 bool "mkswap"
434 default n 459 default n
460 depends on PLATFORM_POSIX
435 help 461 help
436 The mkswap utility is used to configure a file or disk partition as 462 The mkswap utility is used to configure a file or disk partition as
437 Linux swap space. This allows Linux to use the entire file or 463 Linux swap space. This allows Linux to use the entire file or
@@ -452,6 +478,7 @@ config FEATURE_MKSWAP_UUID
452config MORE 478config MORE
453 bool "more" 479 bool "more"
454 default n 480 default n
481 depends on PLATFORM_POSIX
455 help 482 help
456 more is a simple utility which allows you to read text one screen 483 more is a simple utility which allows you to read text one screen
457 sized page at a time. If you want to read text that is larger than 484 sized page at a time. If you want to read text that is larger than
@@ -688,6 +715,7 @@ config FEATURE_VOLUMEID_LINUXRAID
688config MOUNT 715config MOUNT
689 bool "mount" 716 bool "mount"
690 default n 717 default n
718 depends on PLATFORM_POSIX
691 help 719 help
692 All files and filesystems in Unix are arranged into one big directory 720 All files and filesystems in Unix are arranged into one big directory
693 tree. The 'mount' utility is used to graft a filesystem onto a 721 tree. The 'mount' utility is used to graft a filesystem onto a
@@ -770,6 +798,7 @@ config FEATURE_MOUNT_FSTAB
770config PIVOT_ROOT 798config PIVOT_ROOT
771 bool "pivot_root" 799 bool "pivot_root"
772 default n 800 default n
801 depends on PLATFORM_POSIX
773 help 802 help
774 The pivot_root utility swaps the mount points for the root filesystem 803 The pivot_root utility swaps the mount points for the root filesystem
775 with some other mounted filesystem. This allows you to do all sorts 804 with some other mounted filesystem. This allows you to do all sorts
@@ -782,6 +811,7 @@ config PIVOT_ROOT
782config RDATE 811config RDATE
783 bool "rdate" 812 bool "rdate"
784 default n 813 default n
814 depends on PLATFORM_POSIX
785 help 815 help
786 The rdate utility allows you to synchronize the date and time of your 816 The rdate utility allows you to synchronize the date and time of your
787 system clock with the date and time of a remote networked system using 817 system clock with the date and time of a remote networked system using
@@ -791,30 +821,35 @@ config RDATE
791config RDEV 821config RDEV
792 bool "rdev" 822 bool "rdev"
793 default n 823 default n
824 depends on PLATFORM_POSIX
794 help 825 help
795 Print the device node associated with the filesystem mounted at '/'. 826 Print the device node associated with the filesystem mounted at '/'.
796 827
797config READPROFILE 828config READPROFILE
798 bool "readprofile" 829 bool "readprofile"
799 default n 830 default n
831 depends on PLATFORM_POSIX
800 help 832 help
801 This allows you to parse /proc/profile for basic profiling. 833 This allows you to parse /proc/profile for basic profiling.
802 834
803config RTCWAKE 835config RTCWAKE
804 bool "rtcwake" 836 bool "rtcwake"
805 default n 837 default n
838 depends on PLATFORM_POSIX
806 help 839 help
807 Enter a system sleep state until specified wakeup time. 840 Enter a system sleep state until specified wakeup time.
808 841
809config SCRIPT 842config SCRIPT
810 bool "script" 843 bool "script"
811 default n 844 default n
845 depends on PLATFORM_POSIX
812 help 846 help
813 The script makes typescript of terminal session. 847 The script makes typescript of terminal session.
814 848
815config SCRIPTREPLAY 849config SCRIPTREPLAY
816 bool "scriptreplay" 850 bool "scriptreplay"
817 default n 851 default n
852 depends on PLATFORM_POSIX
818 help 853 help
819 This program replays a typescript, using timing information 854 This program replays a typescript, using timing information
820 given by script -t. 855 given by script -t.
@@ -822,6 +857,7 @@ config SCRIPTREPLAY
822config SETARCH 857config SETARCH
823 bool "setarch" 858 bool "setarch"
824 default n 859 default n
860 depends on PLATFORM_POSIX
825 help 861 help
826 The linux32 utility is used to create a 32bit environment for the 862 The linux32 utility is used to create a 32bit environment for the
827 specified program (usually a shell). It only makes sense to have 863 specified program (usually a shell). It only makes sense to have
@@ -831,6 +867,7 @@ config SETARCH
831config SWAPONOFF 867config SWAPONOFF
832 bool "swaponoff" 868 bool "swaponoff"
833 default n 869 default n
870 depends on PLATFORM_POSIX
834 help 871 help
835 This option enables both the 'swapon' and the 'swapoff' utilities. 872 This option enables both the 'swapon' and the 'swapoff' utilities.
836 Once you have created some swap space using 'mkswap', you also need 873 Once you have created some swap space using 'mkswap', you also need
@@ -849,6 +886,7 @@ config FEATURE_SWAPON_PRI
849config SWITCH_ROOT 886config SWITCH_ROOT
850 bool "switch_root" 887 bool "switch_root"
851 default n 888 default n
889 depends on PLATFORM_POSIX
852 help 890 help
853 The switch_root utility is used from initramfs to select a new 891 The switch_root utility is used from initramfs to select a new
854 root device. Under initramfs, you have to use this instead of 892 root device. Under initramfs, you have to use this instead of
@@ -868,6 +906,7 @@ config SWITCH_ROOT
868config UMOUNT 906config UMOUNT
869 bool "umount" 907 bool "umount"
870 default n 908 default n
909 depends on PLATFORM_POSIX
871 help 910 help
872 When you want to remove a mounted filesystem from its current mount 911 When you want to remove a mounted filesystem from its current mount
873 point, for example when you are shutting down the system, the 912 point, for example when you are shutting down the system, the