OSDN Git Service

Allow single.sh to build more than one command per invocation.
[android-x86/external-toybox.git] / Config.in
1 mainmenu "Toybox Configuration"
2
3
4 source generated/Config.probed
5 source generated/Config.in
6
7 comment ""
8
9 menu "Toybox global settings"
10
11 # This entry controls the multiplexer, disabled for single command builds
12 config TOYBOX
13         bool
14         default y
15         help
16           usage: toybox [--long | [command] [arguments...]]
17
18           With no arguments, shows available commands. First argument is
19           name of a command to run, followed by any arguments to that command.
20
21           --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
26 config TOYBOX_SUID
27         bool "SUID support"
28         default y
29         help
30           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
36
37 config 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
44 config TOYBOX_HELP
45         bool "Help messages"
46         default y
47         help
48           Include help text for each command.
49
50 config 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
58 config TOYBOX_I18N
59         bool "Internationalization support"
60         default y
61         help
62           Support for UTF-8 character sets, and some locale support.
63
64 config TOYBOX_FREE
65         bool "Free memory unnecessarily"
66         default n
67         help
68           When a program exits, the operating system will clean up after it
69           (free memory, close files, etc). To save size, toybox usually relies
70           on this behavior. If you're running toybox under a debugger or
71           without a real OS (ala newlib+libgloss), enable this to make toybox
72           clean up after itself.
73
74 config TOYBOX_DEBUG
75         bool "Debugging tests"
76         default n
77         help
78           Enable extra checks for debugging purposes. All of them catch
79           things that can only go wrong at development time, not runtime.
80
81 config 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
87 config TOYBOX_UID_USR
88         int "First user UID"
89         default 500
90         help
91           When commands like useradd/groupadd allocate user IDs, start here.
92
93 endmenu