3
0

Config.in 17 KB

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