help.txt 1.6 KB

123456789101112131415161718192021222324252627
  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=all
  11. to show all failures.
  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. example: make defconfig toybox install CFLAGS="--static" CROSS_COMPILE=armv5l-
  25. or : make root run_root CROSS=sh4 LINUX=~/linux