aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-26 22:24:08 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-26 22:24:08 +0100
commite3b1a1fd28558f7a1b3c0ec33313bedb675be8a1 (patch)
tree0fb387c2e7d45dc541d9a42f9f0eba4352353aa5 /miscutils
parentda4441c44f6efccb6f7b7588404d9c6bfb7b6af8 (diff)
downloadbusybox-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.tar.gz
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.src27
-rw-r--r--miscutils/conspy.c2
-rw-r--r--miscutils/nandwrite.c4
-rw-r--r--miscutils/ubi_attach_detach.c10
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
config ADJTIMEX
bool "adjtimex"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Adjtimex reads and optionally sets adjustment parameters for
the Linux clock adjustment algorithm.
@@ -39,7 +39,7 @@ config FEATURE_COMPRESS_BBCONFIG
config BEEP
bool "beep"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
The beep applets beeps in a given freq/Hz.
@@ -194,7 +194,7 @@ config FEATURE_DC_LIBM
config DEVFSD
bool "devfsd (obsolete)"
default n
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
select FEATURE_SYSLOG
help
This is deprecated and should NOT be used anymore.
@@ -238,7 +238,7 @@ config DEVFSD_VERBOSE
config FEATURE_DEVFS
bool "Use devfs names for all devices (obsolete)"
default n
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
This is obsolete and should NOT be used anymore.
Use linux >= 2.6 (optionally with hotplug) and mdev instead!
@@ -258,7 +258,7 @@ config DEVMEM
config EJECT
bool "eject"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Used to eject cdroms. (defaults to /dev/cdrom)
@@ -273,7 +273,7 @@ config FEATURE_EJECT_SCSI
config FBSPLASH
bool "fbsplash"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Shows splash image and progress bar on framebuffer device.
Can be used during boot phase of an embedded device. ~2kb.
@@ -323,7 +323,7 @@ config FLASH_ERASEALL
config IONICE
bool "ionice"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Set/set program io scheduling class and priority
Requires kernel >= 2.6.13
@@ -429,7 +429,7 @@ config FEATURE_LESS_LINENUMS
config HDPARM
bool "hdparm"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Get/Set hard drive parameters. Primarily intended for ATA
drives. Adds about 13k (or around 30k if you enable the
@@ -546,7 +546,7 @@ config MT
config RAIDAUTORUN
bool "raidautorun"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
raidautorun tells the kernel md driver to
search and start RAID arrays.
@@ -554,7 +554,8 @@ config RAIDAUTORUN
config READAHEAD
bool "readahead"
default y
- depends on LFS && PLATFORM_LINUX
+ depends on LFS
+ select PLATFORM_LINUX
help
Preload the files listed on the command line into RAM cache so that
subsequent reads on these files will not block on disk I/O.
@@ -571,7 +572,7 @@ config READAHEAD
config RFKILL
bool "rfkill"
default n # doesn't build on Ubuntu 9.04
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Enable/disable wireless devices.
@@ -593,7 +594,7 @@ config RUNLEVEL
config RX
bool "rx"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
Receive files using the Xmodem protocol.
@@ -666,7 +667,7 @@ config WALL
config WATCHDOG
bool "watchdog"
default y
- depends on PLATFORM_LINUX
+ select PLATFORM_LINUX
help
The watchdog utility is used with hardware or software watchdog
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 @@
//config:config CONSPY
//config: bool "conspy"
//config: default n
-//config: depends on PLATFORM_LINUX
+//config: select PLATFORM_LINUX
//config: help
//config: A text-mode VNC like program for Linux virtual terminals.
//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 @@
//config:config NANDWRITE
//config: bool "nandwrite"
//config: default n
-//config: depends on PLATFORM_LINUX
+//config: select PLATFORM_LINUX
//config: help
//config: Write to the specified MTD device, with bad blocks awareness
//config:
//config:config NANDDUMP
//config: bool "nanddump"
//config: default n
-//config: depends on PLATFORM_LINUX
+//config: select PLATFORM_LINUX
//config: help
//config: Dump the content of raw NAND chip
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 @@
//config:config UBIATTACH
//config: bool "ubiattach"
//config: default y
-//config: depends on PLATFORM_LINUX
+//config: select PLATFORM_LINUX
//config: help
//config: Attach MTD device to an UBI device.
//config:
//config:config UBIDETACH
//config: bool "ubidetach"
//config: default y
-//config: depends on PLATFORM_LINUX
+//config: select PLATFORM_LINUX
//config: help
//config: Detach MTD device from an UBI device.
//config:
//config:config UBIMKVOL
//config: bool "ubimkvol"
//config: default y
-//config: depends on PLATFORM_LINUX
+//config: select PLATFORM_LINUX
//config: help
//config: Create a UBI volume.
//config:
//config:config UBIRMVOL
//config: bool "ubirmvol"
//config: default y
-//config: depends on PLATFORM_LINUX
+//config: select PLATFORM_LINUX
//config: help
//config: Delete a UBI volume.
//config:
//config:config UBIRSVOL
//config: bool "ubirsvol"
//config: default y
-//config: depends on PLATFORM_LINUX
+//config: select PLATFORM_LINUX
//config: help
//config: Resize a UBI volume.