From 1d7266d3b59be361763dab61f680103bbb70f3e9 Mon Sep 17 00:00:00 2001 From: Jeremie Koenig Date: Mon, 19 Jul 2010 00:44:56 +0200 Subject: 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 Signed-off-by: Denys Vlasenko --- miscutils/Config.src | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'miscutils/Config.src') 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 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 BBCONFIG 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 FEATURE_DC_LIBM 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 DEVFSD_VERBOSE 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 DEVMEM config EJECT bool "eject" default y + depends on PLATFORM_LINUX help Used to eject cdroms. (defaults to /dev/cdrom) @@ -256,6 +261,7 @@ config FEATURE_EJECT_SCSI 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 FLASH_ERASEALL 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 @@ endchoice 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 FEATURE_LESS_LINENUMS 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 MT 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 RAIDAUTORUN 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 READAHEAD 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 RUNLEVEL config RX bool "rx" default y + depends on PLATFORM_LINUX help Receive files using the Xmodem protocol. @@ -641,6 +657,7 @@ config WALL 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 -- cgit v1.2.3