blob: 4835bd94359b3a9b63d85a0c3093e39d74cfc668 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6mainmenu "BusyBox Configuration"
7
8config HAVE_DOT_CONFIG
9 bool
10 default y
11
12menu "Busybox Settings"
13
14menu "General Configuration"
15
16config DESKTOP
17 bool "Enable options for full-blown desktop systems"
18 default y
19 help
20 Enable options and features which are not essential.
21 Select this only if you plan to use busybox on full-blown
22 desktop machine with common Linux distro, not on an embedded box.
23
24config EXTRA_COMPAT
25 bool "Provide compatible behavior for rare corner cases (bigger code)"
26 default n
27 help
28 This option makes grep, sed etc handle rare corner cases
29 (embedded NUL bytes and such). This makes code bigger and uses
30 some GNU extensions in libc. You probably only need this option
31 if you plan to run busybox on desktop.
32
33config INCLUDE_SUSv2
34 bool "Enable obsolete features removed before SUSv3"
35 default y
36 help
37 This option will enable backwards compatibility with SuSv2,
38 specifically, old-style numeric options ('command -1 <file>')
39 will be supported in head, tail, and fold. (Note: should
40 affect renice too.)
41
42config USE_PORTABLE_CODE
43 bool "Avoid using GCC-specific code constructs"
44 default n
45 help
46 Use this option if you are trying to compile busybox with
47 compiler other than gcc.
48 If you do use gcc, this option may needlessly increase code size.
49
50config PLATFORM_LINUX
51 bool "Enable Linux-specific applets and features"
52 default y
53 help
54 For the most part, busybox requires only POSIX compatibility
55 from the target system, but some applets and features use
56 Linux-specific interfaces.
57
58 Answering 'N' here will disable such applets and hide the
59 corresponding configuration options.
60
61choice
62 prompt "Buffer allocation policy"
63 default FEATURE_BUFFERS_USE_MALLOC
64 help
65 There are 3 ways BusyBox can handle buffer allocations:
66 - Use malloc. This costs code size for the call to xmalloc.
67 - Put them on stack. For some very small machines with limited stack
68 space, this can be deadly. For most folks, this works just fine.
69 - Put them in BSS. This works beautifully for computers with a real
70 MMU (and OS support), but wastes runtime RAM for uCLinux. This
71 behavior was the only one available for BusyBox versions 0.48 and
72 earlier.
73
74config FEATURE_BUFFERS_USE_MALLOC
75 bool "Allocate with Malloc"
76
77config FEATURE_BUFFERS_GO_ON_STACK
78 bool "Allocate on the Stack"
79
80config FEATURE_BUFFERS_GO_IN_BSS
81 bool "Allocate in the .bss section"
82
83endchoice
84
85config SHOW_USAGE
86 bool "Show applet usage messages"
87 default y
88 help
89 Enabling this option, BusyBox applets will show terse help messages
90 when invoked with wrong arguments.
91 If you do not want to show any (helpful) usage message when
92 issuing wrong command syntax, you can say 'N' here,
93 saving approximately 7k.
94
95config FEATURE_VERBOSE_USAGE
96 bool "Show verbose applet usage messages"
97 default y
98 depends on SHOW_USAGE
99 help
100 All BusyBox applets will show verbose help messages when
101 busybox is invoked with --help. This will add a lot of text to the
102 busybox binary. In the default configuration, this will add about
103 13k, but it can add much more depending on your configuration.
104
105config FEATURE_COMPRESS_USAGE
106 bool "Store applet usage messages in compressed form"
107 default y
108 depends on SHOW_USAGE
109 help
110 Store usage messages in .bz compressed form, uncompress them
111 on-the-fly when <applet> --help is called.
112
113 If you have a really tiny busybox with few applets enabled (and
114 bunzip2 isn't one of them), the overhead of the decompressor might
115 be noticeable. Also, if you run executables directly from ROM
116 and have very little memory, this might not be a win. Otherwise,
117 you probably want this.
118
119config FEATURE_INSTALLER
120 bool "Support --install [-s] to install applet links at runtime"
121 default y
122 help
123 Enable 'busybox --install [-s]' support. This will allow you to use
124 busybox at runtime to create hard links or symlinks for all the
125 applets that are compiled into busybox.
126
127config INSTALL_NO_USR
128 bool "Don't use /usr"
129 default n
130 help
131 Disable use of /usr. busybox --install and "make install"
132 will install applets only to /bin and /sbin,
133 never to /usr/bin or /usr/sbin.
134
135config INSTALL_TO_RECOVERY
136 bool "select install busybox to /recovery"
137 default n
138 help
139 Enable this if your system is recovery version for FOTA
140 will install applets only to /recovery
141
142config LOCALE_SUPPORT
143 bool "Enable locale support (system needs locale for this to work)"
144 default n
145 help
146 Enable this if your system has locale support and you would like
147 busybox to support locale settings.
148
149config UNICODE_SUPPORT
150 bool "Support Unicode"
151 default y
152 help
153 This makes various applets aware that one byte is not
154 one character on screen.
155
156 Busybox aims to eventually work correctly with Unicode displays.
157 Any older encodings are not guaranteed to work.
158 Probably by the time when busybox will be fully Unicode-clean,
159 other encodings will be mainly of historic interest.
160
161config UNICODE_USING_LOCALE
162 bool "Use libc routines for Unicode (else uses internal ones)"
163 default n
164 depends on UNICODE_SUPPORT && LOCALE_SUPPORT
165 help
166 With this option on, Unicode support is implemented using libc
167 routines. Otherwise, internal implementation is used.
168 Internal implementation is smaller.
169
170config FEATURE_CHECK_UNICODE_IN_ENV
171 bool "Check $LANG environment variable"
172 default n
173 depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE
174 help
175 With this option on, Unicode support is activated
176 only if LANG variable has the value of the form "xxxx.utf8"
177
178 Otherwise, Unicode support will be always enabled and active.
179
180config SUBST_WCHAR
181 int "Character code to substitute unprintable characters with"
182 depends on UNICODE_SUPPORT
183 default 63
184 help
185 Typical values are 63 for '?' (works with any output device),
186 30 for ASCII substitute control code,
187 65533 (0xfffd) for Unicode replacement character.
188
189config LAST_SUPPORTED_WCHAR
190 int "Range of supported Unicode characters"
191 depends on UNICODE_SUPPORT
192 default 767
193 help
194 Any character with Unicode value bigger than this is assumed
195 to be non-printable on output device. Many applets replace
196 such chars with substitution character.
197
198 The idea is that many valid printable Unicode chars are
199 nevertheless are not displayed correctly. Think about
200 combining charachers, double-wide hieroglyphs, obscure
201 characters in dozens of ancient scripts...
202 Many terminals, terminal emulators, xterms etc will fail
203 to handle them correctly. Choose the smallest value
204 which suits your needs.
205
206 Typical values are:
207 126 - ASCII only
208 767 (0x2ff) - there are no combining chars in [0..767] range
209 (the range includes Latin 1, Latin Ext. A and B),
210 code is ~700 bytes smaller for this case.
211 4351 (0x10ff) - there are no double-wide chars in [0..4351] range,
212 code is ~300 bytes smaller for this case.
213 12799 (0x31ff) - nearly all non-ideographic characters are
214 available in [0..12799] range, including
215 East Asian scripts like katakana, hiragana, hangul,
216 bopomofo...
217 0 - off, any valid printable Unicode character will be printed.
218
219config UNICODE_COMBINING_WCHARS
220 bool "Allow zero-width Unicode characters on output"
221 default n
222 depends on UNICODE_SUPPORT
223 help
224 With this option off, any Unicode char with width of 0
225 is substituted on output.
226
227config UNICODE_WIDE_WCHARS
228 bool "Allow wide Unicode characters on output"
229 default n
230 depends on UNICODE_SUPPORT
231 help
232 With this option off, any Unicode char with width > 1
233 is substituted on output.
234
235config UNICODE_BIDI_SUPPORT
236 bool "Bidirectional character-aware line input"
237 default n
238 depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE
239 help
240 With this option on, right-to-left Unicode characters
241 are treated differently on input (e.g. cursor movement).
242
243config UNICODE_NEUTRAL_TABLE
244 bool "In bidi input, support non-ASCII neutral chars too"
245 default n
246 depends on UNICODE_BIDI_SUPPORT
247 help
248 In most cases it's enough to treat only ASCII non-letters
249 (i.e. punctuation, numbers and space) as characters
250 with neutral directionality.
251 With this option on, more extensive (and bigger) table
252 of neutral chars will be used.
253
254config UNICODE_PRESERVE_BROKEN
255 bool "Make it possible to enter sequences of chars which are not Unicode"
256 default n
257 depends on UNICODE_SUPPORT
258 help
259 With this option on, on line-editing input (such as used by shells)
260 invalid UTF-8 bytes are not substituted with the selected
261 substitution character.
262 For example, this means that entering 'l', 's', ' ', 0xff, [Enter]
263 at shell prompt will list file named 0xff (single char name
264 with char value 255), not file named '?'.
265
266config LONG_OPTS
267 bool "Support for --long-options"
268 default y
269 help
270 Enable this if you want busybox applets to use the gnu --long-option
271 style, in addition to single character -a -b -c style options.
272
273config FEATURE_DEVPTS
274 bool "Use the devpts filesystem for Unix98 PTYs"
275 default y
276 help
277 Enable if you want BusyBox to use Unix98 PTY support. If enabled,
278 busybox will use /dev/ptmx for the master side of the pseudoterminal
279 and /dev/pts/<number> for the slave side. Otherwise, BSD style
280 /dev/ttyp<number> will be used. To use this option, you should have
281 devpts mounted.
282
283config FEATURE_CLEAN_UP
284 bool "Clean up all memory before exiting (usually not needed)"
285 default n
286 help
287 As a size optimization, busybox normally exits without explicitly
288 freeing dynamically allocated memory or closing files. This saves
289 space since the OS will clean up for us, but it can confuse debuggers
290 like valgrind, which report tons of memory and resource leaks.
291
292 Don't enable this unless you have a really good reason to clean
293 things up manually.
294
295config FEATURE_UTMP
296 bool "Support utmp file"
297 default y
298 help
299 The file /var/run/utmp is used to track who is currently logged in.
300 With this option on, certain applets (getty, login, telnetd etc)
301 will create and delete entries there.
302 "who" applet requires this option.
303
304config FEATURE_WTMP
305 bool "Support wtmp file"
306 default y
307 depends on FEATURE_UTMP
308 help
309 The file /var/run/wtmp is used to track when users have logged into
310 and logged out of the system.
311 With this option on, certain applets (getty, login, telnetd etc)
312 will append new entries there.
313 "last" applet requires this option.
314
315config FEATURE_PIDFILE
316 bool "Support writing pidfiles"
317 default y
318 help
319 This option makes some applets (e.g. crond, syslogd, inetd) write
320 a pidfile at the configured PID_FILE_PATH. It has no effect
321 on applets which require pidfiles to run.
322
323config PID_FILE_PATH
324 string "Path to directory for pidfile"
325 default "/var/run"
326 depends on FEATURE_PIDFILE
327 help
328 This is the default path where pidfiles are created. Applets which
329 allow you to set the pidfile path on the command line will override
330 this value. The option has no effect on applets that require you to
331 specify a pidfile path.
332
333config FEATURE_SUID
334 bool "Support for SUID/SGID handling"
335 default y
336 help
337 With this option you can install the busybox binary belonging
338 to root with the suid bit set, enabling some applets to perform
339 root-level operations even when run by ordinary users
340 (for example, mounting of user mounts in fstab needs this).
341
342 Busybox will automatically drop privileges for applets
343 that don't need root access.
344
345 If you are really paranoid and don't want to do this, build two
346 busybox binaries with different applets in them (and the appropriate
347 symlinks pointing to each binary), and only set the suid bit on the
348 one that needs it.
349
350 The applets which require root rights (need suid bit or
351 to be run by root) and will refuse to execute otherwise:
352 crontab, login, passwd, su, vlock, wall.
353
354 The applets which will use root rights if they have them
355 (via suid bit, or because run by root), but would try to work
356 without root right nevertheless:
357 findfs, ping[6], traceroute[6], mount.
358
359 Note that if you DONT select this option, but DO make busybox
360 suid root, ALL applets will run under root, which is a huge
361 security hole (think "cp /some/file /etc/passwd").
362
363config FEATURE_SUID_CONFIG
364 bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
365 default y
366 depends on FEATURE_SUID
367 help
368 Allow the SUID / SGID state of an applet to be determined at runtime
369 by checking /etc/busybox.conf. (This is sort of a poor man's sudo.)
370 The format of this file is as follows:
371
372 APPLET = [Ssx-][Ssx-][x-] [USER.GROUP]
373
374 s: USER or GROUP is allowed to execute APPLET.
375 APPLET will run under USER or GROUP
376 (reagardless of who's running it).
377 S: USER or GROUP is NOT allowed to execute APPLET.
378 APPLET will run under USER or GROUP.
379 This option is not very sensical.
380 x: USER/GROUP/others are allowed to execute APPLET.
381 No UID/GID change will be done when it is run.
382 -: USER/GROUP/others are not allowed to execute APPLET.
383
384 An example might help:
385
386 [SUID]
387 su = ssx root.0 # applet su can be run by anyone and runs with
388 # euid=0/egid=0
389 su = ssx # exactly the same
390
391 mount = sx- root.disk # applet mount can be run by root and members
392 # of group disk (but not anyone else)
393 # and runs with euid=0 (egid is not changed)
394
395 cp = --- # disable applet cp for everyone
396
397 The file has to be owned by user root, group root and has to be
398 writeable only by root:
399 (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
400 The busybox executable has to be owned by user root, group
401 root and has to be setuid root for this to work:
402 (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
403
404 Robert 'sandman' Griebl has more information here:
405 <url: http://www.softforge.de/bb/suid.html >.
406
407config FEATURE_SUID_CONFIG_QUIET
408 bool "Suppress warning message if /etc/busybox.conf is not readable"
409 default y
410 depends on FEATURE_SUID_CONFIG
411 help
412 /etc/busybox.conf should be readable by the user needing the SUID,
413 check this option to avoid users to be notified about missing
414 permissions.
415
416config SELINUX
417 bool "Support NSA Security Enhanced Linux"
418 default n
419 select PLATFORM_LINUX
420 help
421 Enable support for SELinux in applets ls, ps, and id. Also provide
422 the option of compiling in SELinux applets.
423
424 If you do not have a complete SELinux userland installed, this stuff
425 will not compile. Go visit
426 http://www.nsa.gov/selinux/index.html
427 to download the necessary stuff to allow busybox to compile with
428 this option enabled. Specifially, libselinux 1.28 or better is
429 directly required by busybox. If the installation is located in a
430 non-standard directory, provide it by invoking make as follows:
431 CFLAGS=-I<libselinux-include-path> \
432 LDFLAGS=-L<libselinux-lib-path> \
433 make
434
435 Most people will leave this set to 'N'.
436
437config FEATURE_PREFER_APPLETS
438 bool "exec prefers applets"
439 default n
440 help
441 This is an experimental option which directs applets about to
442 call 'exec' to try and find an applicable busybox applet before
443 searching the PATH. This is typically done by exec'ing
444 /proc/self/exe.
445 This may affect shell, find -exec, xargs and similar applets.
446 They will use applets even if /bin/<applet> -> busybox link
447 is missing (or is not a link to busybox). However, this causes
448 problems in chroot jails without mounted /proc and with ps/top
449 (command name can be shown as 'exe' for applets started this way).
450
451config BUSYBOX_EXEC_PATH
452 string "Path to BusyBox executable"
453 default "/proc/self/exe"
454 help
455 When Busybox applets need to run other busybox applets, BusyBox
456 sometimes needs to exec() itself. When the /proc filesystem is
457 mounted, /proc/self/exe always points to the currently running
458 executable. If you haven't got /proc, set this to wherever you
459 want to run BusyBox from.
460
461# These are auto-selected by other options
462
463config FEATURE_SYSLOG
464 bool #No description makes it a hidden option
465 default n
466 #help
467 # This option is auto-selected when you select any applet which may
468 # send its output to syslog. You do not need to select it manually.
469
470config FEATURE_HAVE_RPC
471 bool #No description makes it a hidden option
472 default n
473 #help
474 # This is automatically selected if any of enabled applets need it.
475 # You do not need to select it manually.
476
477endmenu
478
479menu 'Build Options'
480
481config STATIC
482 bool "Build BusyBox as a static binary (no shared libs)"
483 default n
484 help
485 If you want to build a static BusyBox binary, which does not
486 use or require any shared libraries, then enable this option.
487 This can cause BusyBox to be considerably larger, so you should
488 leave this option false unless you have a good reason (i.e.
489 your target platform does not support shared libraries, or
490 you are building an initrd which doesn't need anything but
491 BusyBox, etc).
492
493 Most people will leave this set to 'N'.
494
495config PIE
496 bool "Build BusyBox as a position independent executable"
497 default n
498 depends on !STATIC
499 help
500 Hardened code option. PIE binaries are loaded at a different
501 address at each invocation. This has some overhead,
502 particularly on x86-32 which is short on registers.
503
504 Most people will leave this set to 'N'.
505
506config NOMMU
507 bool "Force NOMMU build"
508 default n
509 help
510 Busybox tries to detect whether architecture it is being
511 built against supports MMU or not. If this detection fails,
512 or if you want to build NOMMU version of busybox for testing,
513 you may force NOMMU build here.
514
515 Most people will leave this set to 'N'.
516
517# PIE can be made to work with BUILD_LIBBUSYBOX, but currently
518# build system does not support that
519config BUILD_LIBBUSYBOX
520 bool "Build shared libbusybox"
521 default n
522 depends on !FEATURE_PREFER_APPLETS && !PIE && !STATIC
523 help
524 Build a shared library libbusybox.so.N.N.N which contains all
525 busybox code.
526
527 This feature allows every applet to be built as a tiny
528 separate executable. Enabling it for "one big busybox binary"
529 approach serves no purpose and increases code size.
530 You should almost certainly say "no" to this.
531
532### config FEATURE_FULL_LIBBUSYBOX
533### bool "Feature-complete libbusybox"
534### default n if !FEATURE_SHARED_BUSYBOX
535### depends on BUILD_LIBBUSYBOX
536### help
537### Build a libbusybox with the complete feature-set, disregarding
538### the actually selected config.
539###
540### Normally, libbusybox will only contain the features which are
541### used by busybox itself. If you plan to write a separate
542### standalone application which uses libbusybox say 'Y'.
543###
544### Note: libbusybox is GPL, not LGPL, and exports no stable API that
545### might act as a copyright barrier. We can and will modify the
546### exported function set between releases (even minor version number
547### changes), and happily break out-of-tree features.
548###
549### Say 'N' if in doubt.
550
551config FEATURE_INDIVIDUAL
552 bool "Produce a binary for each applet, linked against libbusybox"
553 default y
554 depends on BUILD_LIBBUSYBOX
555 help
556 If your CPU architecture doesn't allow for sharing text/rodata
557 sections of running binaries, but allows for runtime dynamic
558 libraries, this option will allow you to reduce memory footprint
559 when you have many different applets running at once.
560
561 If your CPU architecture allows for sharing text/rodata,
562 having single binary is more optimal.
563
564 Each applet will be a tiny program, dynamically linked
565 against libbusybox.so.N.N.N.
566
567 You need to have a working dynamic linker.
568
569config FEATURE_SHARED_BUSYBOX
570 bool "Produce additional busybox binary linked against libbusybox"
571 default y
572 depends on BUILD_LIBBUSYBOX
573 help
574 Build busybox, dynamically linked against libbusybox.so.N.N.N.
575
576 You need to have a working dynamic linker.
577
578### config BUILD_AT_ONCE
579### bool "Compile all sources at once"
580### default n
581### help
582### Normally each source-file is compiled with one invocation of
583### the compiler.
584### If you set this option, all sources are compiled at once.
585### This gives the compiler more opportunities to optimize which can
586### result in smaller and/or faster binaries.
587###
588### Setting this option will consume alot of memory, e.g. if you
589### enable all applets with all features, gcc uses more than 300MB
590### RAM during compilation of busybox.
591###
592### This option is most likely only beneficial for newer compilers
593### such as gcc-4.1 and above.
594###
595### Say 'N' unless you know what you are doing.
596
597config LFS
598 bool "Build with Large File Support (for accessing files > 2 GB)"
599 default y
600 help
601 If you want to build BusyBox with large file support, then enable
602 this option. This will have no effect if your kernel or your C
603 library lacks large file support for large files. Some of the
604 programs that can benefit from large file support include dd, gzip,
605 cp, mount, tar, and many others. If you want to access files larger
606 than 2 Gigabytes, enable this option. Otherwise, leave it set to 'N'.
607
608config CROSS_COMPILER_PREFIX
609 string "Cross Compiler prefix"
610 default ""
611 help
612 If you want to build BusyBox with a cross compiler, then you
613 will need to set this to the cross-compiler prefix, for example,
614 "i386-uclibc-".
615
616 Note that CROSS_COMPILE environment variable or
617 "make CROSS_COMPILE=xxx ..." will override this selection.
618
619 Native builds leave this empty.
620
621config SYSROOT
622 string "Path to sysroot"
623 default ""
624 help
625 If you want to build BusyBox with a cross compiler, then you
626 might also need to specify where /usr/include and /usr/lib
627 will be found.
628
629 For example, BusyBox can be built against an installed
630 Android NDK, platform version 9, for ARM ABI with
631
632 CONFIG_SYSROOT=/opt/android-ndk/platforms/android-9/arch-arm
633
634 Native builds leave this empty.
635
636config EXTRA_CFLAGS
637 string "Additional CFLAGS"
638 default ""
639 help
640 Additional CFLAGS to pass to the compiler verbatim.
641
642config EXTRA_LDFLAGS
643 string "Additional LDFLAGS"
644 default ""
645 help
646 Additional LDFLAGS to pass to the linker verbatim.
647
648config EXTRA_LDLIBS
649 string "Additional LDLIBS"
650 default ""
651 help
652 Additional LDLIBS to pass to the linker with -l.
653
654endmenu
655
656menu 'Debugging Options'
657
658config DEBUG
659 bool "Build BusyBox with extra Debugging symbols"
660 default n
661 help
662 Say Y here if you wish to examine BusyBox internals while applets are
663 running. This increases the size of the binary considerably, and
664 should only be used when doing development. If you are doing
665 development and want to debug BusyBox, answer Y.
666
667 Most people should answer N.
668
669config DEBUG_PESSIMIZE
670 bool "Disable compiler optimizations"
671 default n
672 depends on DEBUG
673 help
674 The compiler's optimization of source code can eliminate and reorder
675 code, resulting in an executable that's hard to understand when
676 stepping through it with a debugger. This switches it off, resulting
677 in a much bigger executable that more closely matches the source
678 code.
679
680config WERROR
681 bool "Abort compilation on any warning"
682 default n
683 help
684 Selecting this will add -Werror to gcc command line.
685
686 Most people should answer N.
687
688choice
689 prompt "Additional debugging library"
690 default NO_DEBUG_LIB
691 help
692 Using an additional debugging library will make BusyBox become
693 considerable larger and will cause it to run more slowly. You
694 should always leave this option disabled for production use.
695
696 dmalloc support:
697 ----------------
698 This enables compiling with dmalloc ( http://dmalloc.com/ )
699 which is an excellent public domain mem leak and malloc problem
700 detector. To enable dmalloc, before running busybox you will
701 want to properly set your environment, for example:
702 export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
703 The 'debug=' value is generated using the following command
704 dmalloc -p log-stats -p log-non-free -p log-bad-space \
705 -p log-elapsed-time -p check-fence -p check-heap \
706 -p check-lists -p check-blank -p check-funcs -p realloc-copy \
707 -p allow-free-null
708
709 Electric-fence support:
710 -----------------------
711 This enables compiling with Electric-fence support. Electric
712 fence is another very useful malloc debugging library which uses
713 your computer's virtual memory hardware to detect illegal memory
714 accesses. This support will make BusyBox be considerable larger
715 and run slower, so you should leave this option disabled unless
716 you are hunting a hard to find memory problem.
717
718
719config NO_DEBUG_LIB
720 bool "None"
721
722config DMALLOC
723 bool "Dmalloc"
724
725config EFENCE
726 bool "Electric-fence"
727
728endchoice
729
730endmenu
731
732menu 'Installation Options ("make install" behavior)'
733
734choice
735 prompt "What kind of applet links to install"
736 default INSTALL_APPLET_SYMLINKS
737 help
738 Choose what kind of links to applets are created by "make install".
739
740config INSTALL_APPLET_SYMLINKS
741 bool "as soft-links"
742 help
743 Install applets as soft-links to the busybox binary. This needs some
744 free inodes on the filesystem, but might help with filesystem
745 generators that can't cope with hard-links.
746
747config INSTALL_APPLET_HARDLINKS
748 bool "as hard-links"
749 help
750 Install applets as hard-links to the busybox binary. This might
751 count on a filesystem with few inodes.
752
753config INSTALL_APPLET_SCRIPT_WRAPPERS
754 bool "as script wrappers"
755 help
756 Install applets as script wrappers that call the busybox binary.
757
758config INSTALL_APPLET_DONT
759 bool "not installed"
760 help
761 Do not install applet links. Useful when you plan to use
762 busybox --install for installing links, or plan to use
763 a standalone shell and thus don't need applet links.
764
765endchoice
766
767choice
768 prompt "/bin/sh applet link"
769 default INSTALL_SH_APPLET_SYMLINK
770 depends on INSTALL_APPLET_SCRIPT_WRAPPERS
771 help
772 Choose how you install /bin/sh applet link.
773
774config INSTALL_SH_APPLET_SYMLINK
775 bool "as soft-link"
776 help
777 Install /bin/sh applet as soft-link to the busybox binary.
778
779config INSTALL_SH_APPLET_HARDLINK
780 bool "as hard-link"
781 help
782 Install /bin/sh applet as hard-link to the busybox binary.
783
784config INSTALL_SH_APPLET_SCRIPT_WRAPPER
785 bool "as script wrapper"
786 help
787 Install /bin/sh applet as script wrapper that calls
788 the busybox binary.
789
790endchoice
791
792config PREFIX
793 string "BusyBox installation prefix"
794 default "./_install"
795 help
796 Define your directory to install BusyBox files/subdirs in.
797
798endmenu
799
800source libbb/Config.in
801
802endmenu
803
804comment "Applets"
805
806source archival/Config.in
807source coreutils/Config.in
808source console-tools/Config.in
809source debianutils/Config.in
810source editors/Config.in
811source findutils/Config.in
812source init/Config.in
813source loginutils/Config.in
814source e2fsprogs/Config.in
815source modutils/Config.in
816source util-linux/Config.in
817source miscutils/Config.in
818source networking/Config.in
819source printutils/Config.in
820source mailutils/Config.in
821source procps/Config.in
822source runit/Config.in
823source selinux/Config.in
824source shell/Config.in
825source sysklogd/Config.in