Mercurial > hg > toybox
view Config.in @ 990:8caeba551a28
This is the preliminary version of lspci text output support (the location
of pci.ids is hard-coded to /usr/share/misc/pci.ids, as found on Debian/Ubuntu).
+88 lines in two files, including reformatting, comments, whitespace,
and build configuration as well as new code.
The changes:
-Add library code to look up descriptions.
-Add a counter for -n (for the sake of -nn)
-Add the file stream "db" to GLOBALS and open it conditionally
-Add name fields to bufs
-Look up text if enabled and -n is passed never or twice
-Print text if lookup succeeded
author | Isaac Dunham <idunham@lavabit.com> |
---|---|
date | Wed, 07 Aug 2013 11:51:26 -0500 |
parents | caa05719070f |
children | 40d0c96a8e89 |
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_SINGLE bool default n help Build a single toybox command standalone with no multiplexer. 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_HELP_DASHDASH bool "--help" default y depends on TOYBOX_HELP help Support --help argument in all commands, even ones with a NULL optstring. Produces the same output as "help 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