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