blob: de6a2c511d17ede8587b11252d194030eded0e1b [file] [log] [blame]
landley5257cf52006-10-31 23:30:06 -05001mainmenu "ToyBox Configuration"
2
Rob Landley76ec4852012-10-21 17:57:23 -05003
4source generated/Config.probed
5source generated/Config.in
6
7comment ""
8
Rob Landley3a9241a2012-08-25 14:25:22 -05009menu "Toybox global settings"
landley5257cf52006-10-31 23:30:06 -050010
Rob Landleya8bee462014-08-18 19:10:45 -050011# This entry controls the multiplexer, disabled for single command builds
Rob Landley28964802008-01-19 17:08:39 -060012config TOYBOX
13 bool
Rob Landleyd04dc1f2013-08-30 01:53:31 -050014 default y
Rob Landleyd06c58d2007-10-11 15:36:36 -050015 help
Rob Landley84316922014-06-10 21:57:05 -050016 usage: toybox [--long | [command] [arguments...]]
Rob Landleyd06c58d2007-10-11 15:36:36 -050017
Rob Landley26c00452013-04-14 12:35:25 -050018 With no arguments, shows available commands. First argument is
Rob Landley28964802008-01-19 17:08:39 -060019 name of a command to run, followed by any arguments to that command.
Rob Landleyd06c58d2007-10-11 15:36:36 -050020
Rob Landley84316922014-06-10 21:57:05 -050021 --long Show path to each command
22
23 To install command symlinks, try:
24 for i in $(/bin/toybox --long); do ln -s /bin/toybox $i; done
25
Rob Landleye0377fb2010-01-05 12:17:05 -060026config TOYBOX_SUID
27 bool "SUID support"
28 default y
29 help
Rob Landley26c00452013-04-14 12:35:25 -050030 Support for the Set User ID bit, to install toybox suid root and drop
31 permissions for commands which do not require root access. To use
32 this change ownership of the file to the root user and set the suid
33 bit in the file permissions:
34
35 chown root:root toybox; chmod +s toybox
Rob Landleye0377fb2010-01-05 12:17:05 -060036
Rob Landleyf01503d2012-02-02 07:26:39 -060037config TOYBOX_FLOAT
38 bool "Floating point support"
39 default y
40 help
41 Include floating point support infrastructure and commands that
42 require it.
43
Rob Landley36ffc5a2013-04-14 21:43:22 -050044config TOYBOX_HELP
Rob Landleyd683b172013-06-16 20:00:11 -050045 bool "Help messages"
Rob Landley36ffc5a2013-04-14 21:43:22 -050046 default y
47 help
48 Include help text for each command.
49
Rob Landley953722e2013-06-30 15:58:24 -050050config TOYBOX_HELP_DASHDASH
51 bool "--help"
52 default y
53 depends on TOYBOX_HELP
54 help
55 Support --help argument in all commands, even ones with a NULL
56 optstring. Produces the same output as "help command".
57
Felix Janda250e0052012-11-21 20:38:29 +010058config TOYBOX_I18N
Rob Landley26c00452013-04-14 12:35:25 -050059 bool "Internationalization support"
Felix Janda250e0052012-11-21 20:38:29 +010060 default y
61 help
Rob Landley26c00452013-04-14 12:35:25 -050062 Support for UTF-8 character sets, and some locale support.
Felix Janda250e0052012-11-21 20:38:29 +010063
Rob Landleyde05a702007-01-31 14:37:01 -050064config TOYBOX_FREE
landley5257cf52006-10-31 23:30:06 -050065 bool "Free memory unnecessarily"
66 default n
67 help
68 When a program exits, the operating system will clean up after it
Rob Landley26c00452013-04-14 12:35:25 -050069 (free memory, close files, etc). To save size, toybox usually relies
70 on this behavior. If you're running toybox under a debugger or
landley5257cf52006-10-31 23:30:06 -050071 without a real OS (ala newlib+libgloss), enable this to make toybox
72 clean up after itself.
73
Rob Landleyde05a702007-01-31 14:37:01 -050074config TOYBOX_DEBUG
Rob Landley8324b892006-11-19 02:49:22 -050075 bool "Debugging tests"
76 default n
77 help
Rob Landleya8bee462014-08-18 19:10:45 -050078 Enable extra checks for debugging purposes. All of them catch
79 things that can only go wrong at development time, not runtime.
80
81config TOYBOX_UID_SYS
82 int "First system UID"
83 default 100
84 help
85 When commands like useradd/groupadd allocate system IDs, start here.
86
87config TOYBOX_UID_USR
88 int "First user UID"
89 default 500
90 help
91 When commands like useradd/groupadd allocate user IDs, start here.
Rob Landley8324b892006-11-19 02:49:22 -050092
landley5257cf52006-10-31 23:30:06 -050093endmenu