Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-02-26 22:24:08 +01:00
parent da4441c44f
commit e3b1a1fd28
17 changed files with 115 additions and 92 deletions

View File

@ -385,7 +385,7 @@ config FEATURE_SUID_CONFIG_QUIET
config SELINUX config SELINUX
bool "Support NSA Security Enhanced Linux" bool "Support NSA Security Enhanced Linux"
default n default n
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Enable support for SELinux in applets ls, ps, and id. Also provide Enable support for SELinux in applets ls, ps, and id. Also provide
the option of compiling in SELinux applets. the option of compiling in SELinux applets.

View File

@ -10,7 +10,7 @@ INSERT
config CHVT config CHVT
bool "chvt" bool "chvt"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program is used to change to another terminal. This program is used to change to another terminal.
Example: chvt 4 (change to terminal /dev/tty4) Example: chvt 4 (change to terminal /dev/tty4)
@ -18,7 +18,7 @@ config CHVT
config FGCONSOLE config FGCONSOLE
bool "fgconsole" bool "fgconsole"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program prints active (foreground) console number. This program prints active (foreground) console number.
@ -31,14 +31,14 @@ config CLEAR
config DEALLOCVT config DEALLOCVT
bool "deallocvt" bool "deallocvt"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program deallocates unused virtual consoles. This program deallocates unused virtual consoles.
config DUMPKMAP config DUMPKMAP
bool "dumpkmap" bool "dumpkmap"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program dumps the kernel's keyboard translation table to This program dumps the kernel's keyboard translation table to
stdout, in binary format. You can then use loadkmap to load it. stdout, in binary format. You can then use loadkmap to load it.
@ -46,21 +46,21 @@ config DUMPKMAP
config KBD_MODE config KBD_MODE
bool "kbd_mode" bool "kbd_mode"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program reports and sets keyboard mode. This program reports and sets keyboard mode.
config LOADFONT config LOADFONT
bool "loadfont" bool "loadfont"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program loads a console font from standard input. This program loads a console font from standard input.
config LOADKMAP config LOADKMAP
bool "loadkmap" bool "loadkmap"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program loads a keyboard translation table from This program loads a keyboard translation table from
standard input. standard input.
@ -68,7 +68,7 @@ config LOADKMAP
config OPENVT config OPENVT
bool "openvt" bool "openvt"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program is used to start a command on an unused This program is used to start a command on an unused
virtual terminal. virtual terminal.
@ -100,7 +100,7 @@ config FEATURE_RESIZE_PRINT
config SETCONSOLE config SETCONSOLE
bool "setconsole" bool "setconsole"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program redirects the system console to another device, This program redirects the system console to another device,
like the current tty while logged in via telnet. like the current tty while logged in via telnet.
@ -115,7 +115,7 @@ config FEATURE_SETCONSOLE_LONG_OPTIONS
config SETFONT config SETFONT
bool "setfont" bool "setfont"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Allows to load console screen map. Useful for i18n. Allows to load console screen map. Useful for i18n.
@ -137,7 +137,7 @@ config DEFAULT_SETFONT_DIR
config SETKEYCODES config SETKEYCODES
bool "setkeycodes" bool "setkeycodes"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program loads entries into the kernel's scancode-to-keycode This program loads entries into the kernel's scancode-to-keycode
map, allowing unusual keyboards to generate usable keycodes. map, allowing unusual keyboards to generate usable keycodes.
@ -145,14 +145,14 @@ config SETKEYCODES
config SETLOGCONS config SETLOGCONS
bool "setlogcons" bool "setlogcons"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This program redirects the output console of kernel messages. This program redirects the output console of kernel messages.
config SHOWKEY config SHOWKEY
bool "showkey" bool "showkey"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Shows keys pressed. Shows keys pressed.

View File

@ -591,7 +591,7 @@ config FEATURE_SPLIT_FANCY
config STAT config STAT
bool "stat" bool "stat"
default y default y
depends on PLATFORM_LINUX # statfs() select PLATFORM_LINUX # statfs()
help help
display file or filesystem status. display file or filesystem status.

View File

@ -42,7 +42,8 @@
//config:config FEATURE_DATE_NANO //config:config FEATURE_DATE_NANO
//config: bool "Support %[num]N nanosecond format specifier" //config: bool "Support %[num]N nanosecond format specifier"
//config: default n //config: default n
//config: depends on DATE && PLATFORM_LINUX # syscall(__NR_clock_gettime) //config: depends on DATE # syscall(__NR_clock_gettime)
//config: select PLATFORM_LINUX
//config: help //config: help
//config: Support %[num]N format specifier. Adds ~250 bytes of code. //config: Support %[num]N format specifier. Adds ~250 bytes of code.
//config: //config:

View File

@ -33,7 +33,7 @@ config FSCK
config LSATTR config LSATTR
bool "lsattr" bool "lsattr"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
lsattr lists the file attributes on a second extended file system. lsattr lists the file attributes on a second extended file system.

View File

@ -183,7 +183,7 @@ config FEATURE_SKIP_ROOTFS
config MONOTONIC_SYSCALL config MONOTONIC_SYSCALL
bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
default n default n
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
time intervals (time, ping, traceroute etc need this). time intervals (time, ping, traceroute etc need this).

View File

@ -10,7 +10,7 @@ INSERT
config ADJTIMEX config ADJTIMEX
bool "adjtimex" bool "adjtimex"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Adjtimex reads and optionally sets adjustment parameters for Adjtimex reads and optionally sets adjustment parameters for
the Linux clock adjustment algorithm. the Linux clock adjustment algorithm.
@ -39,7 +39,7 @@ config FEATURE_COMPRESS_BBCONFIG
config BEEP config BEEP
bool "beep" bool "beep"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The beep applets beeps in a given freq/Hz. The beep applets beeps in a given freq/Hz.
@ -194,7 +194,7 @@ config FEATURE_DC_LIBM
config DEVFSD config DEVFSD
bool "devfsd (obsolete)" bool "devfsd (obsolete)"
default n default n
depends on PLATFORM_LINUX select PLATFORM_LINUX
select FEATURE_SYSLOG select FEATURE_SYSLOG
help help
This is deprecated and should NOT be used anymore. This is deprecated and should NOT be used anymore.
@ -238,7 +238,7 @@ config DEVFSD_VERBOSE
config FEATURE_DEVFS config FEATURE_DEVFS
bool "Use devfs names for all devices (obsolete)" bool "Use devfs names for all devices (obsolete)"
default n default n
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This is obsolete and should NOT be used anymore. This is obsolete and should NOT be used anymore.
Use linux >= 2.6 (optionally with hotplug) and mdev instead! Use linux >= 2.6 (optionally with hotplug) and mdev instead!
@ -258,7 +258,7 @@ config DEVMEM
config EJECT config EJECT
bool "eject" bool "eject"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Used to eject cdroms. (defaults to /dev/cdrom) Used to eject cdroms. (defaults to /dev/cdrom)
@ -273,7 +273,7 @@ config FEATURE_EJECT_SCSI
config FBSPLASH config FBSPLASH
bool "fbsplash" bool "fbsplash"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Shows splash image and progress bar on framebuffer device. Shows splash image and progress bar on framebuffer device.
Can be used during boot phase of an embedded device. ~2kb. Can be used during boot phase of an embedded device. ~2kb.
@ -323,7 +323,7 @@ config FLASH_ERASEALL
config IONICE config IONICE
bool "ionice" bool "ionice"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Set/set program io scheduling class and priority Set/set program io scheduling class and priority
Requires kernel >= 2.6.13 Requires kernel >= 2.6.13
@ -429,7 +429,7 @@ config FEATURE_LESS_LINENUMS
config HDPARM config HDPARM
bool "hdparm" bool "hdparm"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Get/Set hard drive parameters. Primarily intended for ATA Get/Set hard drive parameters. Primarily intended for ATA
drives. Adds about 13k (or around 30k if you enable the drives. Adds about 13k (or around 30k if you enable the
@ -546,7 +546,7 @@ config MT
config RAIDAUTORUN config RAIDAUTORUN
bool "raidautorun" bool "raidautorun"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
raidautorun tells the kernel md driver to raidautorun tells the kernel md driver to
search and start RAID arrays. search and start RAID arrays.
@ -554,7 +554,8 @@ config RAIDAUTORUN
config READAHEAD config READAHEAD
bool "readahead" bool "readahead"
default y default y
depends on LFS && PLATFORM_LINUX depends on LFS
select PLATFORM_LINUX
help help
Preload the files listed on the command line into RAM cache so that 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. subsequent reads on these files will not block on disk I/O.
@ -571,7 +572,7 @@ config READAHEAD
config RFKILL config RFKILL
bool "rfkill" bool "rfkill"
default n # doesn't build on Ubuntu 9.04 default n # doesn't build on Ubuntu 9.04
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Enable/disable wireless devices. Enable/disable wireless devices.
@ -593,7 +594,7 @@ config RUNLEVEL
config RX config RX
bool "rx" bool "rx"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Receive files using the Xmodem protocol. Receive files using the Xmodem protocol.
@ -666,7 +667,7 @@ config WALL
config WATCHDOG config WATCHDOG
bool "watchdog" bool "watchdog"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The watchdog utility is used with hardware or software watchdog The watchdog utility is used with hardware or software watchdog
device drivers. It opens the specified watchdog device special file device drivers. It opens the specified watchdog device special file

View File

@ -17,7 +17,7 @@
//config:config CONSPY //config:config CONSPY
//config: bool "conspy" //config: bool "conspy"
//config: default n //config: default n
//config: depends on PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: A text-mode VNC like program for Linux virtual terminals. //config: A text-mode VNC like program for Linux virtual terminals.
//config: example: conspy NUM shared access to console num //config: example: conspy NUM shared access to console num

View File

@ -17,14 +17,14 @@
//config:config NANDWRITE //config:config NANDWRITE
//config: bool "nandwrite" //config: bool "nandwrite"
//config: default n //config: default n
//config: depends on PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Write to the specified MTD device, with bad blocks awareness //config: Write to the specified MTD device, with bad blocks awareness
//config: //config:
//config:config NANDDUMP //config:config NANDDUMP
//config: bool "nanddump" //config: bool "nanddump"
//config: default n //config: default n
//config: depends on PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Dump the content of raw NAND chip //config: Dump the content of raw NAND chip

View File

@ -6,35 +6,35 @@
//config:config UBIATTACH //config:config UBIATTACH
//config: bool "ubiattach" //config: bool "ubiattach"
//config: default y //config: default y
//config: depends on PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Attach MTD device to an UBI device. //config: Attach MTD device to an UBI device.
//config: //config:
//config:config UBIDETACH //config:config UBIDETACH
//config: bool "ubidetach" //config: bool "ubidetach"
//config: default y //config: default y
//config: depends on PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Detach MTD device from an UBI device. //config: Detach MTD device from an UBI device.
//config: //config:
//config:config UBIMKVOL //config:config UBIMKVOL
//config: bool "ubimkvol" //config: bool "ubimkvol"
//config: default y //config: default y
//config: depends on PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Create a UBI volume. //config: Create a UBI volume.
//config: //config:
//config:config UBIRMVOL //config:config UBIRMVOL
//config: bool "ubirmvol" //config: bool "ubirmvol"
//config: default y //config: default y
//config: depends on PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Delete a UBI volume. //config: Delete a UBI volume.
//config: //config:
//config:config UBIRSVOL //config:config UBIRSVOL
//config: bool "ubirsvol" //config: bool "ubirsvol"
//config: default y //config: default y
//config: depends on PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Resize a UBI volume. //config: Resize a UBI volume.

View File

@ -4,13 +4,13 @@
# #
menu "Linux Module Utilities" menu "Linux Module Utilities"
depends on PLATFORM_LINUX
INSERT INSERT
config MODPROBE_SMALL config MODPROBE_SMALL
bool "Simplified modutils" bool "Simplified modutils"
default y default y
select PLATFORM_LINUX
help help
Simplified modutils. Simplified modutils.
@ -45,6 +45,7 @@ config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
bool "Accept module options on modprobe command line" bool "Accept module options on modprobe command line"
default y default y
depends on MODPROBE_SMALL depends on MODPROBE_SMALL
select PLATFORM_LINUX
help help
Allow insmod and modprobe take module options from command line. Allow insmod and modprobe take module options from command line.
@ -59,6 +60,7 @@ config INSMOD
bool "insmod" bool "insmod"
default n default n
depends on !MODPROBE_SMALL depends on !MODPROBE_SMALL
select PLATFORM_LINUX
help help
insmod is used to load specified modules in the running kernel. insmod is used to load specified modules in the running kernel.
@ -66,6 +68,7 @@ config RMMOD
bool "rmmod" bool "rmmod"
default n default n
depends on !MODPROBE_SMALL depends on !MODPROBE_SMALL
select PLATFORM_LINUX
help help
rmmod is used to unload specified modules from the kernel. rmmod is used to unload specified modules from the kernel.
@ -73,6 +76,7 @@ config LSMOD
bool "lsmod" bool "lsmod"
default n default n
depends on !MODPROBE_SMALL depends on !MODPROBE_SMALL
select PLATFORM_LINUX
help help
lsmod is used to display a list of loaded modules. lsmod is used to display a list of loaded modules.
@ -80,6 +84,7 @@ config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
bool "Pretty output" bool "Pretty output"
default n default n
depends on LSMOD depends on LSMOD
select PLATFORM_LINUX
help help
This option makes output format of lsmod adjusted to This option makes output format of lsmod adjusted to
the format of module-init-tools for Linux kernel 2.6. the format of module-init-tools for Linux kernel 2.6.
@ -89,6 +94,7 @@ config MODPROBE
bool "modprobe" bool "modprobe"
default n default n
depends on !MODPROBE_SMALL depends on !MODPROBE_SMALL
select PLATFORM_LINUX
help help
Handle the loading of modules, and their dependencies on a high Handle the loading of modules, and their dependencies on a high
level. level.
@ -97,6 +103,7 @@ config FEATURE_MODPROBE_BLACKLIST
bool "Blacklist support" bool "Blacklist support"
default n default n
depends on MODPROBE depends on MODPROBE
select PLATFORM_LINUX
help help
Say 'y' here to enable support for the 'blacklist' command in Say 'y' here to enable support for the 'blacklist' command in
modprobe.conf. This prevents the alias resolver to resolve modprobe.conf. This prevents the alias resolver to resolve
@ -108,6 +115,7 @@ config DEPMOD
bool "depmod" bool "depmod"
default n default n
depends on !MODPROBE_SMALL depends on !MODPROBE_SMALL
select PLATFORM_LINUX
help help
depmod generates modules.dep (and potentially modules.alias depmod generates modules.dep (and potentially modules.alias
and modules.symbols) that contain dependency information and modules.symbols) that contain dependency information
@ -119,6 +127,7 @@ config FEATURE_2_4_MODULES
bool "Support version 2.2/2.4 Linux kernels" bool "Support version 2.2/2.4 Linux kernels"
default n default n
depends on INSMOD || RMMOD || LSMOD depends on INSMOD || RMMOD || LSMOD
select PLATFORM_LINUX
help help
Support module loading for 2.2.x and 2.4.x Linux kernels. Support module loading for 2.2.x and 2.4.x Linux kernels.
This increases size considerably. Say N unless you plan This increases size considerably. Say N unless you plan
@ -128,6 +137,7 @@ config FEATURE_INSMOD_TRY_MMAP
bool "Try to load module from a mmap'ed area" bool "Try to load module from a mmap'ed area"
default n default n
depends on INSMOD || MODPROBE_SMALL depends on INSMOD || MODPROBE_SMALL
select PLATFORM_LINUX
help help
This option causes module loading code to try to mmap This option causes module loading code to try to mmap
module first. If it does not work (for example, module first. If it does not work (for example,
@ -144,6 +154,7 @@ config FEATURE_INSMOD_VERSION_CHECKING
bool "Enable module version checking" bool "Enable module version checking"
default n default n
depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
select PLATFORM_LINUX
help help
Support checking of versions for modules. This is used to Support checking of versions for modules. This is used to
ensure that the kernel and module are made for each other. ensure that the kernel and module are made for each other.
@ -152,6 +163,7 @@ config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
bool "Add module symbols to kernel symbol table" bool "Add module symbols to kernel symbol table"
default n default n
depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
select PLATFORM_LINUX
help help
By adding module symbols to the kernel symbol table, Oops messages By adding module symbols to the kernel symbol table, Oops messages
occuring within kernel modules can be properly debugged. By enabling occuring within kernel modules can be properly debugged. By enabling
@ -163,6 +175,7 @@ config FEATURE_INSMOD_LOADINKMEM
bool "In kernel memory optimization (uClinux only)" bool "In kernel memory optimization (uClinux only)"
default n default n
depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
select PLATFORM_LINUX
help help
This is a special uClinux only memory optimization that lets insmod This is a special uClinux only memory optimization that lets insmod
load the specified kernel module directly into kernel space, reducing load the specified kernel module directly into kernel space, reducing
@ -173,6 +186,7 @@ config FEATURE_INSMOD_LOAD_MAP
bool "Enable insmod load map (-m) option" bool "Enable insmod load map (-m) option"
default n default n
depends on FEATURE_2_4_MODULES && INSMOD depends on FEATURE_2_4_MODULES && INSMOD
select PLATFORM_LINUX
help help
Enabling this, one would be able to get a load map Enabling this, one would be able to get a load map
output on stdout. This makes kernel module debugging output on stdout. This makes kernel module debugging
@ -184,6 +198,7 @@ config FEATURE_INSMOD_LOAD_MAP_FULL
bool "Symbols in load map" bool "Symbols in load map"
default y default y
depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL
select PLATFORM_LINUX
help help
Without this option, -m will only output section Without this option, -m will only output section
load map. With this option, -m will also output load map. With this option, -m will also output
@ -193,6 +208,7 @@ config FEATURE_CHECK_TAINTED_MODULE
bool "Support tainted module checking with new kernels" bool "Support tainted module checking with new kernels"
default y default y
depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL
select PLATFORM_LINUX
help help
Support checking for tainted modules. These are usually binary Support checking for tainted modules. These are usually binary
only modules that will make the linux-kernel list ignore your only modules that will make the linux-kernel list ignore your
@ -203,6 +219,7 @@ config FEATURE_MODUTILS_ALIAS
bool "Support for module.aliases file" bool "Support for module.aliases file"
default y default y
depends on DEPMOD || MODPROBE depends on DEPMOD || MODPROBE
select PLATFORM_LINUX
help help
Generate and parse modules.alias containing aliases for bus Generate and parse modules.alias containing aliases for bus
identifiers: identifiers:
@ -219,6 +236,7 @@ config FEATURE_MODUTILS_SYMBOLS
bool "Support for module.symbols file" bool "Support for module.symbols file"
default y default y
depends on DEPMOD || MODPROBE depends on DEPMOD || MODPROBE
select PLATFORM_LINUX
help help
Generate and parse modules.symbols containing aliases for Generate and parse modules.symbols containing aliases for
symbol_request() kernel calls, such as: symbol_request() kernel calls, such as:

View File

@ -51,21 +51,21 @@ config VERBOSE_RESOLUTION_ERRORS
config ARP config ARP
bool "arp" bool "arp"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Manipulate the system ARP cache. Manipulate the system ARP cache.
config ARPING config ARPING
bool "arping" bool "arping"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Ping hosts by ARP packets. Ping hosts by ARP packets.
config BRCTL config BRCTL
bool "brctl" bool "brctl"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Manage ethernet bridges. Manage ethernet bridges.
Supports addbr/delbr and addif/delif. Supports addbr/delbr and addif/delif.
@ -98,7 +98,7 @@ config DNSD
config ETHER_WAKE config ETHER_WAKE
bool "ether-wake" bool "ether-wake"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Send a magic packet to wake up sleeping machines. Send a magic packet to wake up sleeping machines.
@ -281,7 +281,7 @@ config FEATURE_HTTPD_GZIP
config IFCONFIG config IFCONFIG
bool "ifconfig" bool "ifconfig"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Ifconfig is used to configure the kernel-resident network interfaces. Ifconfig is used to configure the kernel-resident network interfaces.
@ -329,7 +329,7 @@ config FEATURE_IFCONFIG_BROADCAST_PLUS
config IFENSLAVE config IFENSLAVE
bool "ifenslave" bool "ifenslave"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Userspace application to bind several interfaces Userspace application to bind several interfaces
to a logical interface (use with kernel bonding driver). to a logical interface (use with kernel bonding driver).
@ -337,7 +337,7 @@ config IFENSLAVE
config IFPLUGD config IFPLUGD
bool "ifplugd" bool "ifplugd"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Network interface plug detection daemon. Network interface plug detection daemon.
@ -379,7 +379,8 @@ config FEATURE_IFUPDOWN_IP
config FEATURE_IFUPDOWN_IP_BUILTIN config FEATURE_IFUPDOWN_IP_BUILTIN
bool "Use busybox ip applet" bool "Use busybox ip applet"
default y default y
depends on FEATURE_IFUPDOWN_IP && PLATFORM_LINUX depends on FEATURE_IFUPDOWN_IP
select PLATFORM_LINUX
select IP select IP
select FEATURE_IP_ADDRESS select FEATURE_IP_ADDRESS
select FEATURE_IP_LINK select FEATURE_IP_LINK
@ -498,7 +499,7 @@ config FEATURE_INETD_RPC
config IP config IP
bool "ip" bool "ip"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The "ip" applet is a TCP/IP interface configuration and routing The "ip" applet is a TCP/IP interface configuration and routing
utility. You generally don't need "ip" to use busybox with utility. You generally don't need "ip" to use busybox with
@ -614,7 +615,7 @@ config FEATURE_IPCALC_LONG_OPTIONS
config NAMEIF config NAMEIF
bool "nameif" bool "nameif"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
select FEATURE_SYSLOG select FEATURE_SYSLOG
help help
nameif is used to rename network interface by its MAC address. nameif is used to rename network interface by its MAC address.
@ -643,7 +644,7 @@ config FEATURE_NAMEIF_EXTENDED
config NETSTAT config NETSTAT
bool "netstat" bool "netstat"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
netstat prints information about the Linux networking subsystem. netstat prints information about the Linux networking subsystem.
@ -672,7 +673,7 @@ config NSLOOKUP
config NTPD config NTPD
bool "ntpd" bool "ntpd"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The NTP client/server daemon. The NTP client/server daemon.
@ -693,14 +694,14 @@ config PSCAN
config ROUTE config ROUTE
bool "route" bool "route"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Route displays or manipulates the kernel's IP routing tables. Route displays or manipulates the kernel's IP routing tables.
config SLATTACH config SLATTACH
bool "slattach" bool "slattach"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
slattach is a small utility to attach network interfaces to serial slattach is a small utility to attach network interfaces to serial
lines. lines.
@ -887,7 +888,7 @@ config TFTP_DEBUG
config TRACEROUTE config TRACEROUTE
bool "traceroute" bool "traceroute"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Utility to trace the route of IP packets. Utility to trace the route of IP packets.
@ -924,7 +925,7 @@ config FEATURE_TRACEROUTE_USE_ICMP
config TUNCTL config TUNCTL
bool "tunctl" bool "tunctl"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
tunctl creates or deletes tun devices. tunctl creates or deletes tun devices.
@ -957,7 +958,7 @@ config UDPSVD
config VCONFIG config VCONFIG
bool "vconfig" bool "vconfig"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Creates, removes, and configures VLAN interfaces Creates, removes, and configures VLAN interfaces
@ -1004,7 +1005,7 @@ config FEATURE_WGET_TIMEOUT
config ZCIP config ZCIP
bool "zcip" bool "zcip"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
select FEATURE_SYSLOG select FEATURE_SYSLOG
help help
ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.

View File

@ -32,7 +32,7 @@
//config:config PING //config:config PING
//config: bool "ping" //config: bool "ping"
//config: default y //config: default y
//config: depends on PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to //config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
//config: elicit an ICMP ECHO_RESPONSE from a host or gateway. //config: elicit an ICMP ECHO_RESPONSE from a host or gateway.

View File

@ -8,7 +8,7 @@ INSERT
config UDHCPD config UDHCPD
bool "udhcp server (udhcpd)" bool "udhcp server (udhcpd)"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
udhcpd is a DHCP server geared primarily toward embedded systems, udhcpd is a DHCP server geared primarily toward embedded systems,
while striving to be fully functional and RFC compliant. while striving to be fully functional and RFC compliant.
@ -66,7 +66,7 @@ config DHCPD_LEASES_FILE
config UDHCPC config UDHCPC
bool "udhcp client (udhcpc)" bool "udhcp client (udhcpc)"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
udhcpc is a DHCP client geared primarily toward embedded systems, udhcpc is a DHCP client geared primarily toward embedded systems,
while striving to be fully functional and RFC compliant. while striving to be fully functional and RFC compliant.

View File

@ -10,7 +10,7 @@ INSERT
config FREE config FREE
bool "free" bool "free"
default y default y
depends on PLATFORM_LINUX #sysinfo() select PLATFORM_LINUX #sysinfo()
help help
free displays the total amount of free and used physical and swap free displays the total amount of free and used physical and swap
memory in the system, as well as the buffers used by the kernel. memory in the system, as well as the buffers used by the kernel.
@ -99,7 +99,8 @@ config FEATURE_PS_WIDE
config FEATURE_PS_TIME config FEATURE_PS_TIME
bool "Enable time and elapsed time output" bool "Enable time and elapsed time output"
default y default y
depends on PS && DESKTOP && PLATFORM_LINUX #sysinfo() depends on PS && DESKTOP
select PLATFORM_LINUX
help help
Support -o time and -o etime output specifiers. Support -o time and -o etime output specifiers.
@ -196,7 +197,7 @@ config FEATURE_SHOW_THREADS
config UPTIME config UPTIME
bool "uptime" bool "uptime"
default y default y
depends on PLATFORM_LINUX #sysinfo() select PLATFORM_LINUX #sysinfo()
help help
uptime gives a one line display of the current time, how long uptime gives a one line display of the current time, how long
the system has been running, how many users are currently logged the system has been running, how many users are currently logged

View File

@ -119,7 +119,8 @@ config KLOGD
config FEATURE_KLOGD_KLOGCTL config FEATURE_KLOGD_KLOGCTL
bool "Use the klogctl() interface" bool "Use the klogctl() interface"
default y default y
depends on KLOGD && PLATFORM_LINUX depends on KLOGD
select PLATFORM_LINUX
help help
The klogd applet supports two interfaces for reading The klogd applet supports two interfaces for reading
kernel messages. Linux provides the klogctl() interface kernel messages. Linux provides the klogctl() interface

View File

@ -10,7 +10,7 @@ INSERT
config ACPID config ACPID
bool "acpid" bool "acpid"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
acpid listens to ACPI events coming either in textual form from acpid listens to ACPI events coming either in textual form from
/proc/acpi/event (though it is marked deprecated it is still widely /proc/acpi/event (though it is marked deprecated it is still widely
@ -33,7 +33,7 @@ config FEATURE_ACPID_COMPAT
config BLKID config BLKID
bool "blkid" bool "blkid"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
select VOLUMEID select VOLUMEID
help help
Lists labels and UUIDs of all filesystems. Lists labels and UUIDs of all filesystems.
@ -50,7 +50,7 @@ config FEATURE_BLKID_TYPE
config DMESG config DMESG
bool "dmesg" bool "dmesg"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
dmesg is used to examine or control the kernel ring buffer. When the dmesg is used to examine or control the kernel ring buffer. When the
Linux kernel prints messages to the system log, they are stored in Linux kernel prints messages to the system log, they are stored in
@ -84,7 +84,7 @@ config FEATURE_DMESG_PRETTY
config FBSET config FBSET
bool "fbset" bool "fbset"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
fbset is used to show or change the settings of a Linux frame buffer fbset is used to show or change the settings of a Linux frame buffer
device. The frame buffer device provides a simple and unique device. The frame buffer device provides a simple and unique
@ -113,7 +113,7 @@ config FEATURE_FBSET_READMODE
config FDFLUSH config FDFLUSH
bool "fdflush" bool "fdflush"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
fdflush is only needed when changing media on slightly-broken fdflush is only needed when changing media on slightly-broken
removable media drives. It is used to make Linux believe that a removable media drives. It is used to make Linux believe that a
@ -126,14 +126,14 @@ config FDFLUSH
config FDFORMAT config FDFORMAT
bool "fdformat" bool "fdformat"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
fdformat is used to low-level format a floppy disk. fdformat is used to low-level format a floppy disk.
config FDISK config FDISK
bool "fdisk" bool "fdisk"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The fdisk utility is used to divide hard disks into one or more The fdisk utility is used to divide hard disks into one or more
logical disks, which are generally called partitions. This utility logical disks, which are generally called partitions. This utility
@ -209,7 +209,7 @@ config FEATURE_FDISK_ADVANCED
config FINDFS config FINDFS
bool "findfs" bool "findfs"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
select VOLUMEID select VOLUMEID
help help
Prints the name of a filesystem with given label or UUID. Prints the name of a filesystem with given label or UUID.
@ -225,7 +225,7 @@ config FLOCK
config FREERAMDISK config FREERAMDISK
bool "freeramdisk" bool "freeramdisk"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Linux allows you to create ramdisks. This utility allows you to Linux allows you to create ramdisks. This utility allows you to
delete them and completely free all memory that was used for the delete them and completely free all memory that was used for the
@ -248,14 +248,14 @@ config FSCK_MINIX
config MKFS_EXT2 config MKFS_EXT2
bool "mkfs_ext2" bool "mkfs_ext2"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Utility to create EXT2 filesystems. Utility to create EXT2 filesystems.
config MKFS_MINIX config MKFS_MINIX
bool "mkfs_minix" bool "mkfs_minix"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The minix filesystem is a nice, small, compact, read-write filesystem The minix filesystem is a nice, small, compact, read-write filesystem
with little overhead. If you wish to be able to create minix with little overhead. If you wish to be able to create minix
@ -273,7 +273,7 @@ config FEATURE_MINIX2
config MKFS_REISER config MKFS_REISER
bool "mkfs_reiser" bool "mkfs_reiser"
default n default n
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Utility to create ReiserFS filesystems. Utility to create ReiserFS filesystems.
Note: this applet needs a lot of testing and polishing. Note: this applet needs a lot of testing and polishing.
@ -281,7 +281,7 @@ config MKFS_REISER
config MKFS_VFAT config MKFS_VFAT
bool "mkfs_vfat" bool "mkfs_vfat"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Utility to create FAT32 filesystems. Utility to create FAT32 filesystems.
@ -330,7 +330,7 @@ config HD
config HWCLOCK config HWCLOCK
bool "hwclock" bool "hwclock"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The hwclock utility is used to read and set the hardware clock The hwclock utility is used to read and set the hardware clock
on a system. This is primarily used to set the current time on on a system. This is primarily used to set the current time on
@ -369,7 +369,7 @@ config IPCRM
config IPCS config IPCS
bool "ipcs" bool "ipcs"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The ipcs utility is used to provide information on the currently The ipcs utility is used to provide information on the currently
allocated System V interprocess (IPC) objects in the system. allocated System V interprocess (IPC) objects in the system.
@ -377,7 +377,7 @@ config IPCS
config LOSETUP config LOSETUP
bool "losetup" bool "losetup"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
losetup is used to associate or detach a loop device with a regular losetup is used to associate or detach a loop device with a regular
file or block device, and to query the status of a loop device. This file or block device, and to query the status of a loop device. This
@ -386,7 +386,7 @@ config LOSETUP
config LSPCI config LSPCI
bool "lspci" bool "lspci"
default y default y
#depends on PLATFORM_LINUX #select PLATFORM_LINUX
help help
lspci is a utility for displaying information about PCI buses in the lspci is a utility for displaying information about PCI buses in the
system and devices connected to them. system and devices connected to them.
@ -396,7 +396,7 @@ config LSPCI
config LSUSB config LSUSB
bool "lsusb" bool "lsusb"
default y default y
#depends on PLATFORM_LINUX #select PLATFORM_LINUX
help help
lsusb is a utility for displaying information about USB buses in the lsusb is a utility for displaying information about USB buses in the
system and devices connected to them. system and devices connected to them.
@ -406,7 +406,7 @@ config LSUSB
config MDEV config MDEV
bool "mdev" bool "mdev"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
mdev is a mini-udev implementation for dynamically creating device mdev is a mini-udev implementation for dynamically creating device
nodes in the /dev directory. nodes in the /dev directory.
@ -494,7 +494,7 @@ config MORE
config MOUNT config MOUNT
bool "mount" bool "mount"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
All files and filesystems in Unix are arranged into one big directory All files and filesystems in Unix are arranged into one big directory
tree. The 'mount' utility is used to graft a filesystem onto a tree. The 'mount' utility is used to graft a filesystem onto a
@ -577,7 +577,7 @@ config FEATURE_MOUNT_FSTAB
config PIVOT_ROOT config PIVOT_ROOT
bool "pivot_root" bool "pivot_root"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The pivot_root utility swaps the mount points for the root filesystem The pivot_root utility swaps the mount points for the root filesystem
with some other mounted filesystem. This allows you to do all sorts with some other mounted filesystem. This allows you to do all sorts
@ -605,14 +605,14 @@ config RDEV
config READPROFILE config READPROFILE
bool "readprofile" bool "readprofile"
default y default y
#depends on PLATFORM_LINUX #select PLATFORM_LINUX
help help
This allows you to parse /proc/profile for basic profiling. This allows you to parse /proc/profile for basic profiling.
config RTCWAKE config RTCWAKE
bool "rtcwake" bool "rtcwake"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
Enter a system sleep state until specified wakeup time. Enter a system sleep state until specified wakeup time.
@ -632,7 +632,7 @@ config SCRIPTREPLAY
config SETARCH config SETARCH
bool "setarch" bool "setarch"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The linux32 utility is used to create a 32bit environment for the The linux32 utility is used to create a 32bit environment for the
specified program (usually a shell). It only makes sense to have specified program (usually a shell). It only makes sense to have
@ -642,7 +642,7 @@ config SETARCH
config SWAPONOFF config SWAPONOFF
bool "swaponoff" bool "swaponoff"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
This option enables both the 'swapon' and the 'swapoff' utilities. This option enables both the 'swapon' and the 'swapoff' utilities.
Once you have created some swap space using 'mkswap', you also need Once you have created some swap space using 'mkswap', you also need
@ -661,7 +661,7 @@ config FEATURE_SWAPON_PRI
config SWITCH_ROOT config SWITCH_ROOT
bool "switch_root" bool "switch_root"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
The switch_root utility is used from initramfs to select a new The switch_root utility is used from initramfs to select a new
root device. Under initramfs, you have to use this instead of root device. Under initramfs, you have to use this instead of
@ -681,7 +681,7 @@ config SWITCH_ROOT
config UMOUNT config UMOUNT
bool "umount" bool "umount"
default y default y
depends on PLATFORM_LINUX select PLATFORM_LINUX
help help
When you want to remove a mounted filesystem from its current mount When you want to remove a mounted filesystem from its current mount
point, for example when you are shutting down the system, the point, for example when you are shutting down the system, the