Config.in 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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 n
  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 n
  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 6
  24. range 5 32
  25. help
  26. Minimum allowable password length.
  27. config BUSYBOX_CONFIG_MD5_SIZE_VS_SPEED
  28. int "MD5: Trade bytes for speed (0:fast, 3:slow)"
  29. default 2
  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_FEATURE_FAST_TOP
  41. bool "Faster /proc scanning code (+100 bytes)"
  42. default y
  43. help
  44. This option makes top (and ps) ~20% faster (or 20% less CPU hungry),
  45. but code size is slightly bigger.
  46. config BUSYBOX_CONFIG_FEATURE_ETC_NETWORKS
  47. bool "Support for /etc/networks"
  48. default n
  49. help
  50. Enable support for network names in /etc/networks. This is
  51. a rarely used feature which allows you to use names
  52. instead of IP/mask pairs in route command.
  53. config BUSYBOX_CONFIG_FEATURE_USE_TERMIOS
  54. bool "Use termios to manipulate the screen"
  55. default n
  56. depends on BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TOP || BUSYBOX_CONFIG_POWERTOP
  57. help
  58. This option allows utilities such as 'more' and 'top' to determine
  59. the size of the screen. If you leave this disabled, your utilities
  60. that display things on the screen will be especially primitive and
  61. will be unable to determine the current screen size, and will be
  62. unable to move the cursor.
  63. config BUSYBOX_CONFIG_FEATURE_EDITING
  64. bool "Command line editing"
  65. default y
  66. help
  67. Enable line editing (mainly for shell command line).
  68. config BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN
  69. int "Maximum length of input"
  70. range 128 8192
  71. default 512
  72. depends on BUSYBOX_CONFIG_FEATURE_EDITING
  73. help
  74. Line editing code uses on-stack buffers for storage.
  75. You may want to decrease this parameter if your target machine
  76. benefits from smaller stack usage.
  77. config BUSYBOX_CONFIG_FEATURE_EDITING_VI
  78. bool "vi-style line editing commands"
  79. default n
  80. depends on BUSYBOX_CONFIG_FEATURE_EDITING
  81. help
  82. Enable vi-style line editing. In shells, this mode can be
  83. turned on and off with "set -o vi" and "set +o vi".
  84. config BUSYBOX_CONFIG_FEATURE_EDITING_HISTORY
  85. int "History size"
  86. # Don't allow way too big values here, code uses fixed "char *history[N]" struct member
  87. range 0 9999
  88. default 256
  89. depends on BUSYBOX_CONFIG_FEATURE_EDITING
  90. help
  91. Specify command history size (0 - disable).
  92. config BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
  93. bool "History saving"
  94. default n
  95. depends on BUSYBOX_CONFIG_FEATURE_EDITING
  96. help
  97. Enable history saving in shells.
  98. config BUSYBOX_CONFIG_FEATURE_REVERSE_SEARCH
  99. bool "Reverse history search"
  100. default n
  101. depends on BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
  102. help
  103. Enable readline-like Ctrl-R combination for reverse history search.
  104. Increases code by about 0.5k.
  105. config BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
  106. bool "Tab completion"
  107. default y
  108. depends on BUSYBOX_CONFIG_FEATURE_EDITING
  109. help
  110. Enable tab completion.
  111. config BUSYBOX_CONFIG_FEATURE_USERNAME_COMPLETION
  112. bool "Username completion"
  113. default n
  114. depends on BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
  115. help
  116. Enable username completion.
  117. config BUSYBOX_CONFIG_FEATURE_EDITING_FANCY_PROMPT
  118. bool "Fancy shell prompts"
  119. default y
  120. depends on BUSYBOX_CONFIG_FEATURE_EDITING
  121. help
  122. Setting this option allows for prompts to use things like \w and
  123. \$ and escape codes.
  124. config BUSYBOX_CONFIG_FEATURE_EDITING_ASK_TERMINAL
  125. bool "Query cursor position from terminal"
  126. default n
  127. depends on BUSYBOX_CONFIG_FEATURE_EDITING
  128. help
  129. Allow usage of "ESC [ 6 n" sequence. Terminal answers back with
  130. current cursor position. This information is used to make line
  131. editing more robust in some cases.
  132. If you are not sure whether your terminals respond to this code
  133. correctly, or want to save on code size (about 400 bytes),
  134. then do not turn this option on.
  135. config BUSYBOX_CONFIG_FEATURE_NON_POSIX_CP
  136. bool "Non-POSIX, but safer, copying to special nodes"
  137. default y
  138. help
  139. With this option, "cp file symlink" will delete symlink
  140. and create a regular file. This does not conform to POSIX,
  141. but prevents a symlink attack.
  142. Similarly, "cp file device" will not send file's data
  143. to the device. (To do that, use "cat file >device")
  144. config BUSYBOX_CONFIG_FEATURE_VERBOSE_CP_MESSAGE
  145. bool "Give more precise messages when copy fails (cp, mv etc)"
  146. default n
  147. help
  148. Error messages with this feature enabled:
  149. $ cp file /does_not_exist/file
  150. cp: cannot create '/does_not_exist/file': Path does not exist
  151. $ cp file /vmlinuz/file
  152. cp: cannot stat '/vmlinuz/file': Path has non-directory component
  153. If this feature is not enabled, they will be, respectively:
  154. cp: cannot create '/does_not_exist/file': No such file or directory
  155. cp: cannot stat '/vmlinuz/file': Not a directory
  156. This will cost you ~60 bytes.
  157. config BUSYBOX_CONFIG_FEATURE_COPYBUF_KB
  158. int "Copy buffer size, in kilobytes"
  159. range 1 1024
  160. default 4
  161. help
  162. Size of buffer used by cp, mv, install, wget etc.
  163. Buffers which are 4 kb or less will be allocated on stack.
  164. Bigger buffers will be allocated with mmap, with fallback to 4 kb
  165. stack buffer if mmap fails.
  166. config BUSYBOX_CONFIG_FEATURE_SKIP_ROOTFS
  167. bool "Skip rootfs in mount table"
  168. default n
  169. help
  170. Ignore rootfs entry in mount table.
  171. In Linux, kernel has a special filesystem, rootfs, which is initially
  172. mounted on /. It contains initramfs data, if kernel is configured
  173. to have one. Usually, another file system is mounted over / early
  174. in boot process, and therefore most tools which manipulate
  175. mount table, such as df, will skip rootfs entry.
  176. However, some systems do not mount anything on /.
  177. If you need to configure busybox for one of these systems,
  178. you may find useful to turn this option off to make df show
  179. initramfs statistic.
  180. Otherwise, choose Y.
  181. config BUSYBOX_CONFIG_MONOTONIC_SYSCALL
  182. bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
  183. default n
  184. select BUSYBOX_CONFIG_PLATFORM_LINUX
  185. help
  186. Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
  187. time intervals (time, ping, traceroute etc need this).
  188. Probably requires Linux 2.6+. If not selected, gettimeofday
  189. will be used instead (which gives wrong results if date/time
  190. is reset).
  191. config BUSYBOX_CONFIG_IOCTL_HEX2STR_ERROR
  192. bool "Use ioctl names rather than hex values in error messages"
  193. default y
  194. help
  195. Use ioctl names rather than hex values in error messages
  196. (e.g. VT_DISALLOCATE rather than 0x5608). If disabled this
  197. saves about 1400 bytes.
  198. config BUSYBOX_CONFIG_FEATURE_HWIB
  199. bool "Support infiniband HW"
  200. default n
  201. help
  202. Support for printing infiniband addresses in
  203. network applets.
  204. endmenu