Config.in 8.9 KB

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