annotate README @ 432:01473712c9fe

Document that optflags is always an int (so 32 bit and 64 bit platforms behave the same).
author Rob Landley <rob@landley.net>
date Mon, 06 Feb 2012 21:15:19 -0600
parents 27104029d771
children 5dcfb58916a7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
429
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
1 Toybox: all-in-one Linux command line.
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
2
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
3 --- Building Toybox
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
4
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
5 Type "make help" for build instructions.
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
6
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
7 Mostly you want:
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
8
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
9 CFLAGS="--static" CROSS_COMPILE=armv5l- make defconfig toybox install
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
10
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
11 Or "make menuconfig", which produces the same sort of .config file as the
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
12 Linux kernel.
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
13
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
14 --- Using toybox
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
15
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
16 The build produces a "swiss-army-knife" style multifunction binary, which acts
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
17 differently depending on the name it was called as (cp, mv, cat...), and
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
18 installs symlinks under each command name to populate $PATH.
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
19
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
20 The "toybox" command itself uses its first argument as the command name to run
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
21 (ala "toybox ls -l"). With no arguments, it lists available commands. (This
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
22 allows you to use the commands even without the symlinks.)
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
23
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
24 The "help" command provides information about each command (ala "help cat").
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
25
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
26 The toybox web page is at "http://landley.net/toybox".
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
27
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
28 Have fun,
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
29
27104029d771 Add a basic README and an example to "make help".
Rob Landley <rob@landley.net>
parents:
diff changeset
30 Rob