mark Linux-specific configuration options
[platform/upstream/busybox.git] / miscutils / Config.src
index 2f7c502..e89e231 100644 (file)
@@ -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