• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  toybox          - Build toybox.
2  COMMANDNAME     - Build individual toybox command as a standalone binary.
3  list            - List COMMANDNAMEs you can build standalone.
4  list_pending    - List unfinished COMMANDNAMEs out of toys/pending.
5  change          - Build each command standalone under change/.
6  baseline        - Create toybox_old for use by bloatcheck.
7  bloatcheck      - Report size differences between old and current versions
8  test_COMMAND    - Run tests for COMMAND (test_ps, test_cat, etc.)
9  tests           - Run test suite against all compiled commands.
10                    export TEST_HOST=1 to test host command, VERBOSE=1
11                    to show diff, VERBOSE=fail to stop after first failure.
12  clean           - Delete temporary files.
13  distclean       - Delete everything that isn't shipped.
14  install_airlock - Install toybox and host toolchain into $PREFIX directory
15                    (providing $PATH for hermetic builds).
16  install_flat    - Install toybox into $PREFIX directory.
17  install         - Install toybox into subdirectories of $PREFIX.
18  uninstall_flat  - Remove toybox from $PREFIX directory.
19  uninstall       - Remove toybox from subdirectories of $PREFIX.
20  root            - Build/package root filesystem under root/ controlled by
21                    CROSS= cross compile (see scripts/mcm-buildall.sh)
22                    LINUX= build kernel from this source, configured for qemu
23  run_root        - boot toyroot under qemu, I.E. cd root/$CROSS && ./qemu-*.sh
24
25example: make defconfig toybox install CFLAGS="--static" CROSS_COMPILE=armv5l-
26or     : make root run_root CROSS=sh4 LINUX=~/linux
27
28