Config.in 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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_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_FEATURE_RTMINMAX
  16. bool "Support RTMIN[+n] and RTMAX[-n] signal names"
  17. default y
  18. help
  19. Support RTMIN[+n] and RTMAX[-n] signal names
  20. in kill, killall etc. This costs ~250 bytes.
  21. config BUSYBOX_PASSWORD_MINLEN
  22. int "Minimum password length"
  23. default 6
  24. range 5 32
  25. help
  26. Minimum allowable password length.
  27. config BUSYBOX_MD5_SMALL
  28. int "MD5: Trade bytes for speed (0:fast, 3:slow)"
  29. default 1
  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_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_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_FEATURE_USE_TERMIOS
  54. bool "Use termios to manipulate the screen"
  55. default y
  56. depends on BUSYBOX_MORE || BUSYBOX_TOP || BUSYBOX_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_FEATURE_EDITING
  64. bool "Command line editing"
  65. default y
  66. help
  67. Enable line editing (mainly for shell command line).
  68. config BUSYBOX_FEATURE_EDITING_MAX_LEN
  69. int "Maximum length of input"
  70. range 128 8192
  71. default 1024
  72. depends on BUSYBOX_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_FEATURE_EDITING_VI
  78. bool "vi-style line editing commands"
  79. default n
  80. depends on BUSYBOX_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_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 255
  89. depends on BUSYBOX_FEATURE_EDITING
  90. help
  91. Specify command history size (0 - disable).
  92. config BUSYBOX_FEATURE_EDITING_SAVEHISTORY
  93. bool "History saving"
  94. default y
  95. depends on BUSYBOX_FEATURE_EDITING
  96. help
  97. Enable history saving in shells.
  98. config BUSYBOX_FEATURE_EDITING_SAVE_ON_EXIT
  99. bool "Save history on shell exit, not after every command"
  100. default n
  101. depends on BUSYBOX_FEATURE_EDITING_SAVEHISTORY
  102. help
  103. Save history on shell exit, not after every command.
  104. config BUSYBOX_FEATURE_REVERSE_SEARCH
  105. bool "Reverse history search"
  106. default y
  107. depends on BUSYBOX_FEATURE_EDITING_SAVEHISTORY
  108. help
  109. Enable readline-like Ctrl-R combination for reverse history search.
  110. Increases code by about 0.5k.
  111. config BUSYBOX_FEATURE_TAB_COMPLETION
  112. bool "Tab completion"
  113. default y
  114. depends on BUSYBOX_FEATURE_EDITING
  115. help
  116. Enable tab completion.
  117. config BUSYBOX_FEATURE_USERNAME_COMPLETION
  118. bool "Username completion"
  119. default n
  120. depends on BUSYBOX_FEATURE_TAB_COMPLETION
  121. help
  122. Enable username completion.
  123. config BUSYBOX_FEATURE_EDITING_FANCY_PROMPT
  124. bool "Fancy shell prompts"
  125. default y
  126. depends on BUSYBOX_FEATURE_EDITING
  127. help
  128. Setting this option allows for prompts to use things like \w and
  129. \$ and escape codes.
  130. config BUSYBOX_FEATURE_EDITING_ASK_TERMINAL
  131. bool "Query cursor position from terminal"
  132. default n
  133. depends on BUSYBOX_FEATURE_EDITING
  134. help
  135. Allow usage of "ESC [ 6 n" sequence. Terminal answers back with
  136. current cursor position. This information is used to make line
  137. editing more robust in some cases.
  138. If you are not sure whether your terminals respond to this code
  139. correctly, or want to save on code size (about 400 bytes),
  140. then do not turn this option on.
  141. config BUSYBOX_FEATURE_NON_POSIX_CP
  142. bool "Non-POSIX, but safer, copying to special nodes"
  143. default y
  144. help
  145. With this option, "cp file symlink" will delete symlink
  146. and create a regular file. This does not conform to POSIX,
  147. but prevents a symlink attack.
  148. Similarly, "cp file device" will not send file's data
  149. to the device. (To do that, use "cat file >device")
  150. config BUSYBOX_FEATURE_VERBOSE_CP_MESSAGE
  151. bool "Give more precise messages when copy fails (cp, mv etc)"
  152. default n
  153. help
  154. Error messages with this feature enabled:
  155. $ cp file /does_not_exist/file
  156. cp: cannot create '/does_not_exist/file': Path does not exist
  157. $ cp file /vmlinuz/file
  158. cp: cannot stat '/vmlinuz/file': Path has non-directory component
  159. If this feature is not enabled, they will be, respectively:
  160. cp: cannot create '/does_not_exist/file': No such file or directory
  161. cp: cannot stat '/vmlinuz/file': Not a directory
  162. This will cost you ~60 bytes.
  163. config BUSYBOX_FEATURE_COPYBUF_KB
  164. int "Copy buffer size, in kilobytes"
  165. range 1 1024
  166. default 4
  167. help
  168. Size of buffer used by cp, mv, install, wget etc.
  169. Buffers which are 4 kb or less will be allocated on stack.
  170. Bigger buffers will be allocated with mmap, with fallback to 4 kb
  171. stack buffer if mmap fails.
  172. config BUSYBOX_FEATURE_SKIP_ROOTFS
  173. bool "Skip rootfs in mount table"
  174. default y
  175. help
  176. Ignore rootfs entry in mount table.
  177. In Linux, kernel has a special filesystem, rootfs, which is initially
  178. mounted on /. It contains initramfs data, if kernel is configured
  179. to have one. Usually, another file system is mounted over / early
  180. in boot process, and therefore most tools which manipulate
  181. mount table, such as df, will skip rootfs entry.
  182. However, some systems do not mount anything on /.
  183. If you need to configure busybox for one of these systems,
  184. you may find it useful to turn this option off to make df show
  185. initramfs statistics.
  186. Otherwise, choose Y.
  187. config BUSYBOX_MONOTONIC_SYSCALL
  188. bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
  189. default y
  190. select BUSYBOX_PLATFORM_LINUX
  191. help
  192. Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
  193. time intervals (time, ping, traceroute etc need this).
  194. Probably requires Linux 2.6+. If not selected, gettimeofday
  195. will be used instead (which gives wrong results if date/time
  196. is reset).
  197. config BUSYBOX_IOCTL_HEX2STR_ERROR
  198. bool "Use ioctl names rather than hex values in error messages"
  199. default y
  200. help
  201. Use ioctl names rather than hex values in error messages
  202. (e.g. VT_DISALLOCATE rather than 0x5608). If disabled this
  203. saves about 1400 bytes.
  204. config BUSYBOX_FEATURE_HWIB
  205. bool "Support infiniband HW"
  206. default n
  207. help
  208. Support for printing infiniband addresses in
  209. network applets.
  210. endmenu