blob: 6bbeffb431448be1fd80668a80d5890017291372 [file] [log] [blame]
Rob Landley5cf7c2d2006-02-21 06:44:43 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Busybox Library Tuning"
7
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config PASSWORD_MINLEN
"Robert P. J. Day"087b9d62006-07-02 18:35:39 +00009 int "Minimum password length"
10 default 6
11 range 5 32
12 help
13 Minimum allowable password length.
14
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000015config MD5_SIZE_VS_SPEED
Rob Landley5cf7c2d2006-02-21 06:44:43 +000016 int " MD5: Trade Bytes for Speed"
17 default 2
18 range 0 3
19 help
20 Trade binary size versus speed for the md5sum algorithm.
21 Approximate values running uClibc and hashing
22 linux-2.4.4.tar.bz2 were:
23 user times (sec) text size (386)
24 0 (fastest) 1.1 6144
25 1 1.4 5392
26 2 3.0 5088
27 3 (smallest) 5.1 4912
28
Denis Vlasenko3afac4c2007-06-19 13:46:24 +000029config FEATURE_FAST_TOP
30 bool "Faster /proc scanning code (+100 bytes)"
31 default n
32 help
33 This option makes top (and ps) ~20% faster (or 20% less CPU hungry),
34 but code size is slightly bigger.
35
Denis Vlasenkoa61cb922007-06-19 11:24:47 +000036config FEATURE_ETC_NETWORKS
37 bool "Support for /etc/networks"
38 default n
39 help
40 Enable support for network names in /etc/networks. This is
41 a rarely used feature which allows you to use names
42 instead of IP/mask pairs in route command.
43
Denis Vlasenko38f63192007-01-22 09:03:07 +000044config FEATURE_EDITING
45 bool "Command line editing"
46 default n
47 help
Denis Vlasenkoe8a07882007-06-10 15:08:44 +000048 Enable line editing (mainly for shell command line).
49
50config FEATURE_EDITING_MAX_LEN
51 int "Maximum length of input"
52 range 128 8192
53 default 1024
54 depends on FEATURE_EDITING
55 help
56 Line editing code uses on-stack buffers for storage.
57 You may want to decrease this parameter if your target machine
58 benefits from smaller stack usage.
Denis Vlasenko38f63192007-01-22 09:03:07 +000059
60config FEATURE_EDITING_FANCY_KEYS
61 bool "Additional editing keys"
62 default n
63 depends on FEATURE_EDITING
64 help
65 Enable additonal editing keys (Ctrl-E, Ctrl-U etc).
66 Arrow keys, Home/End/Delete and Ctrl-W work even without this option.
67
68config FEATURE_EDITING_VI
69 bool "vi-style line editing commands"
70 default n
71 depends on FEATURE_EDITING
72 help
73 Enable vi-style line editing. In shells, this mode can be
74 turned on and off with "set -o vi" and "set +o vi".
75
76config FEATURE_EDITING_HISTORY
77 int "History size"
78 range 0 99999
79 default 15
80 depends on FEATURE_EDITING
81 help
82 Specify command history size.
83
84config FEATURE_EDITING_SAVEHISTORY
85 bool "History saving"
86 default n
87 depends on ASH && FEATURE_EDITING
88 help
89 Enable history saving in ash shell.
90
91config FEATURE_TAB_COMPLETION
92 bool "Tab completion"
93 default n
94 depends on FEATURE_EDITING
95 help
96 Enable tab completion.
97
98config FEATURE_USERNAME_COMPLETION
99 bool "Username completion"
100 default n
101 depends on FEATURE_TAB_COMPLETION
102 help
103 Enable username completion.
104
105config FEATURE_EDITING_FANCY_PROMPT
106 bool "Fancy shell prompts"
107 default n
108 depends on FEATURE_EDITING
109 help
110 Setting this option allows for prompts to use things like \w and
111 \$ and escape codes.
112
Denis Vlasenko4c139222007-12-02 03:27:42 +0000113config FEATURE_COPYBUF_KB
114 int "Copy buffer size, in kilobytes"
115 range 1 1024
116 default 4
117 help
118 Size of buffer used by cp, mv, install etc.
119 Buffers which are 4 kb or less will be allocated on stack.
120 Bigger buffers will be allocated with mmap, with fallback to 4 kb
121 stack buffer if mmap fails.
122
Denis Vlasenko459be352007-06-17 19:09:05 +0000123config MONOTONIC_SYSCALL
124 bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
125 default y
126 help
127 Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
128 time intervals (time, ping, traceroute etc need this).
129 Probably requires Linux 2.6+. If not selected, gettimeofday
130 will be used instead (which gives wrong results if date/time
131 is reset).
132
Denis Vlasenkofb79a2e2007-07-14 22:07:14 +0000133config IOCTL_HEX2STR_ERROR
134 bool "Use ioctl names rather than hex values in error messages"
135 default y
136 help
137 Use ioctl names rather than hex values in error messages
138 (e.g. VT_DISALLOCATE rather than 0x5608). If disabled this
139 saves about 1400 bytes.
Rob Landley5cf7c2d2006-02-21 06:44:43 +0000140endmenu