diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-26 22:24:08 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-26 22:24:08 +0100 |
commit | e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1 (patch) | |
tree | 0fb387c2e7d45dc541d9a42f9f0eba4352353aa5 /miscutils | |
parent | da4441c44f6efccb6f7b7588404d9c6bfb7b6af8 (diff) | |
download | busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.tar.gz busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.tar.bz2 busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.zip |
Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/Config.src | 27 | ||||
-rw-r--r-- | miscutils/conspy.c | 2 | ||||
-rw-r--r-- | miscutils/nandwrite.c | 4 | ||||
-rw-r--r-- | miscutils/ubi_attach_detach.c | 10 |
4 files changed, 22 insertions, 21 deletions
diff --git a/miscutils/Config.src b/miscutils/Config.src index b5866bbd7..61529141d 100644 --- a/miscutils/Config.src +++ b/miscutils/Config.src | |||
@@ -10,7 +10,7 @@ INSERT | |||
10 | config ADJTIMEX | 10 | config ADJTIMEX |
11 | bool "adjtimex" | 11 | bool "adjtimex" |
12 | default y | 12 | default y |
13 | depends on PLATFORM_LINUX | 13 | select PLATFORM_LINUX |
14 | help | 14 | help |
15 | Adjtimex reads and optionally sets adjustment parameters for | 15 | Adjtimex reads and optionally sets adjustment parameters for |
16 | the Linux clock adjustment algorithm. | 16 | the Linux clock adjustment algorithm. |
@@ -39,7 +39,7 @@ config FEATURE_COMPRESS_BBCONFIG | |||
39 | config BEEP | 39 | config BEEP |
40 | bool "beep" | 40 | bool "beep" |
41 | default y | 41 | default y |
42 | depends on PLATFORM_LINUX | 42 | select PLATFORM_LINUX |
43 | help | 43 | help |
44 | The beep applets beeps in a given freq/Hz. | 44 | The beep applets beeps in a given freq/Hz. |
45 | 45 | ||
@@ -194,7 +194,7 @@ config FEATURE_DC_LIBM | |||
194 | config DEVFSD | 194 | config DEVFSD |
195 | bool "devfsd (obsolete)" | 195 | bool "devfsd (obsolete)" |
196 | default n | 196 | default n |
197 | depends on PLATFORM_LINUX | 197 | select PLATFORM_LINUX |
198 | select FEATURE_SYSLOG | 198 | select FEATURE_SYSLOG |
199 | help | 199 | help |
200 | This is deprecated and should NOT be used anymore. | 200 | This is deprecated and should NOT be used anymore. |
@@ -238,7 +238,7 @@ config DEVFSD_VERBOSE | |||
238 | config FEATURE_DEVFS | 238 | config FEATURE_DEVFS |
239 | bool "Use devfs names for all devices (obsolete)" | 239 | bool "Use devfs names for all devices (obsolete)" |
240 | default n | 240 | default n |
241 | depends on PLATFORM_LINUX | 241 | select PLATFORM_LINUX |
242 | help | 242 | help |
243 | This is obsolete and should NOT be used anymore. | 243 | This is obsolete and should NOT be used anymore. |
244 | Use linux >= 2.6 (optionally with hotplug) and mdev instead! | 244 | Use linux >= 2.6 (optionally with hotplug) and mdev instead! |
@@ -258,7 +258,7 @@ config DEVMEM | |||
258 | config EJECT | 258 | config EJECT |
259 | bool "eject" | 259 | bool "eject" |
260 | default y | 260 | default y |
261 | depends on PLATFORM_LINUX | 261 | select PLATFORM_LINUX |
262 | help | 262 | help |
263 | Used to eject cdroms. (defaults to /dev/cdrom) | 263 | Used to eject cdroms. (defaults to /dev/cdrom) |
264 | 264 | ||
@@ -273,7 +273,7 @@ config FEATURE_EJECT_SCSI | |||
273 | config FBSPLASH | 273 | config FBSPLASH |
274 | bool "fbsplash" | 274 | bool "fbsplash" |
275 | default y | 275 | default y |
276 | depends on PLATFORM_LINUX | 276 | select PLATFORM_LINUX |
277 | help | 277 | help |
278 | Shows splash image and progress bar on framebuffer device. | 278 | Shows splash image and progress bar on framebuffer device. |
279 | Can be used during boot phase of an embedded device. ~2kb. | 279 | Can be used during boot phase of an embedded device. ~2kb. |
@@ -323,7 +323,7 @@ config FLASH_ERASEALL | |||
323 | config IONICE | 323 | config IONICE |
324 | bool "ionice" | 324 | bool "ionice" |
325 | default y | 325 | default y |
326 | depends on PLATFORM_LINUX | 326 | select PLATFORM_LINUX |
327 | help | 327 | help |
328 | Set/set program io scheduling class and priority | 328 | Set/set program io scheduling class and priority |
329 | Requires kernel >= 2.6.13 | 329 | Requires kernel >= 2.6.13 |
@@ -429,7 +429,7 @@ config FEATURE_LESS_LINENUMS | |||
429 | config HDPARM | 429 | config HDPARM |
430 | bool "hdparm" | 430 | bool "hdparm" |
431 | default y | 431 | default y |
432 | depends on PLATFORM_LINUX | 432 | select PLATFORM_LINUX |
433 | help | 433 | help |
434 | Get/Set hard drive parameters. Primarily intended for ATA | 434 | Get/Set hard drive parameters. Primarily intended for ATA |
435 | drives. Adds about 13k (or around 30k if you enable the | 435 | drives. Adds about 13k (or around 30k if you enable the |
@@ -546,7 +546,7 @@ config MT | |||
546 | config RAIDAUTORUN | 546 | config RAIDAUTORUN |
547 | bool "raidautorun" | 547 | bool "raidautorun" |
548 | default y | 548 | default y |
549 | depends on PLATFORM_LINUX | 549 | select PLATFORM_LINUX |
550 | help | 550 | help |
551 | raidautorun tells the kernel md driver to | 551 | raidautorun tells the kernel md driver to |
552 | search and start RAID arrays. | 552 | search and start RAID arrays. |
@@ -554,7 +554,8 @@ config RAIDAUTORUN | |||
554 | config READAHEAD | 554 | config READAHEAD |
555 | bool "readahead" | 555 | bool "readahead" |
556 | default y | 556 | default y |
557 | depends on LFS && PLATFORM_LINUX | 557 | depends on LFS |
558 | select PLATFORM_LINUX | ||
558 | help | 559 | help |
559 | Preload the files listed on the command line into RAM cache so that | 560 | Preload the files listed on the command line into RAM cache so that |
560 | subsequent reads on these files will not block on disk I/O. | 561 | subsequent reads on these files will not block on disk I/O. |
@@ -571,7 +572,7 @@ config READAHEAD | |||
571 | config RFKILL | 572 | config RFKILL |
572 | bool "rfkill" | 573 | bool "rfkill" |
573 | default n # doesn't build on Ubuntu 9.04 | 574 | default n # doesn't build on Ubuntu 9.04 |
574 | depends on PLATFORM_LINUX | 575 | select PLATFORM_LINUX |
575 | help | 576 | help |
576 | Enable/disable wireless devices. | 577 | Enable/disable wireless devices. |
577 | 578 | ||
@@ -593,7 +594,7 @@ config RUNLEVEL | |||
593 | config RX | 594 | config RX |
594 | bool "rx" | 595 | bool "rx" |
595 | default y | 596 | default y |
596 | depends on PLATFORM_LINUX | 597 | select PLATFORM_LINUX |
597 | help | 598 | help |
598 | Receive files using the Xmodem protocol. | 599 | Receive files using the Xmodem protocol. |
599 | 600 | ||
@@ -666,7 +667,7 @@ config WALL | |||
666 | config WATCHDOG | 667 | config WATCHDOG |
667 | bool "watchdog" | 668 | bool "watchdog" |
668 | default y | 669 | default y |
669 | depends on PLATFORM_LINUX | 670 | select PLATFORM_LINUX |
670 | help | 671 | help |
671 | The watchdog utility is used with hardware or software watchdog | 672 | The watchdog utility is used with hardware or software watchdog |
672 | device drivers. It opens the specified watchdog device special file | 673 | device drivers. It opens the specified watchdog device special file |
diff --git a/miscutils/conspy.c b/miscutils/conspy.c index 721eb6d59..1fdb2fb38 100644 --- a/miscutils/conspy.c +++ b/miscutils/conspy.c | |||
@@ -17,7 +17,7 @@ | |||
17 | //config:config CONSPY | 17 | //config:config CONSPY |
18 | //config: bool "conspy" | 18 | //config: bool "conspy" |
19 | //config: default n | 19 | //config: default n |
20 | //config: depends on PLATFORM_LINUX | 20 | //config: select PLATFORM_LINUX |
21 | //config: help | 21 | //config: help |
22 | //config: A text-mode VNC like program for Linux virtual terminals. | 22 | //config: A text-mode VNC like program for Linux virtual terminals. |
23 | //config: example: conspy NUM shared access to console num | 23 | //config: example: conspy NUM shared access to console num |
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c index c5e2fb841..c7fbe7d9c 100644 --- a/miscutils/nandwrite.c +++ b/miscutils/nandwrite.c | |||
@@ -17,14 +17,14 @@ | |||
17 | //config:config NANDWRITE | 17 | //config:config NANDWRITE |
18 | //config: bool "nandwrite" | 18 | //config: bool "nandwrite" |
19 | //config: default n | 19 | //config: default n |
20 | //config: depends on PLATFORM_LINUX | 20 | //config: select PLATFORM_LINUX |
21 | //config: help | 21 | //config: help |
22 | //config: Write to the specified MTD device, with bad blocks awareness | 22 | //config: Write to the specified MTD device, with bad blocks awareness |
23 | //config: | 23 | //config: |
24 | //config:config NANDDUMP | 24 | //config:config NANDDUMP |
25 | //config: bool "nanddump" | 25 | //config: bool "nanddump" |
26 | //config: default n | 26 | //config: default n |
27 | //config: depends on PLATFORM_LINUX | 27 | //config: select PLATFORM_LINUX |
28 | //config: help | 28 | //config: help |
29 | //config: Dump the content of raw NAND chip | 29 | //config: Dump the content of raw NAND chip |
30 | 30 | ||
diff --git a/miscutils/ubi_attach_detach.c b/miscutils/ubi_attach_detach.c index fef9250ee..9007f8c3f 100644 --- a/miscutils/ubi_attach_detach.c +++ b/miscutils/ubi_attach_detach.c | |||
@@ -6,35 +6,35 @@ | |||
6 | //config:config UBIATTACH | 6 | //config:config UBIATTACH |
7 | //config: bool "ubiattach" | 7 | //config: bool "ubiattach" |
8 | //config: default y | 8 | //config: default y |
9 | //config: depends on PLATFORM_LINUX | 9 | //config: select PLATFORM_LINUX |
10 | //config: help | 10 | //config: help |
11 | //config: Attach MTD device to an UBI device. | 11 | //config: Attach MTD device to an UBI device. |
12 | //config: | 12 | //config: |
13 | //config:config UBIDETACH | 13 | //config:config UBIDETACH |
14 | //config: bool "ubidetach" | 14 | //config: bool "ubidetach" |
15 | //config: default y | 15 | //config: default y |
16 | //config: depends on PLATFORM_LINUX | 16 | //config: select PLATFORM_LINUX |
17 | //config: help | 17 | //config: help |
18 | //config: Detach MTD device from an UBI device. | 18 | //config: Detach MTD device from an UBI device. |
19 | //config: | 19 | //config: |
20 | //config:config UBIMKVOL | 20 | //config:config UBIMKVOL |
21 | //config: bool "ubimkvol" | 21 | //config: bool "ubimkvol" |
22 | //config: default y | 22 | //config: default y |
23 | //config: depends on PLATFORM_LINUX | 23 | //config: select PLATFORM_LINUX |
24 | //config: help | 24 | //config: help |
25 | //config: Create a UBI volume. | 25 | //config: Create a UBI volume. |
26 | //config: | 26 | //config: |
27 | //config:config UBIRMVOL | 27 | //config:config UBIRMVOL |
28 | //config: bool "ubirmvol" | 28 | //config: bool "ubirmvol" |
29 | //config: default y | 29 | //config: default y |
30 | //config: depends on PLATFORM_LINUX | 30 | //config: select PLATFORM_LINUX |
31 | //config: help | 31 | //config: help |
32 | //config: Delete a UBI volume. | 32 | //config: Delete a UBI volume. |
33 | //config: | 33 | //config: |
34 | //config:config UBIRSVOL | 34 | //config:config UBIRSVOL |
35 | //config: bool "ubirsvol" | 35 | //config: bool "ubirsvol" |
36 | //config: default y | 36 | //config: default y |
37 | //config: depends on PLATFORM_LINUX | 37 | //config: select PLATFORM_LINUX |
38 | //config: help | 38 | //config: help |
39 | //config: Resize a UBI volume. | 39 | //config: Resize a UBI volume. |
40 | 40 | ||