blob: 1bf228d2a19272129fc16ffed85e928135dcda4e [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 Landley28964802008-01-19 17:08:39 -060011config TOYBOX
12 bool
Rob Landleyd04dc1f2013-08-30 01:53:31 -050013 default y
Rob Landleyd06c58d2007-10-11 15:36:36 -050014 help
Rob Landley84316922014-06-10 21:57:05 -050015 usage: toybox [--long | [command] [arguments...]]
Rob Landleyd06c58d2007-10-11 15:36:36 -050016
Rob Landley26c00452013-04-14 12:35:25 -050017 With no arguments, shows available commands. First argument is
Rob Landley28964802008-01-19 17:08:39 -060018 name of a command to run, followed by any arguments to that command.
Rob Landleyd06c58d2007-10-11 15:36:36 -050019
Rob Landley84316922014-06-10 21:57:05 -050020 --long Show path to each command
21
22 To install command symlinks, try:
23 for i in $(/bin/toybox --long); do ln -s /bin/toybox $i; done
24
Rob Landleye0377fb2010-01-05 12:17:05 -060025config TOYBOX_SUID
26 bool "SUID support"
27 default y
28 help
Rob Landley26c00452013-04-14 12:35:25 -050029 Support for the Set User ID bit, to install toybox suid root and drop
30 permissions for commands which do not require root access. To use
31 this change ownership of the file to the root user and set the suid
32 bit in the file permissions:
33
34 chown root:root toybox; chmod +s toybox
Rob Landleye0377fb2010-01-05 12:17:05 -060035
Rob Landleyf01503d2012-02-02 07:26:39 -060036config TOYBOX_FLOAT
37 bool "Floating point support"
38 default y
39 help
40 Include floating point support infrastructure and commands that
41 require it.
42
Rob Landley36ffc5a2013-04-14 21:43:22 -050043config TOYBOX_HELP
Rob Landleyd683b172013-06-16 20:00:11 -050044 bool "Help messages"
Rob Landley36ffc5a2013-04-14 21:43:22 -050045 default y
46 help
47 Include help text for each command.
48
Rob Landley953722e2013-06-30 15:58:24 -050049config TOYBOX_HELP_DASHDASH
50 bool "--help"
51 default y
52 depends on TOYBOX_HELP
53 help
54 Support --help argument in all commands, even ones with a NULL
55 optstring. Produces the same output as "help command".
56
Felix Janda250e0052012-11-21 20:38:29 +010057config TOYBOX_I18N
Rob Landley26c00452013-04-14 12:35:25 -050058 bool "Internationalization support"
Felix Janda250e0052012-11-21 20:38:29 +010059 default y
60 help
Rob Landley26c00452013-04-14 12:35:25 -050061 Support for UTF-8 character sets, and some locale support.
Felix Janda250e0052012-11-21 20:38:29 +010062
Rob Landleyde05a702007-01-31 14:37:01 -050063config TOYBOX_FREE
landley5257cf52006-10-31 23:30:06 -050064 bool "Free memory unnecessarily"
65 default n
66 help
67 When a program exits, the operating system will clean up after it
Rob Landley26c00452013-04-14 12:35:25 -050068 (free memory, close files, etc). To save size, toybox usually relies
69 on this behavior. If you're running toybox under a debugger or
landley5257cf52006-10-31 23:30:06 -050070 without a real OS (ala newlib+libgloss), enable this to make toybox
71 clean up after itself.
72
Rob Landleyde05a702007-01-31 14:37:01 -050073config TOYBOX_DEBUG
Rob Landley8324b892006-11-19 02:49:22 -050074 bool "Debugging tests"
75 default n
76 help
77 Enable extra checks for debugging purposes.
78
landley5257cf52006-10-31 23:30:06 -050079endmenu