blob: 5f04bd8832bf1148f1eb12244f678e0ec0696739 [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 Landley28964802008-01-19 17:08:39 -060015 usage: toybox [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 Landleye0377fb2010-01-05 12:17:05 -060020config TOYBOX_SUID
21 bool "SUID support"
22 default y
23 help
Rob Landley26c00452013-04-14 12:35:25 -050024 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 Landleye0377fb2010-01-05 12:17:05 -060030
Rob Landleyf01503d2012-02-02 07:26:39 -060031config 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 Landley36ffc5a2013-04-14 21:43:22 -050038config TOYBOX_HELP
Rob Landleyd683b172013-06-16 20:00:11 -050039 bool "Help messages"
Rob Landley36ffc5a2013-04-14 21:43:22 -050040 default y
41 help
42 Include help text for each command.
43
Rob Landley953722e2013-06-30 15:58:24 -050044config 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 Janda250e0052012-11-21 20:38:29 +010052config TOYBOX_I18N
Rob Landley26c00452013-04-14 12:35:25 -050053 bool "Internationalization support"
Felix Janda250e0052012-11-21 20:38:29 +010054 default y
55 help
Rob Landley26c00452013-04-14 12:35:25 -050056 Support for UTF-8 character sets, and some locale support.
Felix Janda250e0052012-11-21 20:38:29 +010057
Rob Landleyde05a702007-01-31 14:37:01 -050058config TOYBOX_FREE
landley5257cf52006-10-31 23:30:06 -050059 bool "Free memory unnecessarily"
60 default n
61 help
62 When a program exits, the operating system will clean up after it
Rob Landley26c00452013-04-14 12:35:25 -050063 (free memory, close files, etc). To save size, toybox usually relies
64 on this behavior. If you're running toybox under a debugger or
landley5257cf52006-10-31 23:30:06 -050065 without a real OS (ala newlib+libgloss), enable this to make toybox
66 clean up after itself.
67
Rob Landleyde05a702007-01-31 14:37:01 -050068config TOYBOX_DEBUG
Rob Landley8324b892006-11-19 02:49:22 -050069 bool "Debugging tests"
70 default n
71 help
72 Enable extra checks for debugging purposes.
73
landley5257cf52006-10-31 23:30:06 -050074endmenu