Makefile.help 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 ' savedefconfig - Save current config (minimal config)'
  30. @echo ' randconfig - generate a random .config'
  31. @$(if $(arch-defconfigs), \
  32. @echo ''; \
  33. echo 'Architecture specific configs ($(ARCH))'; \
  34. $(foreach c, $(arch-defconfigs), \
  35. printf " %-21s - Build for %s\\n" $(c) $(subst _defconfig,,$(c));) \
  36. )
  37. @echo
  38. @echo 'Installation:'
  39. @echo ' install - install both the runtime and the headers'
  40. @echo ' install_runtime - install the libraries'
  41. @echo ' install_dev - install all headers and static libs'
  42. @echo ' install_startfiles - install startfiles (crt)'
  43. @echo ' install_headers - install headers excluding generated ones'
  44. @echo ' install_utils - install target utilities'
  45. @echo ' install_hostutils - install host utilities'
  46. @echo
  47. @echo 'Development:'
  48. @echo ' release - create a distribution tarball'
  49. @echo
  50. @echo 'Environment variables:'
  51. @echo ' O=<abspath> - Use <abspath> as object directory'
  52. @echo ' V="" - Quiet build (default)'
  53. @echo ' V=1 - Very verbose build (show full commands)'
  54. @echo ' V=2 - Brief build (show defines, ld flags)'
  55. @echo ' CROSS_COMPILE= - Override CROSS_COMPILER_PREFIX from .config'
  56. @echo ' ARCH= - Use given arch for config targets'
  57. @echo ' SHELL= - Shell to use for make'
  58. @echo ' BUILD_CFLAGS= - extra CFLAGS for compiling host binaries'
  59. @echo ' BUILD_LDFLAGS= - extra LDFLAGS for linking host binaries'
  60. @echo ' CONFIG_SHELL= - Shell to use for menuconfig'
  61. @echo
  62. @echo ' PREFIX= - Prepended prefix'
  63. @echo ' RUNTIME_PREFIX= - Prefix for the libdir containing shared objects'
  64. @echo ' (usually "/")'
  65. @echo ' DEVEL_PREFIX= - Prefix for the libdir containing static objects'
  66. @echo ' and the include dir (usually "/usr")'
  67. @echo ' MULTILIB_DIR= - Directory component for libraries (default "lib").'
  68. @echo ' UCLIBC_EXTRA_CFLAGS - extra CFLAGS for compiling uClibc'
  69. @echo ' UCLIBC_EXTRA_CPPFLAGS - extra CPPFLAGS for compiling uClibc'