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