Mercurial > hg > toybox
view Config.in @ 934:d0ab54f62346
Modinfo cleanups.
Don't use xopen() if you want to iterate through multiple files.
Don't abort if unable to open the file, but return error if it can't map it.
(And leak the filehandle.) All modinfo_file() actually uses is the filename,
no reason to go through dirtree() for that. Nothing is actually _checking_ the
return value of modinfo_file(). Avoid global data outside of toy_union.
Make sure extension is at end of file (we can add support for more extensions
later).
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 23 Jun 2013 14:38:31 -0500 |
parents | 6988ece404b2 |
children | 812e8c5d026f |
line wrap: on
line source
mainmenu "ToyBox Configuration" source generated/Config.probed source generated/Config.in comment "" menu "Toybox global settings" config TOYBOX bool default n help usage: toybox [command] [arguments...] With no arguments, shows available commands. First argument is name of a command to run, followed by any arguments to that command. config TOYBOX_SUID bool "SUID support" default y help Support for the Set User ID bit, to install toybox suid root and drop permissions for commands which do not require root access. To use this change ownership of the file to the root user and set the suid bit in the file permissions: chown root:root toybox; chmod +s toybox config TOYBOX_FLOAT bool "Floating point support" default y help Include floating point support infrastructure and commands that require it. config TOYBOX_HELP bool "Help messages" default y help Include help text for each command. config TOYBOX_I18N bool "Internationalization support" default y help Support for UTF-8 character sets, and some locale support. config TOYBOX_FREE bool "Free memory unnecessarily" default n help When a program exits, the operating system will clean up after it (free memory, close files, etc). To save size, toybox usually relies on this behavior. If you're running toybox under a debugger or without a real OS (ala newlib+libgloss), enable this to make toybox clean up after itself. config TOYBOX_DEBUG bool "Debugging tests" default n help Enable extra checks for debugging purposes. endmenu