2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 mainmenu "BusyBox Configuration"
9 prompt "Buffer allocation policy"
10 default "Allocate with Malloc"
12 Please submit a patch to add help text for this item.
14 config CONFIG_FEATURE_BUFFERS_USE_MALLOC
15 bool "Allocate with Malloc"
17 config CONFIG_FEATURE_BUFFERS_GO_ON_STACK
18 bool "Allocate on the Stack"
20 config CONFIG_FEATURE_BUFFERS_GO_IN_BSS
21 bool "Allocate in the .bss section"
25 config CONFIG_FEATURE_VERBOSE_USAGE
26 bool "Show verbose applet usage messages"
29 Please submit a patch to add help text for this item.
31 config CONFIG_FEATURE_INSTALLER
32 bool "Support --install [-s] to install applet links at runtime"
35 Please submit a patch to add help text for this item.
37 config CONFIG_LOCALE_SUPPORT
38 bool "Enable locale support (system needs locale for this to work)"
41 Please submit a patch to add help text for this item.
43 config CONFIG_FEATURE_DEVFS
44 bool "Support for devfs"
47 Please submit a patch to add help text for this item.
49 config CONFIG_FEATURE_DEVPTS
50 bool "Use the devpts filesystem for Unix98 PTYs"
51 default y if CONFIG_FEATURE_DEVFS
53 Please submit a patch to add help text for this item.
55 config CONFIG_FEATURE_CLEAN_UP
56 bool "Clean up all memory before exiting (usually not needed)"
59 Please submit a patch to add help text for this item.
61 config CONFIG_FEATURE_SUID
62 bool "Support for SUID/SGID handling"
65 Please submit a patch to add help text for this item.
67 config CONFIG_FEATURE_SUID_CONFIG
68 bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
69 default y if CONFIG_FEATURE_SUID
70 depends on CONFIG_FEATURE_SUID
72 Please submit a patch to add help text for this item.
74 config CONFIG_FEATURE_SUID_CONFIG_QUIET
75 bool "Suppress warning message if /etc/busybox.conf is not readable"
77 depends on CONFIG_FEATURE_SUID_CONFIG
79 Please submit a patch to add help text for this item.
86 bool "Build BusyBox as a static binary (no shared libs)"
89 If you want to build a static BusyBox binary, which does not
90 use or require any shared libraries, then enable this option.
93 bool "Build with Large File Support (for accessing files > 2 GB)"
96 If you want to build BusyBox with large file support, then enable
97 this option. This will have no effect if your kernel or your C
98 library lacks large file support for large files. Some of the
99 programs that can benefit from large file support include dd, gzip,
100 cp, mount, tar, and many others. If you want to access files larger
101 than 2 Gigabytes, enable this option. Otherwise, leave it set to 'N'.
103 config USING_CROSS_COMPILER
104 bool "Do you want to build BusyBox with a Cross Compiler?"
107 Do you want to build BusyBox with a Cross Compiler? If so,
108 then enable this option. Otherwise leave it set to 'N'.
110 config CROSS_COMPILER_PREFIX
111 string "Cross Compiler prefix"
112 default "/usr/i386-linux-uclibc/bin/i386-uclibc-"
113 depends on USING_CROSS_COMPILER
115 If you want to build BusyBox with a cross compiler, then you
116 will need to set this to the cross-compiler prefix. For example,
117 if my cross-compiler is /usr/i386-linux-uclibc/bin/i386-uclibc-gcc
118 then I would enter '/usr/i386-linux-uclibc/bin/i386-uclibc-' here,
119 which will ensure the correct compiler is used.
121 config EXTRA_CFLAGS_OPTIONS
122 string "Any extra CFLAGS options for the compiler?"
125 Do you want to pass any extra CFLAGS options to the compiler as
126 you build BusyBox? If so, this is the option for you... For example,
127 if you want to add some simple compiler switches (like -march=i686),
128 or check for warnings using -Werror, just those options here.
132 source archival/Config.in
133 source console-tools/Config.in
134 source debianutils/Config.in
135 source editors/Config.in
136 source fileutils/Config.in
137 source findutils/Config.in
138 source init/Config.in
139 source loginutils/Config.in
140 source miscutils/Config.in
141 source modutils/Config.in
142 source networking/Config.in
143 source procps/Config.in
144 source shell/Config.in
145 source shellutils/Config.in
146 source sysklogd/Config.in
147 source textutils/Config.in
148 source util-linux/Config.in
150 menu 'Debugging Options'
153 bool "Build BusyBox as a static binary (no shared libs)"
156 If you want to build a static BusyBox binary, which does not
157 use or require any shared libraries, then enable this option.
158 This will make BusyBox be considerable larger, so you should
159 leave this option false unless you have a good reason (i.e.
160 your target platform does not support shared libraries, or
161 you are building an initrd which doesn't need anything but
164 Most people will leave this set to 'N'.
167 bool "Build BusyBox with Debugging symbols"
170 Say Y here if you wish to compile BusyBox with debugging symbols.
171 This will allow you to use a debugger to examine BusyBox internals
172 while applets are running. This increases the size of the binary
173 considerably and should only be used when doing development.
174 If you are doing development and want to debug BusyBox, answer Y.
179 bool "Build BusyBox with dmalloc support"
181 depends on DODEBUG && !DOEFENCE
183 This enables compiling with dmalloc ( http://dmalloc.com/ )
184 which is an excellent public domain mem leak and malloc problem
185 detector. To enable dmalloc, before running busybox you will
186 want to properly set your environment, for example:
187 export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
188 The 'debug=' value is generated using the following command
189 dmalloc -p log-stats -p log-non-free -p log-bad-space -p log-elapsed-time \
190 -p check-fence -p check-heap -p check-lists -p check-blank \
191 -p check-funcs -p realloc-copy -p allow-free-null
193 This will make BusyBox be considerable larger and run slower, so
194 you should leave this option disabled for production use.
197 bool "Build BusyBox with Electric-fence support"
199 depends on DODEBUG && !DODMALLOC
201 This enables compiling with Electric-fence support. Electric
202 fence is another very useful malloc debugging library which used
203 your computers virtual memory hardware to detect illegal memory
204 accesses. This support will make BusyBox be considerable larger
205 and run slower, so you should leave this option disabled unless
206 you are hunting a hard to find memory problem.