landley | 5257cf5 | 2006-10-31 23:30:06 -0500 | [diff] [blame] | 1 | mainmenu "ToyBox Configuration" |
| 2 | |
Rob Landley | 76ec485 | 2012-10-21 17:57:23 -0500 | [diff] [blame] | 3 | |
| 4 | source generated/Config.probed |
| 5 | source generated/Config.in |
| 6 | |
| 7 | comment "" |
| 8 | |
Rob Landley | 3a9241a | 2012-08-25 14:25:22 -0500 | [diff] [blame] | 9 | menu "Toybox global settings" |
landley | 5257cf5 | 2006-10-31 23:30:06 -0500 | [diff] [blame] | 10 | |
Rob Landley | 2896480 | 2008-01-19 17:08:39 -0600 | [diff] [blame] | 11 | config TOYBOX |
| 12 | bool |
Rob Landley | d04dc1f | 2013-08-30 01:53:31 -0500 | [diff] [blame] | 13 | default y |
Rob Landley | d06c58d | 2007-10-11 15:36:36 -0500 | [diff] [blame] | 14 | help |
Rob Landley | 2896480 | 2008-01-19 17:08:39 -0600 | [diff] [blame] | 15 | usage: toybox [command] [arguments...] |
Rob Landley | d06c58d | 2007-10-11 15:36:36 -0500 | [diff] [blame] | 16 | |
Rob Landley | 26c0045 | 2013-04-14 12:35:25 -0500 | [diff] [blame] | 17 | With no arguments, shows available commands. First argument is |
Rob Landley | 2896480 | 2008-01-19 17:08:39 -0600 | [diff] [blame] | 18 | name of a command to run, followed by any arguments to that command. |
Rob Landley | d06c58d | 2007-10-11 15:36:36 -0500 | [diff] [blame] | 19 | |
Rob Landley | e0377fb | 2010-01-05 12:17:05 -0600 | [diff] [blame] | 20 | config TOYBOX_SUID |
| 21 | bool "SUID support" |
| 22 | default y |
| 23 | help |
Rob Landley | 26c0045 | 2013-04-14 12:35:25 -0500 | [diff] [blame] | 24 | Support for the Set User ID bit, to install toybox suid root and drop |
| 25 | permissions for commands which do not require root access. To use |
| 26 | this change ownership of the file to the root user and set the suid |
| 27 | bit in the file permissions: |
| 28 | |
| 29 | chown root:root toybox; chmod +s toybox |
Rob Landley | e0377fb | 2010-01-05 12:17:05 -0600 | [diff] [blame] | 30 | |
Rob Landley | f01503d | 2012-02-02 07:26:39 -0600 | [diff] [blame] | 31 | config TOYBOX_FLOAT |
| 32 | bool "Floating point support" |
| 33 | default y |
| 34 | help |
| 35 | Include floating point support infrastructure and commands that |
| 36 | require it. |
| 37 | |
Rob Landley | 36ffc5a | 2013-04-14 21:43:22 -0500 | [diff] [blame] | 38 | config TOYBOX_HELP |
Rob Landley | d683b17 | 2013-06-16 20:00:11 -0500 | [diff] [blame] | 39 | bool "Help messages" |
Rob Landley | 36ffc5a | 2013-04-14 21:43:22 -0500 | [diff] [blame] | 40 | default y |
| 41 | help |
| 42 | Include help text for each command. |
| 43 | |
Rob Landley | 953722e | 2013-06-30 15:58:24 -0500 | [diff] [blame] | 44 | config TOYBOX_HELP_DASHDASH |
| 45 | bool "--help" |
| 46 | default y |
| 47 | depends on TOYBOX_HELP |
| 48 | help |
| 49 | Support --help argument in all commands, even ones with a NULL |
| 50 | optstring. Produces the same output as "help command". |
| 51 | |
Felix Janda | 250e005 | 2012-11-21 20:38:29 +0100 | [diff] [blame] | 52 | config TOYBOX_I18N |
Rob Landley | 26c0045 | 2013-04-14 12:35:25 -0500 | [diff] [blame] | 53 | bool "Internationalization support" |
Felix Janda | 250e005 | 2012-11-21 20:38:29 +0100 | [diff] [blame] | 54 | default y |
| 55 | help |
Rob Landley | 26c0045 | 2013-04-14 12:35:25 -0500 | [diff] [blame] | 56 | Support for UTF-8 character sets, and some locale support. |
Felix Janda | 250e005 | 2012-11-21 20:38:29 +0100 | [diff] [blame] | 57 | |
Rob Landley | de05a70 | 2007-01-31 14:37:01 -0500 | [diff] [blame] | 58 | config TOYBOX_FREE |
landley | 5257cf5 | 2006-10-31 23:30:06 -0500 | [diff] [blame] | 59 | bool "Free memory unnecessarily" |
| 60 | default n |
| 61 | help |
| 62 | When a program exits, the operating system will clean up after it |
Rob Landley | 26c0045 | 2013-04-14 12:35:25 -0500 | [diff] [blame] | 63 | (free memory, close files, etc). To save size, toybox usually relies |
| 64 | on this behavior. If you're running toybox under a debugger or |
landley | 5257cf5 | 2006-10-31 23:30:06 -0500 | [diff] [blame] | 65 | without a real OS (ala newlib+libgloss), enable this to make toybox |
| 66 | clean up after itself. |
| 67 | |
Rob Landley | de05a70 | 2007-01-31 14:37:01 -0500 | [diff] [blame] | 68 | config TOYBOX_DEBUG |
Rob Landley | 8324b89 | 2006-11-19 02:49:22 -0500 | [diff] [blame] | 69 | bool "Debugging tests" |
| 70 | default n |
| 71 | help |
| 72 | Enable extra checks for debugging purposes. |
| 73 | |
landley | 5257cf5 | 2006-10-31 23:30:06 -0500 | [diff] [blame] | 74 | endmenu |