Makefile.help 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Makefile.help for uClibc
  2. #
  3. # Copyright (C) 2008 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. help:
  8. @echo 'Cleaning:'
  9. @echo ' clean - delete temporary object files'
  10. @echo ' realclean - delete temporary object files, including dependencies'
  11. @echo ' distclean - delete all non-source files (including .config)'
  12. @echo
  13. @echo 'Build:'
  14. @echo ' all - libraries and generated headers'
  15. @echo ' pregen - generate headers'
  16. @echo ' startfiles - build startfiles (crt)'
  17. @echo ' utils - build target utilities'
  18. @echo ' (ldd, ldconfig, locale, iconv)'
  19. @echo ' hostutils - build host utilities (see utils)'
  20. @echo
  21. @echo 'Configuration:'
  22. @echo ' allnoconfig - disable all symbols in .config'
  23. @echo ' allyesconfig - enable all symbols in .config (see defconfig)'
  24. @echo ' config - text based configurator (of last resort)'
  25. @echo ' defconfig - set .config to arch-specific defaults'
  26. @echo ' menuconfig - interactive curses-based configurator'
  27. @echo ' oldconfig - resolve any unresolved symbols in .config'
  28. @echo ' silentoldconfig - resolve any unresolved symbols in .config, silently'
  29. @echo ' randconfig - generate a random .config'
  30. @$(if $(arch-defconfigs), \
  31. @echo ''; \
  32. echo 'Architecture specific configs ($(ARCH))'; \
  33. $(foreach c, $(arch-defconfigs), \
  34. printf " %-21s - Build for %s\\n" $(c) $(subst _defconfig,,$(c));) \
  35. )
  36. @echo
  37. @echo 'Installation:'
  38. @echo ' install - install both the runtime and the headers'
  39. @echo ' install_runtime - install the libraries'
  40. @echo ' install_dev - install all headers and static libs'
  41. @echo ' install_startfiles - install startfiles (crt)'
  42. @echo ' install_headers - install headers excluding generated ones'
  43. @echo ' install_utils - install target utilities'
  44. @echo ' install_hostutils - install host utilities'
  45. @echo
  46. @echo 'Development:'
  47. @echo ' check - run testsuite'
  48. @echo ' test_compile - compile testsuite binaries'
  49. @echo ' release - create a distribution tarball'
  50. @echo
  51. @echo 'Environment variables:'
  52. @echo ' O=<abspath> - Use <abspath> as object directory'
  53. @echo ' V="" - Quiet build (default)'
  54. @echo ' V=1 - Brief build (show defines, ld flags)'
  55. @echo ' V=2 - Very verbose build'
  56. @echo ' CROSS_COMPILE= - Override CROSS_COMPILER_PREFIX from .config'
  57. @echo ' ARCH= - Use given arch for config targets'
  58. @echo ' SHELL= - Shell to use for make'
  59. @echo ' CONFIG_SHELL= - Shell to use for menuconfig'
  60. @echo
  61. @echo ' PREFIX= - Prepended prefix'
  62. @echo ' RUNTIME_PREFIX= - Prefix for the libdir containing shared objects'
  63. @echo ' (usually "/")'
  64. @echo ' DEVEL_PREFIX= - Prefix for the libdir containing static objects'
  65. @echo ' and the include dir (usually "/usr")'
  66. @echo ' MULTILIB_DIR= - Directory component for libraries (default "lib").'
  67. @echo ' UCLIBC_EXTRA_CFLAGS - extra CFLAGS for compiling uClibc'
  68. @echo ' UCLIBC_EXTRA_CPPFLAGS - extra CPPFLAGS for compiling uClibc'