changeset 235:7cde22266e65

More documentation for generated/* files.
author Rob Landley <>
date Sat, 19 Jan 2008 17:49:51 -0600
parents 163498bf547b
children 6b292ee780ab
files generated/README.txt
diffstat 1 files changed, 16 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/generated/README.txt	Sat Jan 19 17:43:27 2008 -0600
+++ b/generated/README.txt	Sat Jan 19 17:49:51 2008 -0600
@@ -1,3 +1,17 @@
 All the files in this directory except this README are generated by the
-build.  Some of them may require python on the host system, and are thus
-shipped in the build tarball so python isn't a build requirement.
+build.  (See scripts/
+config.h: CFG_COMMAND and USE_COMMAND() macros set by menuconfig via .config.
+ Kconfig entries for each command.  Included by top level
+           The help text in here is used to generated help.h
+help.h: Help text strings for use by "help" command.  Building this file
+        requires python on the host system, so the prebuilt file is shipped
+        in the build tarball to avoid requiring python to build toybox.
+newtoys.h: List of NEWTOY() or OLDTOY() macros for all available commands.
+           Associates command_main() functions with command names, provides
+           option string for command line parsing (see lib/args.c), specifies
+           where to install each command and whether toysh should fork before
+           calling it.