summaryrefslogtreecommitdiff
path: root/package/busybox/config/miscutils
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2011-04-12 18:31:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-12 20:02:31 +0200
commit36e2dea8b335502fbbd367d7d09018bc58769a0e (patch)
tree7620659d77fca6f8572a54d48398d939cff7b3b0 /package/busybox/config/miscutils
parent933e74c07231e815bbfd9ed90073308eaf253a00 (diff)
package/busybox: minor update, some fixes and comments
- update to 1.18.4 - introduce BB_MAKE_FLAGS, simplifying package/busybox/Makefile a bit - document how the package/busybox/config may be updated - document what needs to be done so one may drop 003-defaults.patch - update package/busybox/config, a few busybox features were not selectable
Diffstat (limited to 'package/busybox/config/miscutils')
-rw-r--r--package/busybox/config/miscutils/Config.in97
1 files changed, 82 insertions, 15 deletions
diff --git a/package/busybox/config/miscutils/Config.in b/package/busybox/config/miscutils/Config.in
index bb7fb2aa7..cbdcca9ce 100644
--- a/package/busybox/config/miscutils/Config.in
+++ b/package/busybox/config/miscutils/Config.in
@@ -5,9 +5,52 @@
menu "Miscellaneous Utilities"
+config BUSYBOX_CONSPY
+ bool "conspy"
+ default n
+ depends on BUSYBOX_PLATFORM_LINUX
+ help
+ A text-mode VNC like program for Linux virtual terminals.
+ example: conspy NUM shared access to console num
+ or conspy -nd NUM screenshot of console num
+ or conspy -cs NUM poor man's GNU screen like
+
+config BUSYBOX_NANDWRITE
+ bool "nandwrite"
+ default n
+ depends on BUSYBOX_PLATFORM_LINUX
+ depends on !ADK_PACKAGE_NAND
+ default y if ADK_TARGET_WITH_NAND
+ help
+ Write to the specified MTD device, with bad blocks awareness
+
+config BUSYBOX_NANDDUMP
+ bool "nanddump"
+ default n
+ depends on BUSYBOX_PLATFORM_LINUX
+ depends on !ADK_PACKAGE_NAND
+ default y if ADK_TARGET_WITH_NAND
+ help
+ Dump the content of raw NAND chip
+
+config BUSYBOX_UBIATTACH
+ bool "ubiattach"
+ default n
+ depends on BUSYBOX_PLATFORM_LINUX
+ help
+ Attach MTD device to an UBI device.
+
+config BUSYBOX_UBIDETACH
+ bool "ubidetach"
+ default n
+ depends on BUSYBOX_PLATFORM_LINUX
+ help
+ Detach MTD device from an UBI device.
+
config BUSYBOX_ADJTIMEX
bool "adjtimex"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
Adjtimex reads and optionally sets adjustment parameters for
the Linux clock adjustment algorithm.
@@ -19,9 +62,24 @@ config BUSYBOX_BBCONFIG
The bbconfig applet will print the config file with which
busybox was built.
+config BUSYBOX_FEATURE_COMPRESS_BBCONFIG
+ bool "Compress bbconfig data"
+ default y
+ depends on BUSYBOX_BBCONFIG
+ help
+ Store bbconfig data in compressed form, uncompress them on-the-fly
+ before output.
+
+ If you have a really tiny busybox with few applets enabled (and
+ bunzip2 isn't one of them), the overhead of the decompressor might
+ be noticeable. Also, if you run executables directly from ROM
+ and have very little memory, this might not be a win. Otherwise,
+ you probably want this.
+
config BUSYBOX_BEEP
bool "beep"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
The beep applets beeps in a given freq/Hz.
@@ -178,6 +236,7 @@ config BUSYBOX_FEATURE_DC_LIBM
config BUSYBOX_DEVFSD
bool "devfsd (obsolete)"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
select BUSYBOX_FEATURE_SYSLOG
help
This is deprecated and should NOT be used anymore.
@@ -221,6 +280,7 @@ config BUSYBOX_DEVFSD_VERBOSE
config BUSYBOX_FEATURE_DEVFS
bool "Use devfs names for all devices (obsolete)"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
This is obsolete and should NOT be used anymore.
Use linux >= 2.6 (optionally with hotplug) and mdev instead!
@@ -240,6 +300,7 @@ config BUSYBOX_DEVMEM
config BUSYBOX_EJECT
bool "eject"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
Used to eject cdroms. (defaults to /dev/cdrom)
@@ -254,6 +315,7 @@ config BUSYBOX_FEATURE_EJECT_SCSI
config BUSYBOX_FBSPLASH
bool "fbsplash"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
Shows splash image and progress bar on framebuffer device.
Can be used during boot phase of an embedded device. ~2kb.
@@ -267,7 +329,7 @@ config BUSYBOX_FBSPLASH
-i path_to_cfg_file (can be "-" for stdin)
-f path_to_fifo (can be "-" for stdin)
- if you want to run it only in presence of kernel parameter:
- grep -q "fbsplash=on" </proc/cmdline && BUSYBOX_setsid fbsplash [params] &
+ grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
- commands for fifo:
"NN" (ASCII decimal number) - percentage to show on progress bar
"exit" - well you guessed it
@@ -303,6 +365,7 @@ config BUSYBOX_FLASH_ERASEALL
config BUSYBOX_IONICE
bool "ionice"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
Set/set program io scheduling class and priority
Requires kernel >= 2.6.13
@@ -324,7 +387,7 @@ config BUSYBOX_LAST
choice
prompt "Choose last implementation"
depends on BUSYBOX_LAST
- default FEATURE_LAST_SMALL
+ default BUSYBOX_FEATURE_LAST_SMALL
config BUSYBOX_FEATURE_LAST_SMALL
bool "small"
@@ -409,7 +472,8 @@ config BUSYBOX_FEATURE_LESS_LINENUMS
config BUSYBOX_HDPARM
bool "hdparm"
depends on !ADK_PACKAGE_HDPARM
- default n
+ default y
+ depends on BUSYBOX_PLATFORM_LINUX
help
Get/Set hard drive parameters. Primarily intended for ATA
drives. Adds about 13k (or around 30k if you enable the
@@ -471,15 +535,15 @@ config BUSYBOX_MAKEDEVS
help
'makedevs' is a utility used to create a batch of devices with
one command.
- .
+
There are two choices for command line behaviour, the interface
as used by LEAF/Linux Router Project, or a device table file.
- .
+
'leaf' is traditionally what busybox follows, it allows multiple
devices of a particluar type to be created per command.
e.g. /dev/hda[0-9]
Device properties are passed as command line arguments.
- .
+
'table' reads device properties from a file or stdin, allowing
a batch of unrelated devices to be made with one command.
User/group names are allowed as an alternative to uid/gid.
@@ -526,6 +590,7 @@ config BUSYBOX_MT
config BUSYBOX_RAIDAUTORUN
bool "raidautorun"
default n
+ depends on BUSYBOX_PLATFORM_LINUX
help
raidautorun tells the kernel md driver to
search and start RAID arrays.
@@ -533,7 +598,7 @@ config BUSYBOX_RAIDAUTORUN
config BUSYBOX_READAHEAD
bool "readahead"
default n
- depends on BUSYBOX_LFS
+ depends on BUSYBOX_LFS && BUSYBOX_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.
@@ -548,15 +613,16 @@ config BUSYBOX_READAHEAD
run this applet as a background job.
config BUSYBOX_RFKILL
- bool "rfkill"
- default y # doesn't build on Ubuntu 9.04
- help
- Enable/disable wireless devices.
+ bool "rfkill"
+ default y # doesn't build on Ubuntu 9.04
+ depends on BUSYBOX_PLATFORM_LINUX
+ help
+ Enable/disable wireless devices.
- rfkill list : list all wireless devices
- rfkill list bluetooth : list all bluetooth devices
- rfkill list 1 : list device corresponding to the given index
- rfkill block|unblock wlan : block/unblock all wlan(wifi) devices
+ rfkill list : list all wireless devices
+ rfkill list bluetooth : list all bluetooth devices
+ rfkill list 1 : list device corresponding to the given index
+ rfkill block|unblock wlan : block/unblock all wlan(wifi) devices
config BUSYBOX_RUNLEVEL
bool "runlevel"
@@ -642,6 +708,7 @@ config BUSYBOX_WATCHDOG
bool "watchdog"
depends on !ADK_PACKAGE_WATCHDOG
default y
+ depends on BUSYBOX_PLATFORM_LINUX
help
The watchdog utility is used with hardware or software watchdog
device drivers. It opens the specified watchdog device special file