blob: 9bac6076040fbdad632a47419fd956e4d236535e [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
13 default n
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 Landleybb504f32013-07-19 02:03:02 -050020config TOYBOX_SINGLE
21 bool
22 default n
23 help
24 Build a single toybox command standalone with no multiplexer.
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
78 Enable extra checks for debugging purposes.
79
landley5257cf52006-10-31 23:30:06 -050080endmenu