Config.src 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Coreutils"
  6. INSERT
  7. config CAL
  8. bool "cal"
  9. default y
  10. help
  11. cal is used to display a monthly calendar.
  12. config CATV
  13. bool "catv"
  14. default y
  15. help
  16. Display nonprinting characters as escape sequences (like some
  17. implementations' cat -v option).
  18. config CHGRP
  19. bool "chgrp"
  20. default y
  21. help
  22. chgrp is used to change the group ownership of files.
  23. config CHMOD
  24. bool "chmod"
  25. default y
  26. help
  27. chmod is used to change the access permission of files.
  28. config CHOWN
  29. bool "chown"
  30. default y
  31. help
  32. chown is used to change the user and/or group ownership
  33. of files.
  34. config FEATURE_CHOWN_LONG_OPTIONS
  35. bool "Enable long options"
  36. default y
  37. depends on CHOWN && LONG_OPTS
  38. help
  39. Enable use of long options
  40. config CHROOT
  41. bool "chroot"
  42. default y
  43. help
  44. chroot is used to change the root directory and run a command.
  45. The default command is `/bin/sh'.
  46. config CKSUM
  47. bool "cksum"
  48. default y
  49. help
  50. cksum is used to calculate the CRC32 checksum of a file.
  51. config COMM
  52. bool "comm"
  53. default y
  54. help
  55. comm is used to compare two files line by line and return
  56. a three-column output.
  57. config CP
  58. bool "cp"
  59. default y
  60. help
  61. cp is used to copy files and directories.
  62. config FEATURE_CP_LONG_OPTIONS
  63. bool "Enable long options for cp"
  64. default y
  65. depends on CP && LONG_OPTS
  66. help
  67. Enable long options for cp.
  68. Also add support for --parents option.
  69. config CUT
  70. bool "cut"
  71. default y
  72. help
  73. cut is used to print selected parts of lines from
  74. each file to stdout.
  75. config DF
  76. bool "df"
  77. default y
  78. help
  79. df reports the amount of disk space used and available
  80. on filesystems.
  81. config FEATURE_DF_FANCY
  82. bool "Enable -a, -i, -B"
  83. default y
  84. depends on DF
  85. help
  86. This option enables -a, -i and -B.
  87. -a Show all filesystems
  88. -i Inodes
  89. -B <SIZE> Blocksize
  90. config DIRNAME
  91. bool "dirname"
  92. default y
  93. help
  94. dirname is used to strip a non-directory suffix from
  95. a file name.
  96. config DOS2UNIX
  97. bool "dos2unix/unix2dos"
  98. default y
  99. help
  100. dos2unix is used to convert a text file from DOS format to
  101. UNIX format, and vice versa.
  102. config UNIX2DOS
  103. bool
  104. default y
  105. depends on DOS2UNIX
  106. help
  107. unix2dos is used to convert a text file from UNIX format to
  108. DOS format, and vice versa.
  109. config DU
  110. bool "du (default blocksize of 512 bytes)"
  111. default y
  112. help
  113. du is used to report the amount of disk space used
  114. for specified files.
  115. config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
  116. bool "Use a default blocksize of 1024 bytes (1K)"
  117. default y
  118. depends on DU
  119. help
  120. Use a blocksize of (1K) instead of the default 512b.
  121. config ECHO
  122. bool "echo (basic SuSv3 version taking no options)"
  123. default y
  124. help
  125. echo is used to print a specified string to stdout.
  126. # this entry also appears in shell/Config.in, next to the echo builtin
  127. config FEATURE_FANCY_ECHO
  128. bool "Enable echo options (-n and -e)"
  129. default y
  130. depends on ECHO || ASH_BUILTIN_ECHO || HUSH
  131. help
  132. This adds options (-n and -e) to echo.
  133. config ENV
  134. bool "env"
  135. default y
  136. help
  137. env is used to set an environment variable and run
  138. a command; without options it displays the current
  139. environment.
  140. config FEATURE_ENV_LONG_OPTIONS
  141. bool "Enable long options"
  142. default y
  143. depends on ENV && LONG_OPTS
  144. help
  145. Support long options for the env applet.
  146. config EXPAND
  147. bool "expand"
  148. default y
  149. help
  150. By default, convert all tabs to spaces.
  151. config FEATURE_EXPAND_LONG_OPTIONS
  152. bool "Enable long options"
  153. default y
  154. depends on EXPAND && LONG_OPTS
  155. help
  156. Support long options for the expand applet.
  157. config EXPR
  158. bool "expr"
  159. default y
  160. help
  161. expr is used to calculate numbers and print the result
  162. to standard output.
  163. config EXPR_MATH_SUPPORT_64
  164. bool "Extend Posix numbers support to 64 bit"
  165. default y
  166. depends on EXPR
  167. help
  168. Enable 64-bit math support in the expr applet. This will make
  169. the applet slightly larger, but will allow computation with very
  170. large numbers.
  171. config FALSE
  172. bool "false"
  173. default y
  174. help
  175. false returns an exit code of FALSE (1).
  176. config FOLD
  177. bool "fold"
  178. default y
  179. help
  180. Wrap text to fit a specific width.
  181. config FSYNC
  182. bool "fsync"
  183. default y
  184. help
  185. fsync is used to flush file-related cached blocks to disk.
  186. config HEAD
  187. bool "head"
  188. default y
  189. help
  190. head is used to print the first specified number of lines
  191. from files.
  192. config FEATURE_FANCY_HEAD
  193. bool "Enable head options (-c, -q, and -v)"
  194. default y
  195. depends on HEAD
  196. help
  197. This enables the head options (-c, -q, and -v).
  198. config INSTALL
  199. bool "install"
  200. default y
  201. help
  202. Copy files and set attributes.
  203. config FEATURE_INSTALL_LONG_OPTIONS
  204. bool "Enable long options"
  205. default y
  206. depends on INSTALL && LONG_OPTS
  207. help
  208. Support long options for the install applet.
  209. ####config LENGTH
  210. #### bool "length"
  211. #### default y
  212. #### help
  213. #### length is used to print out the length of a specified string.
  214. config LN
  215. bool "ln"
  216. default y
  217. help
  218. ln is used to create hard or soft links between files.
  219. config LOGNAME
  220. bool "logname"
  221. default y
  222. help
  223. logname is used to print the current user's login name.
  224. config LS
  225. bool "ls"
  226. default y
  227. help
  228. ls is used to list the contents of directories.
  229. config FEATURE_LS_FILETYPES
  230. bool "Enable filetyping options (-p and -F)"
  231. default y
  232. depends on LS
  233. help
  234. Enable the ls options (-p and -F).
  235. config FEATURE_LS_FOLLOWLINKS
  236. bool "Enable symlinks dereferencing (-L)"
  237. default y
  238. depends on LS
  239. help
  240. Enable the ls option (-L).
  241. config FEATURE_LS_RECURSIVE
  242. bool "Enable recursion (-R)"
  243. default y
  244. depends on LS
  245. help
  246. Enable the ls option (-R).
  247. config FEATURE_LS_SORTFILES
  248. bool "Sort the file names"
  249. default y
  250. depends on LS
  251. help
  252. Allow ls to sort file names alphabetically.
  253. config FEATURE_LS_TIMESTAMPS
  254. bool "Show file timestamps"
  255. default y
  256. depends on LS
  257. help
  258. Allow ls to display timestamps for files.
  259. config FEATURE_LS_USERNAME
  260. bool "Show username/groupnames"
  261. default y
  262. depends on LS
  263. help
  264. Allow ls to display username/groupname for files.
  265. config FEATURE_LS_COLOR
  266. bool "Allow use of color to identify file types"
  267. default y
  268. depends on LS && LONG_OPTS
  269. help
  270. This enables the --color option to ls.
  271. config FEATURE_LS_COLOR_IS_DEFAULT
  272. bool "Produce colored ls output by default"
  273. default y
  274. depends on FEATURE_LS_COLOR
  275. help
  276. Saying yes here will turn coloring on by default,
  277. even if no "--color" option is given to the ls command.
  278. This is not recommended, since the colors are not
  279. configurable, and the output may not be legible on
  280. many output screens.
  281. config MD5SUM
  282. bool "md5sum"
  283. default y
  284. help
  285. md5sum is used to print or check MD5 checksums.
  286. config MKDIR
  287. bool "mkdir"
  288. default y
  289. help
  290. mkdir is used to create directories with the specified names.
  291. config FEATURE_MKDIR_LONG_OPTIONS
  292. bool "Enable long options"
  293. default y
  294. depends on MKDIR && LONG_OPTS
  295. help
  296. Support long options for the mkdir applet.
  297. config MKFIFO
  298. bool "mkfifo"
  299. default y
  300. help
  301. mkfifo is used to create FIFOs (named pipes).
  302. The `mknod' program can also create FIFOs.
  303. config MKNOD
  304. bool "mknod"
  305. default y
  306. help
  307. mknod is used to create FIFOs or block/character special
  308. files with the specified names.
  309. config MV
  310. bool "mv"
  311. default y
  312. help
  313. mv is used to move or rename files or directories.
  314. config FEATURE_MV_LONG_OPTIONS
  315. bool "Enable long options"
  316. default y
  317. depends on MV && LONG_OPTS
  318. help
  319. Support long options for the mv applet.
  320. config NICE
  321. bool "nice"
  322. default y
  323. help
  324. nice runs a program with modified scheduling priority.
  325. config NOHUP
  326. bool "nohup"
  327. default y
  328. help
  329. run a command immune to hangups, with output to a non-tty.
  330. config OD
  331. bool "od"
  332. default y
  333. help
  334. od is used to dump binary files in octal and other formats.
  335. config PRINTENV
  336. bool "printenv"
  337. default y
  338. help
  339. printenv is used to print all or part of environment.
  340. config PRINTF
  341. bool "printf"
  342. default y
  343. help
  344. printf is used to format and print specified strings.
  345. It's similar to `echo' except it has more options.
  346. config PWD
  347. bool "pwd"
  348. default y
  349. help
  350. pwd is used to print the current directory.
  351. config READLINK
  352. bool "readlink"
  353. default y
  354. help
  355. This program reads a symbolic link and returns the name
  356. of the file it points to
  357. config FEATURE_READLINK_FOLLOW
  358. bool "Enable canonicalization by following all symlinks (-f)"
  359. default y
  360. depends on READLINK
  361. help
  362. Enable the readlink option (-f).
  363. config REALPATH
  364. bool "realpath"
  365. default y
  366. help
  367. Return the canonicalized absolute pathname.
  368. This isn't provided by GNU shellutils, but where else does it belong.
  369. config RM
  370. bool "rm"
  371. default y
  372. help
  373. rm is used to remove files or directories.
  374. config RMDIR
  375. bool "rmdir"
  376. default y
  377. help
  378. rmdir is used to remove empty directories.
  379. config FEATURE_RMDIR_LONG_OPTIONS
  380. bool "Enable long options"
  381. default y
  382. depends on RMDIR && LONG_OPTS
  383. help
  384. Support long options for the rmdir applet, including
  385. --ignore-fail-on-non-empty for compatibility with GNU rmdir.
  386. config SEQ
  387. bool "seq"
  388. default y
  389. help
  390. print a sequence of numbers
  391. config SHA1SUM
  392. bool "sha1sum"
  393. default y
  394. help
  395. Compute and check SHA1 message digest
  396. config SHA256SUM
  397. bool "sha256sum"
  398. default y
  399. help
  400. Compute and check SHA256 message digest
  401. config SHA512SUM
  402. bool "sha512sum"
  403. default y
  404. help
  405. Compute and check SHA512 message digest
  406. config SHA3SUM
  407. bool "sha3sum"
  408. default y
  409. help
  410. Compute and check SHA3 (512-bit) message digest
  411. config SLEEP
  412. bool "sleep"
  413. default y
  414. help
  415. sleep is used to pause for a specified number of seconds.
  416. It comes in 3 versions:
  417. - small: takes one integer parameter
  418. - fancy: takes multiple integer arguments with suffixes:
  419. sleep 1d 2h 3m 15s
  420. - fancy with fractional numbers:
  421. sleep 2.3s 4.5h sleeps for 16202.3 seconds
  422. Last one is "the most compatible" with coreutils sleep,
  423. but it adds around 1k of code.
  424. config FEATURE_FANCY_SLEEP
  425. bool "Enable multiple arguments and s/m/h/d suffixes"
  426. default y
  427. depends on SLEEP
  428. help
  429. Allow sleep to pause for specified minutes, hours, and days.
  430. config FEATURE_FLOAT_SLEEP
  431. bool "Enable fractional arguments"
  432. default y
  433. depends on FEATURE_FANCY_SLEEP
  434. help
  435. Allow for fractional numeric parameters.
  436. config SORT
  437. bool "sort"
  438. default y
  439. help
  440. sort is used to sort lines of text in specified files.
  441. config FEATURE_SORT_BIG
  442. bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
  443. default y
  444. depends on SORT
  445. help
  446. Without this, sort only supports -r, -u, and an integer version
  447. of -n. Selecting this adds sort keys, floating point support, and
  448. more. This adds a little over 3k to a nonstatic build on x86.
  449. The SuSv3 sort standard is available at:
  450. http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
  451. config SPLIT
  452. bool "split"
  453. default y
  454. help
  455. split a file into pieces.
  456. config FEATURE_SPLIT_FANCY
  457. bool "Fancy extensions"
  458. default y
  459. depends on SPLIT
  460. help
  461. Add support for features not required by SUSv3.
  462. Supports additional suffixes 'b' for 512 bytes,
  463. 'g' for 1GiB for the -b option.
  464. config STAT
  465. bool "stat"
  466. default y
  467. select PLATFORM_LINUX # statfs()
  468. help
  469. display file or filesystem status.
  470. config FEATURE_STAT_FORMAT
  471. bool "Enable custom formats (-c)"
  472. default y
  473. depends on STAT
  474. help
  475. Without this, stat will not support the '-c format' option where
  476. users can pass a custom format string for output. This adds about
  477. 7k to a nonstatic build on amd64.
  478. config STTY
  479. bool "stty"
  480. default y
  481. help
  482. stty is used to change and print terminal line settings.
  483. config SUM
  484. bool "sum"
  485. default y
  486. help
  487. checksum and count the blocks in a file
  488. config TAC
  489. bool "tac"
  490. default y
  491. help
  492. tac is used to concatenate and print files in reverse.
  493. config TAIL
  494. bool "tail"
  495. default y
  496. help
  497. tail is used to print the last specified number of lines
  498. from files.
  499. config FEATURE_FANCY_TAIL
  500. bool "Enable extra tail options (-q, -s, -v, and -F)"
  501. default y
  502. depends on TAIL
  503. help
  504. The options (-q, -s, -v and -F) are provided by GNU tail, but
  505. are not specific in the SUSv3 standard.
  506. -q Never output headers giving file names
  507. -s SEC Wait SEC seconds between reads with -f
  508. -v Always output headers giving file names
  509. -F Same as -f, but keep retrying
  510. config TEE
  511. bool "tee"
  512. default y
  513. help
  514. tee is used to read from standard input and write
  515. to standard output and files.
  516. config FEATURE_TEE_USE_BLOCK_IO
  517. bool "Enable block I/O (larger/faster) instead of byte I/O"
  518. default y
  519. depends on TEE
  520. help
  521. Enable this option for a faster tee, at expense of size.
  522. config TRUE
  523. bool "true"
  524. default y
  525. help
  526. true returns an exit code of TRUE (0).
  527. config TTY
  528. bool "tty"
  529. default y
  530. help
  531. tty is used to print the name of the current terminal to
  532. standard output.
  533. config UNAME
  534. bool "uname"
  535. default y
  536. help
  537. uname is used to print system information.
  538. config UNAME_OSNAME
  539. string "Operating system name"
  540. default "GNU/Linux"
  541. depends on UNAME
  542. help
  543. Sets the operating system name reported by uname -o. The
  544. default is "GNU/Linux".
  545. config UNEXPAND
  546. bool "unexpand"
  547. default y
  548. help
  549. By default, convert only leading sequences of blanks to tabs.
  550. config FEATURE_UNEXPAND_LONG_OPTIONS
  551. bool "Enable long options"
  552. default y
  553. depends on UNEXPAND && LONG_OPTS
  554. help
  555. Support long options for the unexpand applet.
  556. config UNIQ
  557. bool "uniq"
  558. default y
  559. help
  560. uniq is used to remove duplicate lines from a sorted file.
  561. config USLEEP
  562. bool "usleep"
  563. default y
  564. help
  565. usleep is used to pause for a specified number of microseconds.
  566. config UUDECODE
  567. bool "uudecode"
  568. default y
  569. help
  570. uudecode is used to decode a uuencoded file.
  571. config UUENCODE
  572. bool "uuencode"
  573. default y
  574. help
  575. uuencode is used to uuencode a file.
  576. config WC
  577. bool "wc"
  578. default y
  579. help
  580. wc is used to print the number of bytes, words, and lines,
  581. in specified files.
  582. config FEATURE_WC_LARGE
  583. bool "Support very large files in wc"
  584. default y
  585. depends on WC
  586. help
  587. Use "unsigned long long" in wc for counter variables.
  588. config WHOAMI
  589. bool "whoami"
  590. default y
  591. help
  592. whoami is used to print the username of the current
  593. user id (same as id -un).
  594. config YES
  595. bool "yes"
  596. default y
  597. help
  598. yes is used to repeatedly output a specific string, or
  599. the default string `y'.
  600. comment "Common options"
  601. config FEATURE_VERBOSE
  602. bool "Support verbose options (usually -v) for various applets"
  603. default y
  604. help
  605. Enable cp -v, rm -v and similar messages.
  606. Also enables long option (--verbose) if it exists.
  607. Without this option, -v is accepted but ignored.
  608. comment "Common options for cp and mv"
  609. depends on CP || MV
  610. config FEATURE_PRESERVE_HARDLINKS
  611. bool "Preserve hard links"
  612. default y
  613. depends on CP || MV
  614. help
  615. Allow cp and mv to preserve hard links.
  616. comment "Common options for ls, more and telnet"
  617. depends on LS || MORE || TELNET
  618. config FEATURE_AUTOWIDTH
  619. bool "Calculate terminal & column widths"
  620. default y
  621. depends on LS || MORE || TELNET
  622. help
  623. This option allows utilities such as 'ls', 'more' and 'telnet'
  624. to determine the width of the screen, which can allow them to
  625. display additional text or avoid wrapping text onto the next line.
  626. If you leave this disabled, your utilities will be especially
  627. primitive and will be unable to determine the current screen width.
  628. comment "Common options for df, du, ls"
  629. depends on DF || DU || LS
  630. config FEATURE_HUMAN_READABLE
  631. bool "Support for human readable output (example 13k, 23M, 235G)"
  632. default y
  633. depends on DF || DU || LS
  634. help
  635. Allow df, du, and ls to have human readable output.
  636. comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum"
  637. depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
  638. config FEATURE_MD5_SHA1_SUM_CHECK
  639. bool "Enable -c, -s and -w options"
  640. default y
  641. depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
  642. help
  643. Enabling the -c options allows files to be checked
  644. against pre-calculated hash values.
  645. -s and -w are useful options when verifying checksums.
  646. endmenu