blob: 4526b1b0e274fd84f0e3c4e01fd0d8db0d822169 [file] [log] [blame]
Rob Landley09e8bde2012-02-04 12:20:39 -06001Toybox: all-in-one Linux command line.
2
3--- Building Toybox
4
5Type "make help" for build instructions.
6
7Mostly you want:
8
9 CFLAGS="--static" CROSS_COMPILE=armv5l- make defconfig toybox install
10
11Or "make menuconfig", which produces the same sort of .config file as the
12Linux kernel.
13
14--- Using toybox
15
16The build produces a "swiss-army-knife" style multifunction binary, which acts
17differently depending on the name it was called as (cp, mv, cat...), and
18installs symlinks under each command name to populate $PATH.
19
20The "toybox" command itself uses its first argument as the command name to run
21(ala "toybox ls -l"). With no arguments, it lists available commands. (This
22allows you to use the commands even without the symlinks.)
23
24The "help" command provides information about each command (ala "help cat").
25
26The toybox web page is at "http://landley.net/toybox".
27
28Have fun,
29
30Rob