rpcd: iwinfo plugin fixes
[openwrt.git] / package / utils / busybox / config / libbb / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
5 #
6
7 menu "Busybox Library Tuning"
8
9 config BUSYBOX_CONFIG_FEATURE_SYSTEMD
10         bool "Enable systemd support"
11         default BUSYBOX_DEFAULT_FEATURE_SYSTEMD
12         help
13           If you plan to use busybox daemons on a system where daemons
14           are controlled by systemd, enable this option.
15           If you don't use systemd, it is still safe to enable it,
16           but the downside is increased code size.
17 config BUSYBOX_CONFIG_FEATURE_RTMINMAX
18         bool "Support RTMIN[+n] and RTMAX[-n] signal names"
19         default BUSYBOX_DEFAULT_FEATURE_RTMINMAX
20         help
21           Support RTMIN[+n] and RTMAX[-n] signal names
22           in kill, killall etc. This costs ~250 bytes.
23
24 config BUSYBOX_CONFIG_PASSWORD_MINLEN
25         int "Minimum password length"
26         default BUSYBOX_DEFAULT_PASSWORD_MINLEN
27         range 5 32
28         help
29           Minimum allowable password length.
30
31 config BUSYBOX_CONFIG_MD5_SMALL
32         int "MD5: Trade bytes for speed (0:fast, 3:slow)"
33         default BUSYBOX_DEFAULT_MD5_SMALL
34         range 0 3
35         help
36           Trade binary size versus speed for the md5sum algorithm.
37           Approximate values running uClibc and hashing
38           linux-2.4.4.tar.bz2 were:
39                             user times (sec)  text size (386)
40           0 (fastest)         1.1                6144
41           1                   1.4                5392
42           2                   3.0                5088
43           3 (smallest)        5.1                4912
44
45 config BUSYBOX_CONFIG_SHA3_SMALL
46         int "SHA3: Trade bytes for speed (0:fast, 1:slow)"
47         default BUSYBOX_DEFAULT_SHA3_SMALL
48         range 0 1
49         help
50           Trade binary size versus speed for the sha3sum algorithm.
51           SHA3_SMALL=0 compared to SHA3_SMALL=1 (approximate):
52           64-bit x86: +270 bytes of code, 45% faster
53           32-bit x86: +450 bytes of code, 75% faster
54
55 config BUSYBOX_CONFIG_FEATURE_FAST_TOP
56         bool "Faster /proc scanning code (+100 bytes)"
57         default BUSYBOX_DEFAULT_FEATURE_FAST_TOP
58         help
59           This option makes top (and ps) ~20% faster (or 20% less CPU hungry),
60           but code size is slightly bigger.
61
62 config BUSYBOX_CONFIG_FEATURE_ETC_NETWORKS
63         bool "Support for /etc/networks"
64         default BUSYBOX_DEFAULT_FEATURE_ETC_NETWORKS
65         help
66           Enable support for network names in /etc/networks. This is
67           a rarely used feature which allows you to use names
68           instead of IP/mask pairs in route command.
69
70 config BUSYBOX_CONFIG_FEATURE_USE_TERMIOS
71         bool "Use termios to manipulate the screen"
72         default BUSYBOX_DEFAULT_FEATURE_USE_TERMIOS
73         depends on BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TOP || BUSYBOX_CONFIG_POWERTOP
74         help
75           This option allows utilities such as 'more' and 'top' to determine
76           the size of the screen. If you leave this disabled, your utilities
77           that display things on the screen will be especially primitive and
78           will be unable to determine the current screen size, and will be
79           unable to move the cursor.
80
81 config BUSYBOX_CONFIG_FEATURE_EDITING
82         bool "Command line editing"
83         default BUSYBOX_DEFAULT_FEATURE_EDITING
84         help
85           Enable line editing (mainly for shell command line).
86
87 config BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN
88         int "Maximum length of input"
89         range 128 8192
90         default BUSYBOX_DEFAULT_FEATURE_EDITING_MAX_LEN
91         depends on BUSYBOX_CONFIG_FEATURE_EDITING
92         help
93           Line editing code uses on-stack buffers for storage.
94           You may want to decrease this parameter if your target machine
95           benefits from smaller stack usage.
96
97 config BUSYBOX_CONFIG_FEATURE_EDITING_VI
98         bool "vi-style line editing commands"
99         default BUSYBOX_DEFAULT_FEATURE_EDITING_VI
100         depends on BUSYBOX_CONFIG_FEATURE_EDITING
101         help
102           Enable vi-style line editing. In shells, this mode can be
103           turned on and off with "set -o vi" and "set +o vi".
104
105 config BUSYBOX_CONFIG_FEATURE_EDITING_HISTORY
106         int "History size"
107         # Don't allow way too big values here, code uses fixed "char *history[N]" struct member
108         range 0 9999
109         default BUSYBOX_DEFAULT_FEATURE_EDITING_HISTORY
110         depends on BUSYBOX_CONFIG_FEATURE_EDITING
111         help
112           Specify command history size (0 - disable).
113
114 config BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
115         bool "History saving"
116         default BUSYBOX_DEFAULT_FEATURE_EDITING_SAVEHISTORY
117         depends on BUSYBOX_CONFIG_FEATURE_EDITING
118         help
119           Enable history saving in shells.
120
121 config BUSYBOX_CONFIG_FEATURE_EDITING_SAVE_ON_EXIT
122         bool "Save history on shell exit, not after every command"
123         default BUSYBOX_DEFAULT_FEATURE_EDITING_SAVE_ON_EXIT
124         depends on BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
125         help
126           Save history on shell exit, not after every command.
127
128 config BUSYBOX_CONFIG_FEATURE_REVERSE_SEARCH
129         bool "Reverse history search"
130         default BUSYBOX_DEFAULT_FEATURE_REVERSE_SEARCH
131         depends on BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
132         help
133           Enable readline-like Ctrl-R combination for reverse history search.
134           Increases code by about 0.5k.
135
136 config BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
137         bool "Tab completion"
138         default BUSYBOX_DEFAULT_FEATURE_TAB_COMPLETION
139         depends on BUSYBOX_CONFIG_FEATURE_EDITING
140         help
141           Enable tab completion.
142
143 config BUSYBOX_CONFIG_FEATURE_USERNAME_COMPLETION
144         bool "Username completion"
145         default BUSYBOX_DEFAULT_FEATURE_USERNAME_COMPLETION
146         depends on BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
147         help
148           Enable username completion.
149
150 config BUSYBOX_CONFIG_FEATURE_EDITING_FANCY_PROMPT
151         bool "Fancy shell prompts"
152         default BUSYBOX_DEFAULT_FEATURE_EDITING_FANCY_PROMPT
153         depends on BUSYBOX_CONFIG_FEATURE_EDITING
154         help
155           Setting this option allows for prompts to use things like \w and
156           \$ and escape codes.
157
158 config BUSYBOX_CONFIG_FEATURE_EDITING_ASK_TERMINAL
159         bool "Query cursor position from terminal"
160         default BUSYBOX_DEFAULT_FEATURE_EDITING_ASK_TERMINAL
161         depends on BUSYBOX_CONFIG_FEATURE_EDITING
162         help
163           Allow usage of "ESC [ 6 n" sequence. Terminal answers back with
164           current cursor position. This information is used to make line
165           editing more robust in some cases.
166           If you are not sure whether your terminals respond to this code
167           correctly, or want to save on code size (about 400 bytes),
168           then do not turn this option on.
169
170 config BUSYBOX_CONFIG_FEATURE_NON_POSIX_CP
171         bool "Non-POSIX, but safer, copying to special nodes"
172         default BUSYBOX_DEFAULT_FEATURE_NON_POSIX_CP
173         help
174           With this option, "cp file symlink" will delete symlink
175           and create a regular file. This does not conform to POSIX,
176           but prevents a symlink attack.
177           Similarly, "cp file device" will not send file's data
178           to the device. (To do that, use "cat file >device")
179
180 config BUSYBOX_CONFIG_FEATURE_VERBOSE_CP_MESSAGE
181         bool "Give more precise messages when copy fails (cp, mv etc)"
182         default BUSYBOX_DEFAULT_FEATURE_VERBOSE_CP_MESSAGE
183         help
184           Error messages with this feature enabled:
185             $ cp file /does_not_exist/file
186             cp: cannot create '/does_not_exist/file': Path does not exist
187             $ cp file /vmlinuz/file
188             cp: cannot stat '/vmlinuz/file': Path has non-directory component
189           If this feature is not enabled, they will be, respectively:
190             cp: cannot create '/does_not_exist/file': No such file or directory
191             cp: cannot stat '/vmlinuz/file': Not a directory
192           This will cost you ~60 bytes.
193
194 config BUSYBOX_CONFIG_FEATURE_COPYBUF_KB
195         int "Copy buffer size, in kilobytes"
196         range 1 1024
197         default BUSYBOX_DEFAULT_FEATURE_COPYBUF_KB
198         help
199           Size of buffer used by cp, mv, install, wget etc.
200           Buffers which are 4 kb or less will be allocated on stack.
201           Bigger buffers will be allocated with mmap, with fallback to 4 kb
202           stack buffer if mmap fails.
203
204 config BUSYBOX_CONFIG_FEATURE_SKIP_ROOTFS
205         bool "Skip rootfs in mount table"
206         default BUSYBOX_DEFAULT_FEATURE_SKIP_ROOTFS
207         help
208           Ignore rootfs entry in mount table.
209
210           In Linux, kernel has a special filesystem, rootfs, which is initially
211           mounted on /. It contains initramfs data, if kernel is configured
212           to have one. Usually, another file system is mounted over / early
213           in boot process, and therefore most tools which manipulate
214           mount table, such as df, will skip rootfs entry.
215
216           However, some systems do not mount anything on /.
217           If you need to configure busybox for one of these systems,
218           you may find it useful to turn this option off to make df show
219           initramfs statistics.
220
221           Otherwise, choose Y.
222
223 config BUSYBOX_CONFIG_MONOTONIC_SYSCALL
224         bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
225         default BUSYBOX_DEFAULT_MONOTONIC_SYSCALL
226         select BUSYBOX_CONFIG_PLATFORM_LINUX
227         help
228           Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
229           time intervals (time, ping, traceroute etc need this).
230           Probably requires Linux 2.6+. If not selected, gettimeofday
231           will be used instead (which gives wrong results if date/time
232           is reset).
233
234 config BUSYBOX_CONFIG_IOCTL_HEX2STR_ERROR
235         bool "Use ioctl names rather than hex values in error messages"
236         default BUSYBOX_DEFAULT_IOCTL_HEX2STR_ERROR
237         help
238           Use ioctl names rather than hex values in error messages
239           (e.g. VT_DISALLOCATE rather than 0x5608). If disabled this
240           saves about 1400 bytes.
241
242 config BUSYBOX_CONFIG_FEATURE_HWIB
243         bool "Support infiniband HW"
244         default BUSYBOX_DEFAULT_FEATURE_HWIB
245         help
246           Support for printing infiniband addresses in
247           network applets.
248
249 endmenu