Config.in 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. mainmenu "BusyBox Configuration"
  6. config HAVE_DOT_CONFIG
  7. bool
  8. default y
  9. menu "Busybox Settings"
  10. menu "General Configuration"
  11. config DESKTOP
  12. bool "Enable options for full-blown desktop systems"
  13. default y
  14. help
  15. Enable options and features which are not essential.
  16. Select this only if you plan to use busybox on full-blown
  17. desktop machine with common Linux distro, not on an embedded box.
  18. config EXTRA_COMPAT
  19. bool "Provide compatible behavior for rare corner cases (bigger code)"
  20. default n
  21. help
  22. This option makes grep, sed etc handle rare corner cases
  23. (embedded NUL bytes and such). This makes code bigger and uses
  24. some GNU extensions in libc. You probably only need this option
  25. if you plan to run busybox on desktop.
  26. config INCLUDE_SUSv2
  27. bool "Enable obsolete features removed before SUSv3"
  28. default y
  29. help
  30. This option will enable backwards compatibility with SuSv2,
  31. specifically, old-style numeric options ('command -1 <file>')
  32. will be supported in head, tail, and fold. (Note: should
  33. affect renice too.)
  34. config USE_PORTABLE_CODE
  35. bool "Avoid using GCC-specific code constructs"
  36. default n
  37. help
  38. Use this option if you are trying to compile busybox with
  39. compiler other than gcc.
  40. If you do use gcc, this option may needlessly increase code size.
  41. choice
  42. prompt "Buffer allocation policy"
  43. default FEATURE_BUFFERS_USE_MALLOC
  44. help
  45. There are 3 ways BusyBox can handle buffer allocations:
  46. - Use malloc. This costs code size for the call to xmalloc.
  47. - Put them on stack. For some very small machines with limited stack
  48. space, this can be deadly. For most folks, this works just fine.
  49. - Put them in BSS. This works beautifully for computers with a real
  50. MMU (and OS support), but wastes runtime RAM for uCLinux. This
  51. behavior was the only one available for BusyBox versions 0.48 and
  52. earlier.
  53. config FEATURE_BUFFERS_USE_MALLOC
  54. bool "Allocate with Malloc"
  55. config FEATURE_BUFFERS_GO_ON_STACK
  56. bool "Allocate on the Stack"
  57. config FEATURE_BUFFERS_GO_IN_BSS
  58. bool "Allocate in the .bss section"
  59. endchoice
  60. config SHOW_USAGE
  61. bool "Show terse applet usage messages"
  62. default y
  63. help
  64. All BusyBox applets will show help messages when invoked with
  65. wrong arguments. You can turn off printing these terse usage
  66. messages if you say no here.
  67. This will save you up to 7k.
  68. config FEATURE_VERBOSE_USAGE
  69. bool "Show verbose applet usage messages"
  70. default y
  71. depends on SHOW_USAGE
  72. help
  73. All BusyBox applets will show more verbose help messages when
  74. busybox is invoked with --help. This will add a lot of text to the
  75. busybox binary. In the default configuration, this will add about
  76. 13k, but it can add much more depending on your configuration.
  77. config FEATURE_COMPRESS_USAGE
  78. bool "Store applet usage messages in compressed form"
  79. default y
  80. depends on SHOW_USAGE
  81. help
  82. Store usage messages in compressed form, uncompress them on-the-fly
  83. when <applet> --help is called.
  84. If you have a really tiny busybox with few applets enabled (and
  85. bunzip2 isn't one of them), the overhead of the decompressor might
  86. be noticeable. Also, if you run executables directly from ROM
  87. and have very little memory, this might not be a win. Otherwise,
  88. you probably want this.
  89. config FEATURE_INSTALLER
  90. bool "Support --install [-s] to install applet links at runtime"
  91. default y
  92. help
  93. Enable 'busybox --install [-s]' support. This will allow you to use
  94. busybox at runtime to create hard links or symlinks for all the
  95. applets that are compiled into busybox.
  96. config LOCALE_SUPPORT
  97. bool "Enable locale support (system needs locale for this to work)"
  98. default n
  99. help
  100. Enable this if your system has locale support and you would like
  101. busybox to support locale settings.
  102. config UNICODE_SUPPORT
  103. bool "Support Unicode"
  104. default y
  105. help
  106. This makes various applets aware that one byte is not
  107. one character on screen.
  108. Busybox aims to eventually work correctly with Unicode displays.
  109. Any older encodings are not guaranteed to work.
  110. Probably by the time when busybox will be fully Unicode-clean,
  111. other encodings will be mainly of historic interest.
  112. config UNICODE_USING_LOCALE
  113. bool "Use libc routines for Unicode (else uses internal ones)"
  114. default n
  115. depends on UNICODE_SUPPORT && LOCALE_SUPPORT
  116. help
  117. With this option on, Unicode support is implemented using libc
  118. routines. Otherwise, internal implementation is used.
  119. Internal implementation is smaller.
  120. config FEATURE_CHECK_UNICODE_IN_ENV
  121. bool "Check $LANG environment variable"
  122. default n
  123. depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE
  124. help
  125. With this option on, Unicode support is activated
  126. only if LANG variable has the value of the form "xxxx.utf8"
  127. Otherwise, Unicode support will be always enabled and active.
  128. config SUBST_WCHAR
  129. int "Character code to substitute unprintable characters with"
  130. depends on UNICODE_SUPPORT
  131. default 63
  132. help
  133. Typical values are 63 for '?' (works with any output device),
  134. 30 for ASCII substitute control code,
  135. 65533 (0xfffd) for Unicode replacement character.
  136. config LAST_SUPPORTED_WCHAR
  137. int "Range of supported Unicode characters"
  138. depends on UNICODE_SUPPORT
  139. default 767
  140. help
  141. Any character with Unicode value bigger than this is assumed
  142. to be non-printable on output device. Many applets replace
  143. such chars with substitution character.
  144. The idea is that many valid printable Unicode chars are
  145. nevertheless are not displayed correctly. Think about
  146. combining charachers, double-wide hieroglyphs, obscure
  147. characters in dozens of ancient scripts...
  148. Many terminals, terminal emulators, xterms etc will fail
  149. to handle them correctly. Choose the smallest value
  150. which suits your needs.
  151. Typical values are:
  152. 126 - ASCII only
  153. 767 (0x2ff) - there are no combining chars in [0..767] range
  154. (the range includes Latin 1, Latin Ext. A and B),
  155. code is ~700 bytes smaller for this case.
  156. 4351 (0x10ff) - there are no double-wide chars in [0..4351] range,
  157. code is ~300 bytes smaller for this case.
  158. 12799 (0x31ff) - nearly all non-ideographic characters are
  159. available in [0..12799] range, including
  160. East Asian scripts like katakana, hiragana, hangul,
  161. bopomofo...
  162. 0 - off, any valid printable Unicode character will be printed.
  163. config UNICODE_COMBINING_WCHARS
  164. bool "Allow zero-width Unicode characters on output"
  165. default n
  166. depends on UNICODE_SUPPORT
  167. help
  168. With this option off, any Unicode char with width of 0
  169. is substituted on output.
  170. config UNICODE_WIDE_WCHARS
  171. bool "Allow wide Unicode characters on output"
  172. default n
  173. depends on UNICODE_SUPPORT
  174. help
  175. With this option off, any Unicode char with width > 1
  176. is substituted on output.
  177. config UNICODE_BIDI_SUPPORT
  178. bool "Bidirectional character-aware line input"
  179. default n
  180. depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE
  181. help
  182. With this option on, right-to-left Unicode characters
  183. are treated differently on input (e.g. cursor movement).
  184. config UNICODE_NEUTRAL_TABLE
  185. bool "In bidi input, support non-ASCII neutral chars too"
  186. default n
  187. depends on UNICODE_BIDI_SUPPORT
  188. help
  189. In most cases it's enough to treat only ASCII non-letters
  190. (i.e. punctuation, numbers and space) as characters
  191. with neutral directionality.
  192. With this option on, more extensive (and bigger) table
  193. of neutral chars will be used.
  194. config UNICODE_PRESERVE_BROKEN
  195. bool "Make it possible to enter sequences of chars which are not Unicode"
  196. default n
  197. depends on UNICODE_SUPPORT
  198. help
  199. With this option on, invalid UTF-8 bytes are not substituted
  200. with the selected substitution character.
  201. For example, this means that entering 'l', 's', ' ', 0xff, [Enter]
  202. at shell prompt will list file named 0xff (single char name
  203. with char value 255), not file named '?'.
  204. config LONG_OPTS
  205. bool "Support for --long-options"
  206. default y
  207. help
  208. Enable this if you want busybox applets to use the gnu --long-option
  209. style, in addition to single character -a -b -c style options.
  210. config FEATURE_DEVPTS
  211. bool "Use the devpts filesystem for Unix98 PTYs"
  212. default y
  213. help
  214. Enable if you want BusyBox to use Unix98 PTY support. If enabled,
  215. busybox will use /dev/ptmx for the master side of the pseudoterminal
  216. and /dev/pts/<number> for the slave side. Otherwise, BSD style
  217. /dev/ttyp<number> will be used. To use this option, you should have
  218. devpts mounted.
  219. config FEATURE_CLEAN_UP
  220. bool "Clean up all memory before exiting (usually not needed)"
  221. default n
  222. help
  223. As a size optimization, busybox normally exits without explicitly
  224. freeing dynamically allocated memory or closing files. This saves
  225. space since the OS will clean up for us, but it can confuse debuggers
  226. like valgrind, which report tons of memory and resource leaks.
  227. Don't enable this unless you have a really good reason to clean
  228. things up manually.
  229. config FEATURE_UTMP
  230. bool "Support utmp file"
  231. default y
  232. help
  233. The file /var/run/utmp is used to track who is currently logged in.
  234. With this option on, certain applets (getty, login, telnetd etc)
  235. will create and delete entries there.
  236. "who" applet requires this option.
  237. config FEATURE_WTMP
  238. bool "Support wtmp file"
  239. default y
  240. select FEATURE_UTMP
  241. help
  242. The file /var/run/wtmp is used to track when users have logged into
  243. and logged out of the system.
  244. With this option on, certain applets (getty, login, telnetd etc)
  245. will append new entries there.
  246. "last" applet requires this option.
  247. config FEATURE_PIDFILE
  248. bool "Support writing pidfiles"
  249. default y
  250. help
  251. This option makes some applets (e.g. crond, syslogd, inetd) write
  252. a pidfile in /var/run. Some applications rely on them.
  253. config FEATURE_SUID
  254. bool "Support for SUID/SGID handling"
  255. default y
  256. help
  257. With this option you can install the busybox binary belonging
  258. to root with the suid bit set, and it will automatically drop
  259. priviledges for applets that don't need root access.
  260. If you are really paranoid and don't want to do this, build two
  261. busybox binaries with different applets in them (and the appropriate
  262. symlinks pointing to each binary), and only set the suid bit on the
  263. one that needs it. The applets currently marked to need the suid bit
  264. are:
  265. crontab, dnsd, findfs, ipcrm, ipcs, login, passwd, ping, su,
  266. traceroute, vlock.
  267. config FEATURE_SUID_CONFIG
  268. bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
  269. default y if FEATURE_SUID
  270. depends on FEATURE_SUID
  271. help
  272. Allow the SUID / SGID state of an applet to be determined at runtime
  273. by checking /etc/busybox.conf. (This is sort of a poor man's sudo.)
  274. The format of this file is as follows:
  275. <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>)
  276. An example might help:
  277. [SUID]
  278. su = ssx root.0 # applet su can be run by anyone and runs with
  279. # euid=0/egid=0
  280. su = ssx # exactly the same
  281. mount = sx- root.disk # applet mount can be run by root and members
  282. # of group disk and runs with euid=0
  283. cp = --- # disable applet cp for everyone
  284. The file has to be owned by user root, group root and has to be
  285. writeable only by root:
  286. (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
  287. The busybox executable has to be owned by user root, group
  288. root and has to be setuid root for this to work:
  289. (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
  290. Robert 'sandman' Griebl has more information here:
  291. <url: http://www.softforge.de/bb/suid.html >.
  292. config FEATURE_SUID_CONFIG_QUIET
  293. bool "Suppress warning message if /etc/busybox.conf is not readable"
  294. default y
  295. depends on FEATURE_SUID_CONFIG
  296. help
  297. /etc/busybox.conf should be readable by the user needing the SUID,
  298. check this option to avoid users to be notified about missing
  299. permissions.
  300. config SELINUX
  301. bool "Support NSA Security Enhanced Linux"
  302. default n
  303. help
  304. Enable support for SELinux in applets ls, ps, and id. Also provide
  305. the option of compiling in SELinux applets.
  306. If you do not have a complete SELinux userland installed, this stuff
  307. will not compile. Go visit
  308. http://www.nsa.gov/selinux/index.html
  309. to download the necessary stuff to allow busybox to compile with
  310. this option enabled. Specifially, libselinux 1.28 or better is
  311. directly required by busybox. If the installation is located in a
  312. non-standard directory, provide it by invoking make as follows:
  313. CFLAGS=-I<libselinux-include-path> \
  314. LDFLAGS=-L<libselinux-lib-path> \
  315. make
  316. Most people will leave this set to 'N'.
  317. config FEATURE_PREFER_APPLETS
  318. bool "exec prefers applets"
  319. default n
  320. help
  321. This is an experimental option which directs applets about to
  322. call 'exec' to try and find an applicable busybox applet before
  323. searching the PATH. This is typically done by exec'ing
  324. /proc/self/exe.
  325. This may affect shell, find -exec, xargs and similar applets.
  326. They will use applets even if /bin/<applet> -> busybox link
  327. is missing (or is not a link to busybox). However, this causes
  328. problems in chroot jails without mounted /proc and with ps/top
  329. (command name can be shown as 'exe' for applets started this way).
  330. config BUSYBOX_EXEC_PATH
  331. string "Path to BusyBox executable"
  332. default "/proc/self/exe"
  333. help
  334. When Busybox applets need to run other busybox applets, BusyBox
  335. sometimes needs to exec() itself. When the /proc filesystem is
  336. mounted, /proc/self/exe always points to the currently running
  337. executable. If you haven't got /proc, set this to wherever you
  338. want to run BusyBox from.
  339. # These are auto-selected by other options
  340. config FEATURE_SYSLOG
  341. bool #No description makes it a hidden option
  342. default n
  343. #help
  344. # This option is auto-selected when you select any applet which may
  345. # send its output to syslog. You do not need to select it manually.
  346. config FEATURE_HAVE_RPC
  347. bool #No description makes it a hidden option
  348. default n
  349. #help
  350. # This is automatically selected if any of enabled applets need it.
  351. # You do not need to select it manually.
  352. endmenu
  353. menu 'Build Options'
  354. config STATIC
  355. bool "Build BusyBox as a static binary (no shared libs)"
  356. default n
  357. help
  358. If you want to build a static BusyBox binary, which does not
  359. use or require any shared libraries, then enable this option.
  360. This can cause BusyBox to be considerably larger, so you should
  361. leave this option false unless you have a good reason (i.e.
  362. your target platform does not support shared libraries, or
  363. you are building an initrd which doesn't need anything but
  364. BusyBox, etc).
  365. Most people will leave this set to 'N'.
  366. config PIE
  367. bool "Build BusyBox as a position independent executable"
  368. default n
  369. depends on !STATIC
  370. help
  371. (TODO: what is it and why/when is it useful?)
  372. Most people will leave this set to 'N'.
  373. config NOMMU
  374. bool "Force NOMMU build"
  375. default n
  376. help
  377. Busybox tries to detect whether architecture it is being
  378. built against supports MMU or not. If this detection fails,
  379. or if you want to build NOMMU version of busybox for testing,
  380. you may force NOMMU build here.
  381. Most people will leave this set to 'N'.
  382. # PIE can be made to work with BUILD_LIBBUSYBOX, but currently
  383. # build system does not support that
  384. config BUILD_LIBBUSYBOX
  385. bool "Build shared libbusybox"
  386. default n
  387. depends on !FEATURE_PREFER_APPLETS && !PIE && !STATIC
  388. help
  389. Build a shared library libbusybox.so.N.N.N which contains all
  390. busybox code.
  391. This feature allows every applet to be built as a tiny
  392. separate executable. Enabling it for "one big busybox binary"
  393. approach serves no purpose and increases code size.
  394. You should almost certainly say "no" to this.
  395. ### config FEATURE_FULL_LIBBUSYBOX
  396. ### bool "Feature-complete libbusybox"
  397. ### default n if !FEATURE_SHARED_BUSYBOX
  398. ### depends on BUILD_LIBBUSYBOX
  399. ### help
  400. ### Build a libbusybox with the complete feature-set, disregarding
  401. ### the actually selected config.
  402. ###
  403. ### Normally, libbusybox will only contain the features which are
  404. ### used by busybox itself. If you plan to write a separate
  405. ### standalone application which uses libbusybox say 'Y'.
  406. ###
  407. ### Note: libbusybox is GPL, not LGPL, and exports no stable API that
  408. ### might act as a copyright barrier. We can and will modify the
  409. ### exported function set between releases (even minor version number
  410. ### changes), and happily break out-of-tree features.
  411. ###
  412. ### Say 'N' if in doubt.
  413. config FEATURE_INDIVIDUAL
  414. bool "Produce a binary for each applet, linked against libbusybox"
  415. default y
  416. depends on BUILD_LIBBUSYBOX
  417. help
  418. If your CPU architecture doesn't allow for sharing text/rodata
  419. sections of running binaries, but allows for runtime dynamic
  420. libraries, this option will allow you to reduce memory footprint
  421. when you have many different applets running at once.
  422. If your CPU architecture allows for sharing text/rodata,
  423. having single binary is more optimal.
  424. Each applet will be a tiny program, dynamically linked
  425. against libbusybox.so.N.N.N.
  426. You need to have a working dynamic linker.
  427. config FEATURE_SHARED_BUSYBOX
  428. bool "Produce additional busybox binary linked against libbusybox"
  429. default y
  430. depends on BUILD_LIBBUSYBOX
  431. help
  432. Build busybox, dynamically linked against libbusybox.so.N.N.N.
  433. You need to have a working dynamic linker.
  434. ### config BUILD_AT_ONCE
  435. ### bool "Compile all sources at once"
  436. ### default n
  437. ### help
  438. ### Normally each source-file is compiled with one invocation of
  439. ### the compiler.
  440. ### If you set this option, all sources are compiled at once.
  441. ### This gives the compiler more opportunities to optimize which can
  442. ### result in smaller and/or faster binaries.
  443. ###
  444. ### Setting this option will consume alot of memory, e.g. if you
  445. ### enable all applets with all features, gcc uses more than 300MB
  446. ### RAM during compilation of busybox.
  447. ###
  448. ### This option is most likely only beneficial for newer compilers
  449. ### such as gcc-4.1 and above.
  450. ###
  451. ### Say 'N' unless you know what you are doing.
  452. config LFS
  453. bool "Build with Large File Support (for accessing files > 2 GB)"
  454. default y
  455. select FDISK_SUPPORT_LARGE_DISKS
  456. help
  457. If you want to build BusyBox with large file support, then enable
  458. this option. This will have no effect if your kernel or your C
  459. library lacks large file support for large files. Some of the
  460. programs that can benefit from large file support include dd, gzip,
  461. cp, mount, tar, and many others. If you want to access files larger
  462. than 2 Gigabytes, enable this option. Otherwise, leave it set to 'N'.
  463. config CROSS_COMPILER_PREFIX
  464. string "Cross Compiler prefix"
  465. default ""
  466. help
  467. If you want to build BusyBox with a cross compiler, then you
  468. will need to set this to the cross-compiler prefix, for example,
  469. "i386-uclibc-".
  470. Note that CROSS_COMPILE environment variable or
  471. "make CROSS_COMPILE=xxx ..." will override this selection.
  472. Native builds leave this empty.
  473. config EXTRA_CFLAGS
  474. string "Additional CFLAGS"
  475. default ""
  476. help
  477. Additional CFLAGS to pass to the compiler verbatim.
  478. endmenu
  479. menu 'Debugging Options'
  480. config DEBUG
  481. bool "Build BusyBox with extra Debugging symbols"
  482. default n
  483. help
  484. Say Y here if you wish to examine BusyBox internals while applets are
  485. running. This increases the size of the binary considerably, and
  486. should only be used when doing development. If you are doing
  487. development and want to debug BusyBox, answer Y.
  488. Most people should answer N.
  489. config DEBUG_PESSIMIZE
  490. bool "Disable compiler optimizations"
  491. default n
  492. depends on DEBUG
  493. help
  494. The compiler's optimization of source code can eliminate and reorder
  495. code, resulting in an executable that's hard to understand when
  496. stepping through it with a debugger. This switches it off, resulting
  497. in a much bigger executable that more closely matches the source
  498. code.
  499. config WERROR
  500. bool "Abort compilation on any warning"
  501. default n
  502. help
  503. Selecting this will add -Werror to gcc command line.
  504. Most people should answer N.
  505. choice
  506. prompt "Additional debugging library"
  507. default NO_DEBUG_LIB
  508. help
  509. Using an additional debugging library will make BusyBox become
  510. considerable larger and will cause it to run more slowly. You
  511. should always leave this option disabled for production use.
  512. dmalloc support:
  513. ----------------
  514. This enables compiling with dmalloc ( http://dmalloc.com/ )
  515. which is an excellent public domain mem leak and malloc problem
  516. detector. To enable dmalloc, before running busybox you will
  517. want to properly set your environment, for example:
  518. export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
  519. The 'debug=' value is generated using the following command
  520. dmalloc -p log-stats -p log-non-free -p log-bad-space \
  521. -p log-elapsed-time -p check-fence -p check-heap \
  522. -p check-lists -p check-blank -p check-funcs -p realloc-copy \
  523. -p allow-free-null
  524. Electric-fence support:
  525. -----------------------
  526. This enables compiling with Electric-fence support. Electric
  527. fence is another very useful malloc debugging library which uses
  528. your computer's virtual memory hardware to detect illegal memory
  529. accesses. This support will make BusyBox be considerable larger
  530. and run slower, so you should leave this option disabled unless
  531. you are hunting a hard to find memory problem.
  532. config NO_DEBUG_LIB
  533. bool "None"
  534. config DMALLOC
  535. bool "Dmalloc"
  536. config EFENCE
  537. bool "Electric-fence"
  538. endchoice
  539. ### config PARSE
  540. ### bool "Uniform config file parser debugging applet: parse"
  541. endmenu
  542. menu 'Installation Options'
  543. config INSTALL_NO_USR
  544. bool "Don't use /usr"
  545. default n
  546. help
  547. Disable use of /usr. Don't activate this option if you don't know
  548. that you really want this behaviour.
  549. choice
  550. prompt "Applets links"
  551. default INSTALL_APPLET_SYMLINKS
  552. help
  553. Choose how you install applets links.
  554. config INSTALL_APPLET_SYMLINKS
  555. bool "as soft-links"
  556. help
  557. Install applets as soft-links to the busybox binary. This needs some
  558. free inodes on the filesystem, but might help with filesystem
  559. generators that can't cope with hard-links.
  560. config INSTALL_APPLET_HARDLINKS
  561. bool "as hard-links"
  562. help
  563. Install applets as hard-links to the busybox binary. This might
  564. count on a filesystem with few inodes.
  565. config INSTALL_APPLET_SCRIPT_WRAPPERS
  566. bool "as script wrappers"
  567. help
  568. Install applets as script wrappers that call the busybox binary.
  569. config INSTALL_APPLET_DONT
  570. bool "not installed"
  571. depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE || FEATURE_PREFER_APPLETS
  572. help
  573. Do not install applet links. Useful when using the -install feature
  574. or a standalone shell for rescue purposes.
  575. endchoice
  576. choice
  577. prompt "/bin/sh applet link"
  578. default INSTALL_SH_APPLET_SYMLINK
  579. depends on INSTALL_APPLET_SCRIPT_WRAPPERS
  580. help
  581. Choose how you install /bin/sh applet link.
  582. config INSTALL_SH_APPLET_SYMLINK
  583. bool "as soft-link"
  584. help
  585. Install /bin/sh applet as soft-link to the busybox binary.
  586. config INSTALL_SH_APPLET_HARDLINK
  587. bool "as hard-link"
  588. help
  589. Install /bin/sh applet as hard-link to the busybox binary.
  590. config INSTALL_SH_APPLET_SCRIPT_WRAPPER
  591. bool "as script wrapper"
  592. help
  593. Install /bin/sh applet as script wrapper that call the busybox
  594. binary.
  595. endchoice
  596. config PREFIX
  597. string "BusyBox installation prefix"
  598. default "./_install"
  599. help
  600. Define your directory to install BusyBox files/subdirs in.
  601. endmenu
  602. source libbb/Config.in
  603. endmenu
  604. comment "Applets"
  605. source archival/Config.in
  606. source coreutils/Config.in
  607. source console-tools/Config.in
  608. source debianutils/Config.in
  609. source editors/Config.in
  610. source findutils/Config.in
  611. source init/Config.in
  612. source loginutils/Config.in
  613. source e2fsprogs/Config.in
  614. source modutils/Config.in
  615. source util-linux/Config.in
  616. source miscutils/Config.in
  617. source networking/Config.in
  618. source printutils/Config.in
  619. source mailutils/Config.in
  620. source procps/Config.in
  621. source runit/Config.in
  622. source selinux/Config.in
  623. source shell/Config.in
  624. source sysklogd/Config.in