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>
diff --git a/miscutils/Config.src b/miscutils/Config.src
index 2f7c502..e89e231 100644
--- a/miscutils/Config.src
+++ b/miscutils/Config.src
@@ -10,6 +10,7 @@
 config ADJTIMEX
 	bool "adjtimex"
 	default y
+	depends on PLATFORM_LINUX
 	help
 	  Adjtimex reads and optionally sets adjustment parameters for
 	  the Linux clock adjustment algorithm.
@@ -24,6 +25,7 @@
 config BEEP
 	bool "beep"
 	default y
+	depends on PLATFORM_LINUX
 	help
 	  The beep applets beeps in a given freq/Hz.
 
@@ -180,6 +182,7 @@
 config DEVFSD
 	bool "devfsd (obsolete)"
 	default n
+	depends on PLATFORM_LINUX
 	select FEATURE_SYSLOG
 	help
 	  This is deprecated and should NOT be used anymore.
@@ -223,6 +226,7 @@
 config FEATURE_DEVFS
 	bool "Use devfs names for all devices (obsolete)"
 	default n
+	depends on PLATFORM_LINUX
 	help
 	  This is obsolete and should NOT be used anymore.
 	  Use linux >= 2.6 (optionally with hotplug) and mdev instead!
@@ -242,6 +246,7 @@
 config EJECT
 	bool "eject"
 	default y
+	depends on PLATFORM_LINUX
 	help
 	  Used to eject cdroms. (defaults to /dev/cdrom)
 
@@ -256,6 +261,7 @@
 config FBSPLASH
 	bool "fbsplash"
 	default y
+	depends on PLATFORM_LINUX
 	help
 	  Shows splash image and progress bar on framebuffer device.
 	  Can be used during boot phase of an embedded device. ~2kb.
@@ -305,6 +311,7 @@
 config IONICE
 	bool "ionice"
 	default y
+	depends on PLATFORM_LINUX
 	help
 	  Set/set program io scheduling class and priority
 	  Requires kernel >= 2.6.13
@@ -344,6 +351,11 @@
 config LESS
 	bool "less"
 	default y
+	depends on PLATFORM_LINUX
+	depends on PLATFORM_LINUX
+	depends on PLATFORM_LINUX
+	depends on PLATFORM_LINUX
+	depends on PLATFORM_LINUX
 	help
 	  'less' is a pager, meaning that it displays text files. It possesses
 	  a wide array of features, and is an improvement over 'more'.
@@ -410,6 +422,7 @@
 config HDPARM
 	bool "hdparm"
 	default y
+	depends on PLATFORM_LINUX
 	help
 	  Get/Set hard drive parameters. Primarily intended for ATA
 	  drives. Adds about 13k (or around 30k if you enable the
@@ -526,6 +539,7 @@
 config RAIDAUTORUN
 	bool "raidautorun"
 	default y
+	depends on PLATFORM_LINUX
 	help
 	  raidautorun tells the kernel md driver to
 	  search and start RAID arrays.
@@ -533,7 +547,7 @@
 config READAHEAD
 	bool "readahead"
 	default y
-	depends on LFS
+	depends on LFS && 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.
@@ -550,6 +564,7 @@
 config RFKILL
 	bool "rfkill"
 	default n  # doesn't build on Ubuntu 9.04
+	depends on PLATFORM_LINUX
 	help
 	  Enable/disable wireless devices.
 
@@ -570,6 +585,7 @@
 config RX
 	bool "rx"
 	default y
+	depends on PLATFORM_LINUX
 	help
 	  Receive files using the Xmodem protocol.
 
@@ -641,6 +657,7 @@
 config WATCHDOG
 	bool "watchdog"
 	default y
+	depends on PLATFORM_LINUX
 	help
 	  The watchdog utility is used with hardware or software watchdog
 	  device drivers. It opens the specified watchdog device special file