diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-07-19 00:44:56 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-19 00:44:56 +0200 |
commit | 1d7266d3b59be361763dab61f680103bbb70f3e9 (patch) | |
tree | 631f533af2f9ceb9ba8d5cfcc978a3c33a0393cc | |
parent | b175462422f02a159a14dc5561d8bef6f84b2b66 (diff) | |
download | busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.tar.gz busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.tar.bz2 busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.zip |
mark Linux-specific configuration options
PLATFORM_LINUX is used as a dependency for applets or features
which require Linux-specific interfaces.
Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | Config.in | 12 | ||||
-rw-r--r-- | console-tools/Config.src | 13 | ||||
-rw-r--r-- | coreutils/Config.src | 2 | ||||
-rw-r--r-- | coreutils/date.c | 2 | ||||
-rw-r--r-- | e2fsprogs/Config.src | 1 | ||||
-rw-r--r-- | init/Config.src | 2 | ||||
-rw-r--r-- | init/bootchartd.c | 1 | ||||
-rw-r--r-- | libbb/Config.src | 1 | ||||
-rw-r--r-- | loginutils/Config.src | 3 | ||||
-rw-r--r-- | miscutils/Config.src | 19 | ||||
-rw-r--r-- | miscutils/conspy.c | 1 | ||||
-rw-r--r-- | miscutils/ubi_attach_detach.c | 2 | ||||
-rw-r--r-- | modutils/Config.src | 1 | ||||
-rw-r--r-- | networking/Config.src | 23 | ||||
-rw-r--r-- | networking/udhcp/Config.src | 2 | ||||
-rw-r--r-- | procps/Config.src | 4 | ||||
-rw-r--r-- | shell/cttyhack.c | 1 | ||||
-rw-r--r-- | sysklogd/Config.src | 1 | ||||
-rw-r--r-- | util-linux/Config.src | 27 |
19 files changed, 114 insertions, 4 deletions
@@ -47,6 +47,17 @@ config USE_PORTABLE_CODE | |||
47 | compiler other than gcc. | 47 | compiler other than gcc. |
48 | If you do use gcc, this option may needlessly increase code size. | 48 | If you do use gcc, this option may needlessly increase code size. |
49 | 49 | ||
50 | config PLATFORM_LINUX | ||
51 | bool "Enable Linux-specific applets and features" | ||
52 | default y | ||
53 | help | ||
54 | For the most part, busybox requires only POSIX compatibility | ||
55 | from the target system, but some applets and features use | ||
56 | Linux-specific interfaces. | ||
57 | |||
58 | Answering 'N' here will disable such applets and hide the | ||
59 | corresponding configuration options. | ||
60 | |||
50 | choice | 61 | choice |
51 | prompt "Buffer allocation policy" | 62 | prompt "Buffer allocation policy" |
52 | default FEATURE_BUFFERS_USE_MALLOC | 63 | default FEATURE_BUFFERS_USE_MALLOC |
@@ -353,6 +364,7 @@ config FEATURE_SUID_CONFIG_QUIET | |||
353 | config SELINUX | 364 | config SELINUX |
354 | bool "Support NSA Security Enhanced Linux" | 365 | bool "Support NSA Security Enhanced Linux" |
355 | default n | 366 | default n |
367 | depends on PLATFORM_LINUX | ||
356 | help | 368 | help |
357 | Enable support for SELinux in applets ls, ps, and id. Also provide | 369 | Enable support for SELinux in applets ls, ps, and id. Also provide |
358 | the option of compiling in SELinux applets. | 370 | the option of compiling in SELinux applets. |
diff --git a/console-tools/Config.src b/console-tools/Config.src index 6e3191ada..cdb26800e 100644 --- a/console-tools/Config.src +++ b/console-tools/Config.src | |||
@@ -10,6 +10,7 @@ INSERT | |||
10 | config CHVT | 10 | config CHVT |
11 | bool "chvt" | 11 | bool "chvt" |
12 | default y | 12 | default y |
13 | depends on PLATFORM_LINUX | ||
13 | help | 14 | help |
14 | This program is used to change to another terminal. | 15 | This program is used to change to another terminal. |
15 | Example: chvt 4 (change to terminal /dev/tty4) | 16 | Example: chvt 4 (change to terminal /dev/tty4) |
@@ -17,6 +18,7 @@ config CHVT | |||
17 | config FGCONSOLE | 18 | config FGCONSOLE |
18 | bool "fgconsole" | 19 | bool "fgconsole" |
19 | default y | 20 | default y |
21 | depends on PLATFORM_LINUX | ||
20 | help | 22 | help |
21 | This program prints active (foreground) console number. | 23 | This program prints active (foreground) console number. |
22 | 24 | ||
@@ -29,12 +31,14 @@ config CLEAR | |||
29 | config DEALLOCVT | 31 | config DEALLOCVT |
30 | bool "deallocvt" | 32 | bool "deallocvt" |
31 | default y | 33 | default y |
34 | depends on PLATFORM_LINUX | ||
32 | help | 35 | help |
33 | This program deallocates unused virtual consoles. | 36 | This program deallocates unused virtual consoles. |
34 | 37 | ||
35 | config DUMPKMAP | 38 | config DUMPKMAP |
36 | bool "dumpkmap" | 39 | bool "dumpkmap" |
37 | default y | 40 | default y |
41 | depends on PLATFORM_LINUX | ||
38 | help | 42 | help |
39 | This program dumps the kernel's keyboard translation table to | 43 | This program dumps the kernel's keyboard translation table to |
40 | stdout, in binary format. You can then use loadkmap to load it. | 44 | stdout, in binary format. You can then use loadkmap to load it. |
@@ -42,18 +46,21 @@ config DUMPKMAP | |||
42 | config KBD_MODE | 46 | config KBD_MODE |
43 | bool "kbd_mode" | 47 | bool "kbd_mode" |
44 | default y | 48 | default y |
49 | depends on PLATFORM_LINUX | ||
45 | help | 50 | help |
46 | This program reports and sets keyboard mode. | 51 | This program reports and sets keyboard mode. |
47 | 52 | ||
48 | config LOADFONT | 53 | config LOADFONT |
49 | bool "loadfont" | 54 | bool "loadfont" |
50 | default y | 55 | default y |
56 | depends on PLATFORM_LINUX | ||
51 | help | 57 | help |
52 | This program loads a console font from standard input. | 58 | This program loads a console font from standard input. |
53 | 59 | ||
54 | config LOADKMAP | 60 | config LOADKMAP |
55 | bool "loadkmap" | 61 | bool "loadkmap" |
56 | default y | 62 | default y |
63 | depends on PLATFORM_LINUX | ||
57 | help | 64 | help |
58 | This program loads a keyboard translation table from | 65 | This program loads a keyboard translation table from |
59 | standard input. | 66 | standard input. |
@@ -61,6 +68,7 @@ config LOADKMAP | |||
61 | config OPENVT | 68 | config OPENVT |
62 | bool "openvt" | 69 | bool "openvt" |
63 | default y | 70 | default y |
71 | depends on PLATFORM_LINUX | ||
64 | help | 72 | help |
65 | This program is used to start a command on an unused | 73 | This program is used to start a command on an unused |
66 | virtual terminal. | 74 | virtual terminal. |
@@ -92,6 +100,7 @@ config FEATURE_RESIZE_PRINT | |||
92 | config SETCONSOLE | 100 | config SETCONSOLE |
93 | bool "setconsole" | 101 | bool "setconsole" |
94 | default y | 102 | default y |
103 | depends on PLATFORM_LINUX | ||
95 | help | 104 | help |
96 | This program redirects the system console to another device, | 105 | This program redirects the system console to another device, |
97 | like the current tty while logged in via telnet. | 106 | like the current tty while logged in via telnet. |
@@ -106,6 +115,7 @@ config FEATURE_SETCONSOLE_LONG_OPTIONS | |||
106 | config SETFONT | 115 | config SETFONT |
107 | bool "setfont" | 116 | bool "setfont" |
108 | default y | 117 | default y |
118 | depends on PLATFORM_LINUX | ||
109 | help | 119 | help |
110 | Allows to load console screen map. Useful for i18n. | 120 | Allows to load console screen map. Useful for i18n. |
111 | 121 | ||
@@ -127,6 +137,7 @@ config DEFAULT_SETFONT_DIR | |||
127 | config SETKEYCODES | 137 | config SETKEYCODES |
128 | bool "setkeycodes" | 138 | bool "setkeycodes" |
129 | default y | 139 | default y |
140 | depends on PLATFORM_LINUX | ||
130 | help | 141 | help |
131 | This program loads entries into the kernel's scancode-to-keycode | 142 | This program loads entries into the kernel's scancode-to-keycode |
132 | map, allowing unusual keyboards to generate usable keycodes. | 143 | map, allowing unusual keyboards to generate usable keycodes. |
@@ -134,12 +145,14 @@ config SETKEYCODES | |||
134 | config SETLOGCONS | 145 | config SETLOGCONS |
135 | bool "setlogcons" | 146 | bool "setlogcons" |
136 | default y | 147 | default y |
148 | depends on PLATFORM_LINUX | ||
137 | help | 149 | help |
138 | This program redirects the output console of kernel messages. | 150 | This program redirects the output console of kernel messages. |
139 | 151 | ||
140 | config SHOWKEY | 152 | config SHOWKEY |
141 | bool "showkey" | 153 | bool "showkey" |
142 | default y | 154 | default y |
155 | depends on PLATFORM_LINUX | ||
143 | help | 156 | help |
144 | Shows keys pressed. | 157 | Shows keys pressed. |
145 | 158 | ||
diff --git a/coreutils/Config.src b/coreutils/Config.src index d4c9e0541..780b73fda 100644 --- a/coreutils/Config.src +++ b/coreutils/Config.src | |||
@@ -591,6 +591,7 @@ config FEATURE_SPLIT_FANCY | |||
591 | config STAT | 591 | config STAT |
592 | bool "stat" | 592 | bool "stat" |
593 | default y | 593 | default y |
594 | depends on PLATFORM_LINUX # statfs() | ||
594 | help | 595 | help |
595 | display file or filesystem status. | 596 | display file or filesystem status. |
596 | 597 | ||
@@ -606,6 +607,7 @@ config FEATURE_STAT_FORMAT | |||
606 | config STTY | 607 | config STTY |
607 | bool "stty" | 608 | bool "stty" |
608 | default y | 609 | default y |
610 | depends on PLATFORM_LINUX | ||
609 | help | 611 | help |
610 | stty is used to change and print terminal line settings. | 612 | stty is used to change and print terminal line settings. |
611 | 613 | ||
diff --git a/coreutils/date.c b/coreutils/date.c index c737f09f3..cb41724af 100644 --- a/coreutils/date.c +++ b/coreutils/date.c | |||
@@ -72,7 +72,7 @@ | |||
72 | //config:config FEATURE_DATE_NANO | 72 | //config:config FEATURE_DATE_NANO |
73 | //config: bool "Support %[num]N nanosecond format specifier" | 73 | //config: bool "Support %[num]N nanosecond format specifier" |
74 | //config: default n | 74 | //config: default n |
75 | //config: depends on DATE | 75 | //config: depends on DATE && PLATFORM_LINUX # syscall(__NR_clock_gettime) |
76 | //config: help | 76 | //config: help |
77 | //config: Support %[num]N format specifier. Adds ~250 bytes of code. | 77 | //config: Support %[num]N format specifier. Adds ~250 bytes of code. |
78 | //config: | 78 | //config: |
diff --git a/e2fsprogs/Config.src b/e2fsprogs/Config.src index 62bc810f8..6043e9b57 100644 --- a/e2fsprogs/Config.src +++ b/e2fsprogs/Config.src | |||
@@ -33,6 +33,7 @@ config FSCK | |||
33 | config LSATTR | 33 | config LSATTR |
34 | bool "lsattr" | 34 | bool "lsattr" |
35 | default y | 35 | default y |
36 | depends on PLATFORM_LINUX | ||
36 | help | 37 | help |
37 | lsattr lists the file attributes on a second extended file system. | 38 | lsattr lists the file attributes on a second extended file system. |
38 | 39 | ||
diff --git a/init/Config.src b/init/Config.src index 590e29890..a5e76be6a 100644 --- a/init/Config.src +++ b/init/Config.src | |||
@@ -10,6 +10,7 @@ INSERT | |||
10 | config INIT | 10 | config INIT |
11 | bool "init" | 11 | bool "init" |
12 | default y | 12 | default y |
13 | depends on PLATFORM_LINUX | ||
13 | select FEATURE_SYSLOG | 14 | select FEATURE_SYSLOG |
14 | help | 15 | help |
15 | init is the first program run when the system boots. | 16 | init is the first program run when the system boots. |
@@ -92,6 +93,7 @@ config FEATURE_INITRD | |||
92 | config HALT | 93 | config HALT |
93 | bool "poweroff, halt, and reboot" | 94 | bool "poweroff, halt, and reboot" |
94 | default y | 95 | default y |
96 | depends on PLATFORM_LINUX | ||
95 | help | 97 | help |
96 | Stop all processes and either halt, reboot, or power off the system. | 98 | Stop all processes and either halt, reboot, or power off the system. |
97 | 99 | ||
diff --git a/init/bootchartd.c b/init/bootchartd.c index dae2fe6e9..a1c01641b 100644 --- a/init/bootchartd.c +++ b/init/bootchartd.c | |||
@@ -6,6 +6,7 @@ | |||
6 | //config:config BOOTCHARTD | 6 | //config:config BOOTCHARTD |
7 | //config: bool "bootchartd" | 7 | //config: bool "bootchartd" |
8 | //config: default y | 8 | //config: default y |
9 | //config: depends on PLATFORM_LINUX | ||
9 | //config: help | 10 | //config: help |
10 | //config: bootchartd is commonly used to profile the boot process | 11 | //config: bootchartd is commonly used to profile the boot process |
11 | //config: for the purpose of speeding it up. In this case, it is started | 12 | //config: for the purpose of speeding it up. In this case, it is started |
diff --git a/libbb/Config.src b/libbb/Config.src index 09bf89246..9b01757c6 100644 --- a/libbb/Config.src +++ b/libbb/Config.src | |||
@@ -153,6 +153,7 @@ config FEATURE_COPYBUF_KB | |||
153 | config MONOTONIC_SYSCALL | 153 | config MONOTONIC_SYSCALL |
154 | bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" | 154 | bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" |
155 | default n | 155 | default n |
156 | depends on PLATFORM_LINUX | ||
156 | help | 157 | help |
157 | Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring | 158 | Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring |
158 | time intervals (time, ping, traceroute etc need this). | 159 | time intervals (time, ping, traceroute etc need this). |
diff --git a/loginutils/Config.src b/loginutils/Config.src index 5d497c4dc..425d041b9 100644 --- a/loginutils/Config.src +++ b/loginutils/Config.src | |||
@@ -179,6 +179,7 @@ config DELUSER | |||
179 | config GETTY | 179 | config GETTY |
180 | bool "getty" | 180 | bool "getty" |
181 | default y | 181 | default y |
182 | depends on PLATFORM_LINUX | ||
182 | select FEATURE_SYSLOG | 183 | select FEATURE_SYSLOG |
183 | help | 184 | help |
184 | getty lets you log in on a tty, it is normally invoked by init. | 185 | getty lets you log in on a tty, it is normally invoked by init. |
@@ -186,6 +187,7 @@ config GETTY | |||
186 | config LOGIN | 187 | config LOGIN |
187 | bool "login" | 188 | bool "login" |
188 | default y | 189 | default y |
190 | depends on PLATFORM_LINUX | ||
189 | select FEATURE_SUID | 191 | select FEATURE_SUID |
190 | select FEATURE_SYSLOG | 192 | select FEATURE_SYSLOG |
191 | help | 193 | help |
@@ -295,6 +297,7 @@ config SULOGIN | |||
295 | config VLOCK | 297 | config VLOCK |
296 | bool "vlock" | 298 | bool "vlock" |
297 | default y | 299 | default y |
300 | depends on PLATFORM_LINUX | ||
298 | select FEATURE_SUID | 301 | select FEATURE_SUID |
299 | help | 302 | help |
300 | Build the "vlock" applet which allows you to lock (virtual) terminals. | 303 | Build the "vlock" applet which allows you to lock (virtual) terminals. |
diff --git a/miscutils/Config.src b/miscutils/Config.src index 2f7c50271..e89e231e6 100644 --- a/miscutils/Config.src +++ b/miscutils/Config.src | |||
@@ -10,6 +10,7 @@ INSERT | |||
10 | config ADJTIMEX | 10 | config ADJTIMEX |
11 | bool "adjtimex" | 11 | bool "adjtimex" |
12 | default y | 12 | default y |
13 | depends on PLATFORM_LINUX | ||
13 | help | 14 | help |
14 | Adjtimex reads and optionally sets adjustment parameters for | 15 | Adjtimex reads and optionally sets adjustment parameters for |
15 | the Linux clock adjustment algorithm. | 16 | the Linux clock adjustment algorithm. |
@@ -24,6 +25,7 @@ config BBCONFIG | |||
24 | config BEEP | 25 | config BEEP |
25 | bool "beep" | 26 | bool "beep" |
26 | default y | 27 | default y |
28 | depends on PLATFORM_LINUX | ||
27 | help | 29 | help |
28 | The beep applets beeps in a given freq/Hz. | 30 | The beep applets beeps in a given freq/Hz. |
29 | 31 | ||
@@ -180,6 +182,7 @@ config FEATURE_DC_LIBM | |||
180 | config DEVFSD | 182 | config DEVFSD |
181 | bool "devfsd (obsolete)" | 183 | bool "devfsd (obsolete)" |
182 | default n | 184 | default n |
185 | depends on PLATFORM_LINUX | ||
183 | select FEATURE_SYSLOG | 186 | select FEATURE_SYSLOG |
184 | help | 187 | help |
185 | This is deprecated and should NOT be used anymore. | 188 | This is deprecated and should NOT be used anymore. |
@@ -223,6 +226,7 @@ config DEVFSD_VERBOSE | |||
223 | config FEATURE_DEVFS | 226 | config FEATURE_DEVFS |
224 | bool "Use devfs names for all devices (obsolete)" | 227 | bool "Use devfs names for all devices (obsolete)" |
225 | default n | 228 | default n |
229 | depends on PLATFORM_LINUX | ||
226 | help | 230 | help |
227 | This is obsolete and should NOT be used anymore. | 231 | This is obsolete and should NOT be used anymore. |
228 | Use linux >= 2.6 (optionally with hotplug) and mdev instead! | 232 | Use linux >= 2.6 (optionally with hotplug) and mdev instead! |
@@ -242,6 +246,7 @@ config DEVMEM | |||
242 | config EJECT | 246 | config EJECT |
243 | bool "eject" | 247 | bool "eject" |
244 | default y | 248 | default y |
249 | depends on PLATFORM_LINUX | ||
245 | help | 250 | help |
246 | Used to eject cdroms. (defaults to /dev/cdrom) | 251 | Used to eject cdroms. (defaults to /dev/cdrom) |
247 | 252 | ||
@@ -256,6 +261,7 @@ config FEATURE_EJECT_SCSI | |||
256 | config FBSPLASH | 261 | config FBSPLASH |
257 | bool "fbsplash" | 262 | bool "fbsplash" |
258 | default y | 263 | default y |
264 | depends on PLATFORM_LINUX | ||
259 | help | 265 | help |
260 | Shows splash image and progress bar on framebuffer device. | 266 | Shows splash image and progress bar on framebuffer device. |
261 | Can be used during boot phase of an embedded device. ~2kb. | 267 | Can be used during boot phase of an embedded device. ~2kb. |
@@ -305,6 +311,7 @@ config FLASH_ERASEALL | |||
305 | config IONICE | 311 | config IONICE |
306 | bool "ionice" | 312 | bool "ionice" |
307 | default y | 313 | default y |
314 | depends on PLATFORM_LINUX | ||
308 | help | 315 | help |
309 | Set/set program io scheduling class and priority | 316 | Set/set program io scheduling class and priority |
310 | Requires kernel >= 2.6.13 | 317 | Requires kernel >= 2.6.13 |
@@ -344,6 +351,11 @@ endchoice | |||
344 | config LESS | 351 | config LESS |
345 | bool "less" | 352 | bool "less" |
346 | default y | 353 | default y |
354 | depends on PLATFORM_LINUX | ||
355 | depends on PLATFORM_LINUX | ||
356 | depends on PLATFORM_LINUX | ||
357 | depends on PLATFORM_LINUX | ||
358 | depends on PLATFORM_LINUX | ||
347 | help | 359 | help |
348 | 'less' is a pager, meaning that it displays text files. It possesses | 360 | 'less' is a pager, meaning that it displays text files. It possesses |
349 | a wide array of features, and is an improvement over 'more'. | 361 | a wide array of features, and is an improvement over 'more'. |
@@ -410,6 +422,7 @@ config FEATURE_LESS_LINENUMS | |||
410 | config HDPARM | 422 | config HDPARM |
411 | bool "hdparm" | 423 | bool "hdparm" |
412 | default y | 424 | default y |
425 | depends on PLATFORM_LINUX | ||
413 | help | 426 | help |
414 | Get/Set hard drive parameters. Primarily intended for ATA | 427 | Get/Set hard drive parameters. Primarily intended for ATA |
415 | drives. Adds about 13k (or around 30k if you enable the | 428 | drives. Adds about 13k (or around 30k if you enable the |
@@ -526,6 +539,7 @@ config MT | |||
526 | config RAIDAUTORUN | 539 | config RAIDAUTORUN |
527 | bool "raidautorun" | 540 | bool "raidautorun" |
528 | default y | 541 | default y |
542 | depends on PLATFORM_LINUX | ||
529 | help | 543 | help |
530 | raidautorun tells the kernel md driver to | 544 | raidautorun tells the kernel md driver to |
531 | search and start RAID arrays. | 545 | search and start RAID arrays. |
@@ -533,7 +547,7 @@ config RAIDAUTORUN | |||
533 | config READAHEAD | 547 | config READAHEAD |
534 | bool "readahead" | 548 | bool "readahead" |
535 | default y | 549 | default y |
536 | depends on LFS | 550 | depends on LFS && PLATFORM_LINUX |
537 | help | 551 | help |
538 | Preload the files listed on the command line into RAM cache so that | 552 | Preload the files listed on the command line into RAM cache so that |
539 | subsequent reads on these files will not block on disk I/O. | 553 | subsequent reads on these files will not block on disk I/O. |
@@ -550,6 +564,7 @@ config READAHEAD | |||
550 | config RFKILL | 564 | config RFKILL |
551 | bool "rfkill" | 565 | bool "rfkill" |
552 | default n # doesn't build on Ubuntu 9.04 | 566 | default n # doesn't build on Ubuntu 9.04 |
567 | depends on PLATFORM_LINUX | ||
553 | help | 568 | help |
554 | Enable/disable wireless devices. | 569 | Enable/disable wireless devices. |
555 | 570 | ||
@@ -570,6 +585,7 @@ config RUNLEVEL | |||
570 | config RX | 585 | config RX |
571 | bool "rx" | 586 | bool "rx" |
572 | default y | 587 | default y |
588 | depends on PLATFORM_LINUX | ||
573 | help | 589 | help |
574 | Receive files using the Xmodem protocol. | 590 | Receive files using the Xmodem protocol. |
575 | 591 | ||
@@ -641,6 +657,7 @@ config WALL | |||
641 | config WATCHDOG | 657 | config WATCHDOG |
642 | bool "watchdog" | 658 | bool "watchdog" |
643 | default y | 659 | default y |
660 | depends on PLATFORM_LINUX | ||
644 | help | 661 | help |
645 | The watchdog utility is used with hardware or software watchdog | 662 | The watchdog utility is used with hardware or software watchdog |
646 | device drivers. It opens the specified watchdog device special file | 663 | device drivers. It opens the specified watchdog device special file |
diff --git a/miscutils/conspy.c b/miscutils/conspy.c index 509a0f271..a173d8efd 100644 --- a/miscutils/conspy.c +++ b/miscutils/conspy.c | |||
@@ -17,6 +17,7 @@ | |||
17 | //config:config CONSPY | 17 | //config:config CONSPY |
18 | //config: bool "conspy" | 18 | //config: bool "conspy" |
19 | //config: default n | 19 | //config: default n |
20 | //config: depends on PLATFORM_LINUX | ||
20 | //config: help | 21 | //config: help |
21 | //config: A text-mode VNC like program for Linux virtual terminals. | 22 | //config: A text-mode VNC like program for Linux virtual terminals. |
22 | //config: example: conspy NUM shared access to console num | 23 | //config: example: conspy NUM shared access to console num |
diff --git a/miscutils/ubi_attach_detach.c b/miscutils/ubi_attach_detach.c index 7b92a8afc..0d63a10d5 100644 --- a/miscutils/ubi_attach_detach.c +++ b/miscutils/ubi_attach_detach.c | |||
@@ -12,12 +12,14 @@ | |||
12 | //config:config UBIATTACH | 12 | //config:config UBIATTACH |
13 | //config: bool "ubiattach" | 13 | //config: bool "ubiattach" |
14 | //config: default n | 14 | //config: default n |
15 | //config: depends on PLATFORM_LINUX | ||
15 | //config: help | 16 | //config: help |
16 | //config: Attach MTD device to an UBI device. | 17 | //config: Attach MTD device to an UBI device. |
17 | //config: | 18 | //config: |
18 | //config:config UBIDETACH | 19 | //config:config UBIDETACH |
19 | //config: bool "ubidetach" | 20 | //config: bool "ubidetach" |
20 | //config: default n | 21 | //config: default n |
22 | //config: depends on PLATFORM_LINUX | ||
21 | //config: help | 23 | //config: help |
22 | //config: Detach MTD device from an UBI device. | 24 | //config: Detach MTD device from an UBI device. |
23 | 25 | ||
diff --git a/modutils/Config.src b/modutils/Config.src index a7dcb3ab3..4191d29f2 100644 --- a/modutils/Config.src +++ b/modutils/Config.src | |||
@@ -4,6 +4,7 @@ | |||
4 | # | 4 | # |
5 | 5 | ||
6 | menu "Linux Module Utilities" | 6 | menu "Linux Module Utilities" |
7 | depends on PLATFORM_LINUX | ||
7 | 8 | ||
8 | INSERT | 9 | INSERT |
9 | 10 | ||
diff --git a/networking/Config.src b/networking/Config.src index 449436247..26c59e7c1 100644 --- a/networking/Config.src +++ b/networking/Config.src | |||
@@ -43,6 +43,7 @@ config FEATURE_PREFER_IPV4_ADDRESS | |||
43 | config VERBOSE_RESOLUTION_ERRORS | 43 | config VERBOSE_RESOLUTION_ERRORS |
44 | bool "Verbose resolution errors" | 44 | bool "Verbose resolution errors" |
45 | default n | 45 | default n |
46 | depends on PLATFORM_LINUX #because of xsocket() in libbb/xfuncs_prinf.c | ||
46 | help | 47 | help |
47 | Enable if you are not satisfied with simplistic | 48 | Enable if you are not satisfied with simplistic |
48 | "can't resolve 'hostname.com'" and want to know more. | 49 | "can't resolve 'hostname.com'" and want to know more. |
@@ -51,18 +52,21 @@ config VERBOSE_RESOLUTION_ERRORS | |||
51 | config ARP | 52 | config ARP |
52 | bool "arp" | 53 | bool "arp" |
53 | default y | 54 | default y |
55 | depends on PLATFORM_LINUX | ||
54 | help | 56 | help |
55 | Manipulate the system ARP cache. | 57 | Manipulate the system ARP cache. |
56 | 58 | ||
57 | config ARPING | 59 | config ARPING |
58 | bool "arping" | 60 | bool "arping" |
59 | default y | 61 | default y |
62 | depends on PLATFORM_LINUX | ||
60 | help | 63 | help |
61 | Ping hosts by ARP packets. | 64 | Ping hosts by ARP packets. |
62 | 65 | ||
63 | config BRCTL | 66 | config BRCTL |
64 | bool "brctl" | 67 | bool "brctl" |
65 | default y | 68 | default y |
69 | depends on PLATFORM_LINUX | ||
66 | help | 70 | help |
67 | Manage ethernet bridges. | 71 | Manage ethernet bridges. |
68 | Supports addbr/delbr and addif/delif. | 72 | Supports addbr/delbr and addif/delif. |
@@ -95,6 +99,7 @@ config DNSD | |||
95 | config ETHER_WAKE | 99 | config ETHER_WAKE |
96 | bool "ether-wake" | 100 | bool "ether-wake" |
97 | default y | 101 | default y |
102 | depends on PLATFORM_LINUX | ||
98 | help | 103 | help |
99 | Send a magic packet to wake up sleeping machines. | 104 | Send a magic packet to wake up sleeping machines. |
100 | 105 | ||
@@ -269,6 +274,7 @@ config FEATURE_HTTPD_PROXY | |||
269 | config IFCONFIG | 274 | config IFCONFIG |
270 | bool "ifconfig" | 275 | bool "ifconfig" |
271 | default y | 276 | default y |
277 | depends on PLATFORM_LINUX | ||
272 | help | 278 | help |
273 | Ifconfig is used to configure the kernel-resident network interfaces. | 279 | Ifconfig is used to configure the kernel-resident network interfaces. |
274 | 280 | ||
@@ -316,6 +322,7 @@ config FEATURE_IFCONFIG_BROADCAST_PLUS | |||
316 | config IFENSLAVE | 322 | config IFENSLAVE |
317 | bool "ifenslave" | 323 | bool "ifenslave" |
318 | default y | 324 | default y |
325 | depends on PLATFORM_LINUX | ||
319 | help | 326 | help |
320 | Userspace application to bind several interfaces | 327 | Userspace application to bind several interfaces |
321 | to a logical interface (use with kernel bonding driver). | 328 | to a logical interface (use with kernel bonding driver). |
@@ -323,6 +330,7 @@ config IFENSLAVE | |||
323 | config IFPLUGD | 330 | config IFPLUGD |
324 | bool "ifplugd" | 331 | bool "ifplugd" |
325 | default y | 332 | default y |
333 | depends on PLATFORM_LINUX | ||
326 | help | 334 | help |
327 | Network interface plug detection daemon. | 335 | Network interface plug detection daemon. |
328 | 336 | ||
@@ -364,7 +372,7 @@ config FEATURE_IFUPDOWN_IP | |||
364 | config FEATURE_IFUPDOWN_IP_BUILTIN | 372 | config FEATURE_IFUPDOWN_IP_BUILTIN |
365 | bool "Use busybox ip applet" | 373 | bool "Use busybox ip applet" |
366 | default y | 374 | default y |
367 | depends on FEATURE_IFUPDOWN_IP | 375 | depends on FEATURE_IFUPDOWN_IP && PLATFORM_LINUX |
368 | select IP | 376 | select IP |
369 | select FEATURE_IP_ADDRESS | 377 | select FEATURE_IP_ADDRESS |
370 | select FEATURE_IP_LINK | 378 | select FEATURE_IP_LINK |
@@ -483,6 +491,7 @@ config FEATURE_INETD_RPC | |||
483 | config IP | 491 | config IP |
484 | bool "ip" | 492 | bool "ip" |
485 | default y | 493 | default y |
494 | depends on PLATFORM_LINUX | ||
486 | help | 495 | help |
487 | The "ip" applet is a TCP/IP interface configuration and routing | 496 | The "ip" applet is a TCP/IP interface configuration and routing |
488 | utility. You generally don't need "ip" to use busybox with | 497 | utility. You generally don't need "ip" to use busybox with |
@@ -598,6 +607,7 @@ config FEATURE_IPCALC_LONG_OPTIONS | |||
598 | config NAMEIF | 607 | config NAMEIF |
599 | bool "nameif" | 608 | bool "nameif" |
600 | default y | 609 | default y |
610 | depends on PLATFORM_LINUX | ||
601 | select FEATURE_SYSLOG | 611 | select FEATURE_SYSLOG |
602 | help | 612 | help |
603 | nameif is used to rename network interface by its MAC address. | 613 | nameif is used to rename network interface by its MAC address. |
@@ -626,6 +636,7 @@ config FEATURE_NAMEIF_EXTENDED | |||
626 | config NETSTAT | 636 | config NETSTAT |
627 | bool "netstat" | 637 | bool "netstat" |
628 | default y | 638 | default y |
639 | depends on PLATFORM_LINUX | ||
629 | help | 640 | help |
630 | netstat prints information about the Linux networking subsystem. | 641 | netstat prints information about the Linux networking subsystem. |
631 | 642 | ||
@@ -654,6 +665,7 @@ config NSLOOKUP | |||
654 | config NTPD | 665 | config NTPD |
655 | bool "ntpd" | 666 | bool "ntpd" |
656 | default y | 667 | default y |
668 | depends on PLATFORM_LINUX | ||
657 | help | 669 | help |
658 | The NTP client/server daemon. | 670 | The NTP client/server daemon. |
659 | 671 | ||
@@ -668,6 +680,7 @@ config FEATURE_NTPD_SERVER | |||
668 | config PING | 680 | config PING |
669 | bool "ping" | 681 | bool "ping" |
670 | default y | 682 | default y |
683 | depends on PLATFORM_LINUX | ||
671 | help | 684 | help |
672 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to | 685 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to |
673 | elicit an ICMP ECHO_RESPONSE from a host or gateway. | 686 | elicit an ICMP ECHO_RESPONSE from a host or gateway. |
@@ -696,12 +709,14 @@ config PSCAN | |||
696 | config ROUTE | 709 | config ROUTE |
697 | bool "route" | 710 | bool "route" |
698 | default y | 711 | default y |
712 | depends on PLATFORM_LINUX | ||
699 | help | 713 | help |
700 | Route displays or manipulates the kernel's IP routing tables. | 714 | Route displays or manipulates the kernel's IP routing tables. |
701 | 715 | ||
702 | config SLATTACH | 716 | config SLATTACH |
703 | bool "slattach" | 717 | bool "slattach" |
704 | default y | 718 | default y |
719 | depends on PLATFORM_LINUX | ||
705 | help | 720 | help |
706 | slattach is a small utility to attach network interfaces to serial | 721 | slattach is a small utility to attach network interfaces to serial |
707 | lines. | 722 | lines. |
@@ -719,6 +734,7 @@ config SLATTACH | |||
719 | config TCPSVD | 734 | config TCPSVD |
720 | bool "tcpsvd" | 735 | bool "tcpsvd" |
721 | default y | 736 | default y |
737 | depends on PLATFORM_LINUX | ||
722 | help | 738 | help |
723 | tcpsvd listens on a TCP port and runs a program for each new | 739 | tcpsvd listens on a TCP port and runs a program for each new |
724 | connection. | 740 | connection. |
@@ -888,6 +904,7 @@ config TFTP_DEBUG | |||
888 | config TRACEROUTE | 904 | config TRACEROUTE |
889 | bool "traceroute" | 905 | bool "traceroute" |
890 | default y | 906 | default y |
907 | depends on PLATFORM_LINUX | ||
891 | help | 908 | help |
892 | Utility to trace the route of IP packets. | 909 | Utility to trace the route of IP packets. |
893 | 910 | ||
@@ -924,6 +941,7 @@ config FEATURE_TRACEROUTE_USE_ICMP | |||
924 | config TUNCTL | 941 | config TUNCTL |
925 | bool "tunctl" | 942 | bool "tunctl" |
926 | default y | 943 | default y |
944 | depends on PLATFORM_LINUX | ||
927 | help | 945 | help |
928 | tunctl creates or deletes tun devices. | 946 | tunctl creates or deletes tun devices. |
929 | 947 | ||
@@ -949,6 +967,7 @@ config IFUPDOWN_UDHCPC_CMD_OPTIONS | |||
949 | config UDPSVD | 967 | config UDPSVD |
950 | bool "udpsvd" | 968 | bool "udpsvd" |
951 | default y | 969 | default y |
970 | depends on PLATFORM_LINUX | ||
952 | help | 971 | help |
953 | udpsvd listens on an UDP port and runs a program for each new | 972 | udpsvd listens on an UDP port and runs a program for each new |
954 | connection. | 973 | connection. |
@@ -956,6 +975,7 @@ config UDPSVD | |||
956 | config VCONFIG | 975 | config VCONFIG |
957 | bool "vconfig" | 976 | bool "vconfig" |
958 | default y | 977 | default y |
978 | depends on PLATFORM_LINUX | ||
959 | help | 979 | help |
960 | Creates, removes, and configures VLAN interfaces | 980 | Creates, removes, and configures VLAN interfaces |
961 | 981 | ||
@@ -990,6 +1010,7 @@ config FEATURE_WGET_LONG_OPTIONS | |||
990 | config ZCIP | 1010 | config ZCIP |
991 | bool "zcip" | 1011 | bool "zcip" |
992 | default y | 1012 | default y |
1013 | depends on PLATFORM_LINUX | ||
993 | select FEATURE_SYSLOG | 1014 | select FEATURE_SYSLOG |
994 | help | 1015 | help |
995 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. | 1016 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. |
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src index aac88569b..331dffc2e 100644 --- a/networking/udhcp/Config.src +++ b/networking/udhcp/Config.src | |||
@@ -8,6 +8,7 @@ INSERT | |||
8 | config UDHCPD | 8 | config UDHCPD |
9 | bool "udhcp server (udhcpd)" | 9 | bool "udhcp server (udhcpd)" |
10 | default y | 10 | default y |
11 | depends on PLATFORM_LINUX | ||
11 | help | 12 | help |
12 | udhcpd is a DHCP server geared primarily toward embedded systems, | 13 | udhcpd is a DHCP server geared primarily toward embedded systems, |
13 | while striving to be fully functional and RFC compliant. | 14 | while striving to be fully functional and RFC compliant. |
@@ -51,6 +52,7 @@ config DHCPD_LEASES_FILE | |||
51 | config UDHCPC | 52 | config UDHCPC |
52 | bool "udhcp client (udhcpc)" | 53 | bool "udhcp client (udhcpc)" |
53 | default y | 54 | default y |
55 | depends on PLATFORM_LINUX | ||
54 | help | 56 | help |
55 | udhcpc is a DHCP client geared primarily toward embedded systems, | 57 | udhcpc is a DHCP client geared primarily toward embedded systems, |
56 | while striving to be fully functional and RFC compliant. | 58 | while striving to be fully functional and RFC compliant. |
diff --git a/procps/Config.src b/procps/Config.src index e61de5614..1ff6dfd30 100644 --- a/procps/Config.src +++ b/procps/Config.src | |||
@@ -10,6 +10,7 @@ INSERT | |||
10 | config FREE | 10 | config FREE |
11 | bool "free" | 11 | bool "free" |
12 | default y | 12 | default y |
13 | depends on PLATFORM_LINUX #sysinfo() | ||
13 | help | 14 | help |
14 | free displays the total amount of free and used physical and swap | 15 | free displays the total amount of free and used physical and swap |
15 | memory in the system, as well as the buffers used by the kernel. | 16 | memory in the system, as well as the buffers used by the kernel. |
@@ -104,7 +105,7 @@ config FEATURE_PS_WIDE | |||
104 | config FEATURE_PS_TIME | 105 | config FEATURE_PS_TIME |
105 | bool "Enable time and elapsed time output" | 106 | bool "Enable time and elapsed time output" |
106 | default y | 107 | default y |
107 | depends on PS && DESKTOP | 108 | depends on PS && DESKTOP && PLATFORM_LINUX #sysinfo() |
108 | help | 109 | help |
109 | Support -o time and -o etime output specifiers. | 110 | Support -o time and -o etime output specifiers. |
110 | 111 | ||
@@ -200,6 +201,7 @@ config FEATURE_SHOW_THREADS | |||
200 | config UPTIME | 201 | config UPTIME |
201 | bool "uptime" | 202 | bool "uptime" |
202 | default y | 203 | default y |
204 | depends on PLATFORM_LINUX #sysinfo() | ||
203 | help | 205 | help |
204 | uptime gives a one line display of the current time, how long | 206 | uptime gives a one line display of the current time, how long |
205 | the system has been running, how many users are currently logged | 207 | the system has been running, how many users are currently logged |
diff --git a/shell/cttyhack.c b/shell/cttyhack.c index 7af13fdfd..a80d49dc3 100644 --- a/shell/cttyhack.c +++ b/shell/cttyhack.c | |||
@@ -13,6 +13,7 @@ | |||
13 | //config:config CTTYHACK | 13 | //config:config CTTYHACK |
14 | //config: bool "cttyhack" | 14 | //config: bool "cttyhack" |
15 | //config: default y | 15 | //config: default y |
16 | //config: depends on PLATFORM_LINUX | ||
16 | //config: help | 17 | //config: help |
17 | //config: One common problem reported on the mailing list is "can't access tty; | 18 | //config: One common problem reported on the mailing list is "can't access tty; |
18 | //config: job control turned off" error message which typically appears when | 19 | //config: job control turned off" error message which typically appears when |
diff --git a/sysklogd/Config.src b/sysklogd/Config.src index 6d574abb1..bfe2d1cc3 100644 --- a/sysklogd/Config.src +++ b/sysklogd/Config.src | |||
@@ -109,6 +109,7 @@ config FEATURE_LOGREAD_REDUCED_LOCKING | |||
109 | config KLOGD | 109 | config KLOGD |
110 | bool "klogd" | 110 | bool "klogd" |
111 | default y | 111 | default y |
112 | depends on PLATFORM_LINUX | ||
112 | help | 113 | help |
113 | klogd is a utility which intercepts and logs all | 114 | klogd is a utility which intercepts and logs all |
114 | messages from the Linux kernel and sends the messages | 115 | messages from the Linux kernel and sends the messages |
diff --git a/util-linux/Config.src b/util-linux/Config.src index 91d1fc2ce..98953c17b 100644 --- a/util-linux/Config.src +++ b/util-linux/Config.src | |||
@@ -10,6 +10,7 @@ INSERT | |||
10 | config ACPID | 10 | config ACPID |
11 | bool "acpid" | 11 | bool "acpid" |
12 | default y | 12 | default y |
13 | depends on PLATFORM_LINUX | ||
13 | help | 14 | help |
14 | acpid listens to ACPI events coming either in textual form from | 15 | acpid listens to ACPI events coming either in textual form from |
15 | /proc/acpi/event (though it is marked deprecated it is still widely | 16 | /proc/acpi/event (though it is marked deprecated it is still widely |
@@ -32,6 +33,7 @@ config FEATURE_ACPID_COMPAT | |||
32 | config BLKID | 33 | config BLKID |
33 | bool "blkid" | 34 | bool "blkid" |
34 | default y | 35 | default y |
36 | depends on PLATFORM_LINUX | ||
35 | select VOLUMEID | 37 | select VOLUMEID |
36 | help | 38 | help |
37 | Lists labels and UUIDs of all filesystems. | 39 | Lists labels and UUIDs of all filesystems. |
@@ -41,6 +43,7 @@ config BLKID | |||
41 | config DMESG | 43 | config DMESG |
42 | bool "dmesg" | 44 | bool "dmesg" |
43 | default y | 45 | default y |
46 | depends on PLATFORM_LINUX | ||
44 | help | 47 | help |
45 | dmesg is used to examine or control the kernel ring buffer. When the | 48 | dmesg is used to examine or control the kernel ring buffer. When the |
46 | Linux kernel prints messages to the system log, they are stored in | 49 | Linux kernel prints messages to the system log, they are stored in |
@@ -74,6 +77,7 @@ config FEATURE_DMESG_PRETTY | |||
74 | config FBSET | 77 | config FBSET |
75 | bool "fbset" | 78 | bool "fbset" |
76 | default y | 79 | default y |
80 | depends on PLATFORM_LINUX | ||
77 | help | 81 | help |
78 | fbset is used to show or change the settings of a Linux frame buffer | 82 | fbset is used to show or change the settings of a Linux frame buffer |
79 | device. The frame buffer device provides a simple and unique | 83 | device. The frame buffer device provides a simple and unique |
@@ -102,6 +106,7 @@ config FEATURE_FBSET_READMODE | |||
102 | config FDFLUSH | 106 | config FDFLUSH |
103 | bool "fdflush" | 107 | bool "fdflush" |
104 | default y | 108 | default y |
109 | depends on PLATFORM_LINUX | ||
105 | help | 110 | help |
106 | fdflush is only needed when changing media on slightly-broken | 111 | fdflush is only needed when changing media on slightly-broken |
107 | removable media drives. It is used to make Linux believe that a | 112 | removable media drives. It is used to make Linux believe that a |
@@ -114,12 +119,14 @@ config FDFLUSH | |||
114 | config FDFORMAT | 119 | config FDFORMAT |
115 | bool "fdformat" | 120 | bool "fdformat" |
116 | default y | 121 | default y |
122 | depends on PLATFORM_LINUX | ||
117 | help | 123 | help |
118 | fdformat is used to low-level format a floppy disk. | 124 | fdformat is used to low-level format a floppy disk. |
119 | 125 | ||
120 | config FDISK | 126 | config FDISK |
121 | bool "fdisk" | 127 | bool "fdisk" |
122 | default y | 128 | default y |
129 | depends on PLATFORM_LINUX | ||
123 | help | 130 | help |
124 | The fdisk utility is used to divide hard disks into one or more | 131 | The fdisk utility is used to divide hard disks into one or more |
125 | logical disks, which are generally called partitions. This utility | 132 | logical disks, which are generally called partitions. This utility |
@@ -187,6 +194,7 @@ config FEATURE_FDISK_ADVANCED | |||
187 | config FINDFS | 194 | config FINDFS |
188 | bool "findfs" | 195 | bool "findfs" |
189 | default y | 196 | default y |
197 | depends on PLATFORM_LINUX | ||
190 | select VOLUMEID | 198 | select VOLUMEID |
191 | help | 199 | help |
192 | Prints the name of a filesystem with given label or UUID. | 200 | Prints the name of a filesystem with given label or UUID. |
@@ -202,6 +210,7 @@ config FLOCK | |||
202 | config FREERAMDISK | 210 | config FREERAMDISK |
203 | bool "freeramdisk" | 211 | bool "freeramdisk" |
204 | default y | 212 | default y |
213 | depends on PLATFORM_LINUX | ||
205 | help | 214 | help |
206 | Linux allows you to create ramdisks. This utility allows you to | 215 | Linux allows you to create ramdisks. This utility allows you to |
207 | delete them and completely free all memory that was used for the | 216 | delete them and completely free all memory that was used for the |
@@ -224,12 +233,14 @@ config FSCK_MINIX | |||
224 | config MKFS_EXT2 | 233 | config MKFS_EXT2 |
225 | bool "mkfs_ext2" | 234 | bool "mkfs_ext2" |
226 | default y | 235 | default y |
236 | depends on PLATFORM_LINUX | ||
227 | help | 237 | help |
228 | Utility to create EXT2 filesystems. | 238 | Utility to create EXT2 filesystems. |
229 | 239 | ||
230 | config MKFS_MINIX | 240 | config MKFS_MINIX |
231 | bool "mkfs_minix" | 241 | bool "mkfs_minix" |
232 | default y | 242 | default y |
243 | depends on PLATFORM_LINUX | ||
233 | help | 244 | help |
234 | The minix filesystem is a nice, small, compact, read-write filesystem | 245 | The minix filesystem is a nice, small, compact, read-write filesystem |
235 | 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 |
@@ -247,6 +258,7 @@ config FEATURE_MINIX2 | |||
247 | config MKFS_REISER | 258 | config MKFS_REISER |
248 | bool "mkfs_reiser" | 259 | bool "mkfs_reiser" |
249 | default n | 260 | default n |
261 | depends on PLATFORM_LINUX | ||
250 | help | 262 | help |
251 | Utility to create ReiserFS filesystems. | 263 | Utility to create ReiserFS filesystems. |
252 | Note: this applet needs a lot of testing and polishing. | 264 | Note: this applet needs a lot of testing and polishing. |
@@ -254,6 +266,7 @@ config MKFS_REISER | |||
254 | config MKFS_VFAT | 266 | config MKFS_VFAT |
255 | bool "mkfs_vfat" | 267 | bool "mkfs_vfat" |
256 | default y | 268 | default y |
269 | depends on PLATFORM_LINUX | ||
257 | help | 270 | help |
258 | Utility to create FAT32 filesystems. | 271 | Utility to create FAT32 filesystems. |
259 | 272 | ||
@@ -302,6 +315,7 @@ config HD | |||
302 | config HWCLOCK | 315 | config HWCLOCK |
303 | bool "hwclock" | 316 | bool "hwclock" |
304 | default y | 317 | default y |
318 | depends on PLATFORM_LINUX | ||
305 | help | 319 | help |
306 | The hwclock utility is used to read and set the hardware clock | 320 | 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 | 321 | on a system. This is primarily used to set the current time on |
@@ -341,6 +355,7 @@ config IPCRM | |||
341 | config IPCS | 355 | config IPCS |
342 | bool "ipcs" | 356 | bool "ipcs" |
343 | default y | 357 | default y |
358 | depends on PLATFORM_LINUX | ||
344 | select FEATURE_SUID | 359 | select FEATURE_SUID |
345 | help | 360 | help |
346 | The ipcs utility is used to provide information on the currently | 361 | The ipcs utility is used to provide information on the currently |
@@ -349,6 +364,7 @@ config IPCS | |||
349 | config LOSETUP | 364 | config LOSETUP |
350 | bool "losetup" | 365 | bool "losetup" |
351 | default y | 366 | default y |
367 | depends on PLATFORM_LINUX | ||
352 | help | 368 | help |
353 | losetup is used to associate or detach a loop device with a regular | 369 | 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 | 370 | file or block device, and to query the status of a loop device. This |
@@ -357,6 +373,7 @@ config LOSETUP | |||
357 | config LSPCI | 373 | config LSPCI |
358 | bool "lspci" | 374 | bool "lspci" |
359 | default y | 375 | default y |
376 | #depends on PLATFORM_LINUX | ||
360 | help | 377 | help |
361 | lspci is a utility for displaying information about PCI buses in the | 378 | lspci is a utility for displaying information about PCI buses in the |
362 | system and devices connected to them. | 379 | system and devices connected to them. |
@@ -366,6 +383,7 @@ config LSPCI | |||
366 | config LSUSB | 383 | config LSUSB |
367 | bool "lsusb" | 384 | bool "lsusb" |
368 | default y | 385 | default y |
386 | #depends on PLATFORM_LINUX | ||
369 | help | 387 | help |
370 | lsusb is a utility for displaying information about USB buses in the | 388 | lsusb is a utility for displaying information about USB buses in the |
371 | system and devices connected to them. | 389 | system and devices connected to them. |
@@ -375,6 +393,7 @@ config LSUSB | |||
375 | config MDEV | 393 | config MDEV |
376 | bool "mdev" | 394 | bool "mdev" |
377 | default y | 395 | default y |
396 | depends on PLATFORM_LINUX | ||
378 | help | 397 | help |
379 | mdev is a mini-udev implementation for dynamically creating device | 398 | mdev is a mini-udev implementation for dynamically creating device |
380 | nodes in the /dev directory. | 399 | nodes in the /dev directory. |
@@ -473,6 +492,7 @@ config FEATURE_USE_TERMIOS | |||
473 | config MOUNT | 492 | config MOUNT |
474 | bool "mount" | 493 | bool "mount" |
475 | default y | 494 | default y |
495 | depends on PLATFORM_LINUX | ||
476 | help | 496 | help |
477 | All files and filesystems in Unix are arranged into one big directory | 497 | All files and filesystems in Unix are arranged into one big directory |
478 | tree. The 'mount' utility is used to graft a filesystem onto a | 498 | tree. The 'mount' utility is used to graft a filesystem onto a |
@@ -555,6 +575,7 @@ config FEATURE_MOUNT_FSTAB | |||
555 | config PIVOT_ROOT | 575 | config PIVOT_ROOT |
556 | bool "pivot_root" | 576 | bool "pivot_root" |
557 | default y | 577 | default y |
578 | depends on PLATFORM_LINUX | ||
558 | help | 579 | help |
559 | The pivot_root utility swaps the mount points for the root filesystem | 580 | The pivot_root utility swaps the mount points for the root filesystem |
560 | with some other mounted filesystem. This allows you to do all sorts | 581 | with some other mounted filesystem. This allows you to do all sorts |
@@ -582,12 +603,14 @@ config RDEV | |||
582 | config READPROFILE | 603 | config READPROFILE |
583 | bool "readprofile" | 604 | bool "readprofile" |
584 | default y | 605 | default y |
606 | #depends on PLATFORM_LINUX | ||
585 | help | 607 | help |
586 | This allows you to parse /proc/profile for basic profiling. | 608 | This allows you to parse /proc/profile for basic profiling. |
587 | 609 | ||
588 | config RTCWAKE | 610 | config RTCWAKE |
589 | bool "rtcwake" | 611 | bool "rtcwake" |
590 | default y | 612 | default y |
613 | depends on PLATFORM_LINUX | ||
591 | help | 614 | help |
592 | Enter a system sleep state until specified wakeup time. | 615 | Enter a system sleep state until specified wakeup time. |
593 | 616 | ||
@@ -607,6 +630,7 @@ config SCRIPTREPLAY | |||
607 | config SETARCH | 630 | config SETARCH |
608 | bool "setarch" | 631 | bool "setarch" |
609 | default y | 632 | default y |
633 | depends on PLATFORM_LINUX | ||
610 | help | 634 | help |
611 | The linux32 utility is used to create a 32bit environment for the | 635 | The linux32 utility is used to create a 32bit environment for the |
612 | specified program (usually a shell). It only makes sense to have | 636 | specified program (usually a shell). It only makes sense to have |
@@ -616,6 +640,7 @@ config SETARCH | |||
616 | config SWAPONOFF | 640 | config SWAPONOFF |
617 | bool "swaponoff" | 641 | bool "swaponoff" |
618 | default y | 642 | default y |
643 | depends on PLATFORM_LINUX | ||
619 | help | 644 | help |
620 | This option enables both the 'swapon' and the 'swapoff' utilities. | 645 | This option enables both the 'swapon' and the 'swapoff' utilities. |
621 | Once you have created some swap space using 'mkswap', you also need | 646 | Once you have created some swap space using 'mkswap', you also need |
@@ -634,6 +659,7 @@ config FEATURE_SWAPON_PRI | |||
634 | config SWITCH_ROOT | 659 | config SWITCH_ROOT |
635 | bool "switch_root" | 660 | bool "switch_root" |
636 | default y | 661 | default y |
662 | depends on PLATFORM_LINUX | ||
637 | help | 663 | help |
638 | The switch_root utility is used from initramfs to select a new | 664 | The switch_root utility is used from initramfs to select a new |
639 | root device. Under initramfs, you have to use this instead of | 665 | root device. Under initramfs, you have to use this instead of |
@@ -653,6 +679,7 @@ config SWITCH_ROOT | |||
653 | config UMOUNT | 679 | config UMOUNT |
654 | bool "umount" | 680 | bool "umount" |
655 | default y | 681 | default y |
682 | depends on PLATFORM_LINUX | ||
656 | help | 683 | help |
657 | When you want to remove a mounted filesystem from its current mount | 684 | When you want to remove a mounted filesystem from its current mount |
658 | point, for example when you are shutting down the system, the | 685 | point, for example when you are shutting down the system, the |