aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2016-11-29 11:26:45 +0000
committerRon Yorston <rmy@pobox.com>2016-11-29 11:26:45 +0000
commitbb8d79eadbba1942dbdb9f9cee5c47833afe269f (patch)
treeb8c517e9ca895d60d7227aef7177b6291df5e2cd /Config.in
parent9fa1e4990e655a85025c9d270a1606983e375e47 (diff)
parent7d877fc9312a742b06125927bb1d34bd35398c6c (diff)
downloadbusybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.tar.gz
busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.tar.bz2
busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in315
1 files changed, 74 insertions, 241 deletions
diff --git a/Config.in b/Config.in
index f9f6a3735..594b16b76 100644
--- a/Config.in
+++ b/Config.in
@@ -25,15 +25,18 @@ endchoice
25 25
26menu "Busybox Settings" 26menu "Busybox Settings"
27 27
28menu "General Configuration"
29
30config DESKTOP 28config DESKTOP
31 bool "Enable options for full-blown desktop systems" 29 bool "Enable options for full-blown desktop systems"
32 default y 30 default y
33 help 31 help
34 Enable options and features which are not essential. 32 Enable options and features which are not essential.
35 Select this only if you plan to use busybox on full-blown 33 Select this if you plan to use busybox on full-blown desktop machine
36 desktop machine with common Linux distro, not on an embedded box. 34 with common Linux distro, which needs higher level of command-line
35 compatibility.
36
37 If you are preparing your build to be used on an embedded box
38 where you have tighter control over the entire set of userspace
39 tools, you can unselect this option for smaller code size.
37 40
38config EXTRA_COMPAT 41config EXTRA_COMPAT
39 bool "Provide compatible behavior for rare corner cases (bigger code)" 42 bool "Provide compatible behavior for rare corner cases (bigger code)"
@@ -72,30 +75,6 @@ config PLATFORM_LINUX
72 Answering 'N' here will disable such applets and hide the 75 Answering 'N' here will disable such applets and hide the
73 corresponding configuration options. 76 corresponding configuration options.
74 77
75choice
76 prompt "Buffer allocation policy"
77 default FEATURE_BUFFERS_USE_MALLOC
78 help
79 There are 3 ways BusyBox can handle buffer allocations:
80 - Use malloc. This costs code size for the call to xmalloc.
81 - Put them on stack. For some very small machines with limited stack
82 space, this can be deadly. For most folks, this works just fine.
83 - Put them in BSS. This works beautifully for computers with a real
84 MMU (and OS support), but wastes runtime RAM for uCLinux. This
85 behavior was the only one available for BusyBox versions 0.48 and
86 earlier.
87
88config FEATURE_BUFFERS_USE_MALLOC
89 bool "Allocate with Malloc"
90
91config FEATURE_BUFFERS_GO_ON_STACK
92 bool "Allocate on the Stack"
93
94config FEATURE_BUFFERS_GO_IN_BSS
95 bool "Allocate in the .bss section"
96
97endchoice
98
99config SHOW_USAGE 78config SHOW_USAGE
100 bool "Show applet usage messages" 79 bool "Show applet usage messages"
101 default y 80 default y
@@ -158,131 +137,6 @@ config INSTALL_NO_USR
158 will install applets only to /bin and /sbin, 137 will install applets only to /bin and /sbin,
159 never to /usr/bin or /usr/sbin. 138 never to /usr/bin or /usr/sbin.
160 139
161config LOCALE_SUPPORT
162 bool "Enable locale support (system needs locale for this to work)"
163 default n
164 help
165 Enable this if your system has locale support and you would like
166 busybox to support locale settings.
167
168config UNICODE_SUPPORT
169 bool "Support Unicode"
170 default y
171 help
172 This makes various applets aware that one byte is not
173 one character on screen.
174
175 Busybox aims to eventually work correctly with Unicode displays.
176 Any older encodings are not guaranteed to work.
177 Probably by the time when busybox will be fully Unicode-clean,
178 other encodings will be mainly of historic interest.
179
180config UNICODE_USING_LOCALE
181 bool "Use libc routines for Unicode (else uses internal ones)"
182 default n
183 depends on UNICODE_SUPPORT && LOCALE_SUPPORT
184 help
185 With this option on, Unicode support is implemented using libc
186 routines. Otherwise, internal implementation is used.
187 Internal implementation is smaller.
188
189config FEATURE_CHECK_UNICODE_IN_ENV
190 bool "Check $LC_ALL, $LC_CTYPE and $LANG environment variables"
191 default n
192 depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE
193 help
194 With this option on, Unicode support is activated
195 only if locale-related variables have the value of the form
196 "xxxx.utf8"
197
198 Otherwise, Unicode support will be always enabled and active.
199
200config SUBST_WCHAR
201 int "Character code to substitute unprintable characters with"
202 depends on UNICODE_SUPPORT
203 default 63
204 help
205 Typical values are 63 for '?' (works with any output device),
206 30 for ASCII substitute control code,
207 65533 (0xfffd) for Unicode replacement character.
208
209config LAST_SUPPORTED_WCHAR
210 int "Range of supported Unicode characters"
211 depends on UNICODE_SUPPORT
212 default 767
213 help
214 Any character with Unicode value bigger than this is assumed
215 to be non-printable on output device. Many applets replace
216 such chars with substitution character.
217
218 The idea is that many valid printable Unicode chars are
219 nevertheless are not displayed correctly. Think about
220 combining charachers, double-wide hieroglyphs, obscure
221 characters in dozens of ancient scripts...
222 Many terminals, terminal emulators, xterms etc will fail
223 to handle them correctly. Choose the smallest value
224 which suits your needs.
225
226 Typical values are:
227 126 - ASCII only
228 767 (0x2ff) - there are no combining chars in [0..767] range
229 (the range includes Latin 1, Latin Ext. A and B),
230 code is ~700 bytes smaller for this case.
231 4351 (0x10ff) - there are no double-wide chars in [0..4351] range,
232 code is ~300 bytes smaller for this case.
233 12799 (0x31ff) - nearly all non-ideographic characters are
234 available in [0..12799] range, including
235 East Asian scripts like katakana, hiragana, hangul,
236 bopomofo...
237 0 - off, any valid printable Unicode character will be printed.
238
239config UNICODE_COMBINING_WCHARS
240 bool "Allow zero-width Unicode characters on output"
241 default n
242 depends on UNICODE_SUPPORT
243 help
244 With this option off, any Unicode char with width of 0
245 is substituted on output.
246
247config UNICODE_WIDE_WCHARS
248 bool "Allow wide Unicode characters on output"
249 default n
250 depends on UNICODE_SUPPORT
251 help
252 With this option off, any Unicode char with width > 1
253 is substituted on output.
254
255config UNICODE_BIDI_SUPPORT
256 bool "Bidirectional character-aware line input"
257 default n
258 depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE
259 help
260 With this option on, right-to-left Unicode characters
261 are treated differently on input (e.g. cursor movement).
262
263config UNICODE_NEUTRAL_TABLE
264 bool "In bidi input, support non-ASCII neutral chars too"
265 default n
266 depends on UNICODE_BIDI_SUPPORT
267 help
268 In most cases it's enough to treat only ASCII non-letters
269 (i.e. punctuation, numbers and space) as characters
270 with neutral directionality.
271 With this option on, more extensive (and bigger) table
272 of neutral chars will be used.
273
274config UNICODE_PRESERVE_BROKEN
275 bool "Make it possible to enter sequences of chars which are not Unicode"
276 default n
277 depends on UNICODE_SUPPORT
278 help
279 With this option on, on line-editing input (such as used by shells)
280 invalid UTF-8 bytes are not substituted with the selected
281 substitution character.
282 For example, this means that entering 'l', 's', ' ', 0xff, [Enter]
283 at shell prompt will list file named 0xff (single char name
284 with char value 255), not file named '?'.
285
286config PAM 140config PAM
287 bool "Support for PAM (Pluggable Authentication Modules)" 141 bool "Support for PAM (Pluggable Authentication Modules)"
288 default n 142 default n
@@ -290,19 +144,6 @@ config PAM
290 Use PAM in some busybox applets (currently login and httpd) instead 144 Use PAM in some busybox applets (currently login and httpd) instead
291 of direct access to password database. 145 of direct access to password database.
292 146
293config FEATURE_USE_SENDFILE
294 bool "Use sendfile system call"
295 default y
296 select PLATFORM_LINUX
297 help
298 When enabled, busybox will use the kernel sendfile() function
299 instead of read/write loops to copy data between file descriptors
300 (for example, cp command does this a lot).
301 If sendfile() doesn't work, copying code falls back to read/write
302 loop. sendfile() was originally implemented for faster I/O
303 from files to sockets, but since Linux 2.6.33 it was extended
304 to work for many more file types.
305
306config LONG_OPTS 147config LONG_OPTS
307 bool "Support for --long-options" 148 bool "Support for --long-options"
308 default y 149 default y
@@ -511,9 +352,7 @@ config FEATURE_HAVE_RPC
511 # This is automatically selected if any of enabled applets need it. 352 # This is automatically selected if any of enabled applets need it.
512 # You do not need to select it manually. 353 # You do not need to select it manually.
513 354
514endmenu 355comment 'Build Options'
515
516menu 'Build Options'
517 356
518config STATIC 357config STATIC
519 bool "Build BusyBox as a static binary (no shared libs)" 358 bool "Build BusyBox as a static binary (no shared libs)"
@@ -710,9 +549,73 @@ config EXTRA_LDLIBS
710 help 549 help
711 Additional LDLIBS to pass to the linker with -l. 550 Additional LDLIBS to pass to the linker with -l.
712 551
713endmenu 552comment 'Installation Options ("make install" behavior)'
553
554choice
555 prompt "What kind of applet links to install"
556 default INSTALL_APPLET_SYMLINKS
557 help
558 Choose what kind of links to applets are created by "make install".
559
560config INSTALL_APPLET_SYMLINKS
561 bool "as soft-links"
562 help
563 Install applets as soft-links to the busybox binary. This needs some
564 free inodes on the filesystem, but might help with filesystem
565 generators that can't cope with hard-links.
566
567config INSTALL_APPLET_HARDLINKS
568 bool "as hard-links"
569 help
570 Install applets as hard-links to the busybox binary. This might
571 count on a filesystem with few inodes.
572
573config INSTALL_APPLET_SCRIPT_WRAPPERS
574 bool "as script wrappers"
575 help
576 Install applets as script wrappers that call the busybox binary.
577
578config INSTALL_APPLET_DONT
579 bool "not installed"
580 help
581 Do not install applet links. Useful when you plan to use
582 busybox --install for installing links, or plan to use
583 a standalone shell and thus don't need applet links.
584
585endchoice
586
587choice
588 prompt "/bin/sh applet link"
589 default INSTALL_SH_APPLET_SYMLINK
590 depends on INSTALL_APPLET_SCRIPT_WRAPPERS
591 help
592 Choose how you install /bin/sh applet link.
593
594config INSTALL_SH_APPLET_SYMLINK
595 bool "as soft-link"
596 help
597 Install /bin/sh applet as soft-link to the busybox binary.
714 598
715menu 'Debugging Options' 599config INSTALL_SH_APPLET_HARDLINK
600 bool "as hard-link"
601 help
602 Install /bin/sh applet as hard-link to the busybox binary.
603
604config INSTALL_SH_APPLET_SCRIPT_WRAPPER
605 bool "as script wrapper"
606 help
607 Install /bin/sh applet as script wrapper that calls
608 the busybox binary.
609
610endchoice
611
612config PREFIX
613 string "BusyBox installation prefix"
614 default "./_install"
615 help
616 Define your directory to install BusyBox files/subdirs in.
617
618comment 'Debugging Options'
716 619
717config DEBUG 620config DEBUG
718 bool "Build BusyBox with extra Debugging symbols" 621 bool "Build BusyBox with extra Debugging symbols"
@@ -806,78 +709,8 @@ endchoice
806 709
807endmenu 710endmenu
808 711
809menu 'Installation Options ("make install" behavior)'
810
811choice
812 prompt "What kind of applet links to install"
813 default INSTALL_APPLET_SYMLINKS
814 help
815 Choose what kind of links to applets are created by "make install".
816
817config INSTALL_APPLET_SYMLINKS
818 bool "as soft-links"
819 help
820 Install applets as soft-links to the busybox binary. This needs some
821 free inodes on the filesystem, but might help with filesystem
822 generators that can't cope with hard-links.
823
824config INSTALL_APPLET_HARDLINKS
825 bool "as hard-links"
826 help
827 Install applets as hard-links to the busybox binary. This might
828 count on a filesystem with few inodes.
829
830config INSTALL_APPLET_SCRIPT_WRAPPERS
831 bool "as script wrappers"
832 help
833 Install applets as script wrappers that call the busybox binary.
834
835config INSTALL_APPLET_DONT
836 bool "not installed"
837 help
838 Do not install applet links. Useful when you plan to use
839 busybox --install for installing links, or plan to use
840 a standalone shell and thus don't need applet links.
841
842endchoice
843
844choice
845 prompt "/bin/sh applet link"
846 default INSTALL_SH_APPLET_SYMLINK
847 depends on INSTALL_APPLET_SCRIPT_WRAPPERS
848 help
849 Choose how you install /bin/sh applet link.
850
851config INSTALL_SH_APPLET_SYMLINK
852 bool "as soft-link"
853 help
854 Install /bin/sh applet as soft-link to the busybox binary.
855
856config INSTALL_SH_APPLET_HARDLINK
857 bool "as hard-link"
858 help
859 Install /bin/sh applet as hard-link to the busybox binary.
860
861config INSTALL_SH_APPLET_SCRIPT_WRAPPER
862 bool "as script wrapper"
863 help
864 Install /bin/sh applet as script wrapper that calls
865 the busybox binary.
866
867endchoice
868
869config PREFIX
870 string "BusyBox installation prefix"
871 default "./_install"
872 help
873 Define your directory to install BusyBox files/subdirs in.
874
875endmenu
876
877source libbb/Config.in 712source libbb/Config.in
878 713
879endmenu
880
881comment "Applets" 714comment "Applets"
882 715
883source archival/Config.in 716source archival/Config.in