3
0

Config.in 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Busybox Library Tuning"
  6. config PASSWORD_MINLEN
  7. int "Minimum password length"
  8. default 6
  9. range 5 32
  10. help
  11. Minimum allowable password length.
  12. config MD5_SIZE_VS_SPEED
  13. int "MD5: Trade Bytes for Speed"
  14. default 2
  15. range 0 3
  16. help
  17. Trade binary size versus speed for the md5sum algorithm.
  18. Approximate values running uClibc and hashing
  19. linux-2.4.4.tar.bz2 were:
  20. user times (sec) text size (386)
  21. 0 (fastest) 1.1 6144
  22. 1 1.4 5392
  23. 2 3.0 5088
  24. 3 (smallest) 5.1 4912
  25. config FEATURE_FAST_TOP
  26. bool "Faster /proc scanning code (+100 bytes)"
  27. default n
  28. help
  29. This option makes top (and ps) ~20% faster (or 20% less CPU hungry),
  30. but code size is slightly bigger.
  31. config FEATURE_ETC_NETWORKS
  32. bool "Support for /etc/networks"
  33. default n
  34. help
  35. Enable support for network names in /etc/networks. This is
  36. a rarely used feature which allows you to use names
  37. instead of IP/mask pairs in route command.
  38. config FEATURE_EDITING
  39. bool "Command line editing"
  40. default n
  41. help
  42. Enable line editing (mainly for shell command line).
  43. config FEATURE_EDITING_MAX_LEN
  44. int "Maximum length of input"
  45. range 128 8192
  46. default 1024
  47. depends on FEATURE_EDITING
  48. help
  49. Line editing code uses on-stack buffers for storage.
  50. You may want to decrease this parameter if your target machine
  51. benefits from smaller stack usage.
  52. config FEATURE_EDITING_VI
  53. bool "vi-style line editing commands"
  54. default n
  55. depends on FEATURE_EDITING
  56. help
  57. Enable vi-style line editing. In shells, this mode can be
  58. turned on and off with "set -o vi" and "set +o vi".
  59. config FEATURE_EDITING_HISTORY
  60. int "History size"
  61. range 0 99999
  62. default 15
  63. depends on FEATURE_EDITING
  64. help
  65. Specify command history size.
  66. config FEATURE_EDITING_SAVEHISTORY
  67. bool "History saving"
  68. default n
  69. depends on ASH && FEATURE_EDITING
  70. help
  71. Enable history saving in ash shell.
  72. config FEATURE_TAB_COMPLETION
  73. bool "Tab completion"
  74. default n
  75. depends on FEATURE_EDITING
  76. help
  77. Enable tab completion.
  78. config FEATURE_USERNAME_COMPLETION
  79. bool "Username completion"
  80. default n
  81. depends on FEATURE_TAB_COMPLETION
  82. help
  83. Enable username completion.
  84. config FEATURE_EDITING_FANCY_PROMPT
  85. bool "Fancy shell prompts"
  86. default n
  87. depends on FEATURE_EDITING
  88. help
  89. Setting this option allows for prompts to use things like \w and
  90. \$ and escape codes.
  91. config FEATURE_VERBOSE_CP_MESSAGE
  92. bool "Give more precise messages when copy fails (cp, mv etc)"
  93. default n
  94. help
  95. Error messages with this feature enabled:
  96. $ cp file /does_not_exist/file
  97. cp: cannot create '/does_not_exist/file': Path does not exist
  98. $ cp file /vmlinuz/file
  99. cp: cannot stat '/vmlinuz/file': Path has non-directory component
  100. If this feature is not enabled, they will be, respectively:
  101. cp: cannot remove '/does_not_exist/file': No such file or directory
  102. cp: cannot stat '/vmlinuz/file': Not a directory
  103. respectively.
  104. This will cost you ~60 bytes.
  105. config FEATURE_COPYBUF_KB
  106. int "Copy buffer size, in kilobytes"
  107. range 1 1024
  108. default 4
  109. help
  110. Size of buffer used by cp, mv, install etc.
  111. Buffers which are 4 kb or less will be allocated on stack.
  112. Bigger buffers will be allocated with mmap, with fallback to 4 kb
  113. stack buffer if mmap fails.
  114. config MONOTONIC_SYSCALL
  115. bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
  116. default y
  117. help
  118. Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
  119. time intervals (time, ping, traceroute etc need this).
  120. Probably requires Linux 2.6+. If not selected, gettimeofday
  121. will be used instead (which gives wrong results if date/time
  122. is reset).
  123. config IOCTL_HEX2STR_ERROR
  124. bool "Use ioctl names rather than hex values in error messages"
  125. default y
  126. help
  127. Use ioctl names rather than hex values in error messages
  128. (e.g. VT_DISALLOCATE rather than 0x5608). If disabled this
  129. saves about 1400 bytes.
  130. config FEATURE_HWIB
  131. bool "Support infiniband HW"
  132. default y
  133. help
  134. Support for printing infiniband addresses in
  135. network applets.
  136. endmenu