lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 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 | |
| 8 | help: |
| 9 | @echo 'Cleaning:' |
| 10 | @echo ' clean - delete temporary object files' |
| 11 | @echo ' realclean - delete temporary object files, including dependencies' |
| 12 | @echo ' distclean - delete all non-source files (including .config)' |
| 13 | @echo |
| 14 | @echo 'Build:' |
| 15 | @echo ' all - libraries and generated headers' |
| 16 | @echo ' pregen - generate headers' |
| 17 | @echo ' startfiles - build startfiles (crt)' |
| 18 | @echo ' utils - build target utilities' |
| 19 | @echo ' (ldd, ldconfig, locale, iconv)' |
| 20 | @echo ' hostutils - build host utilities (see utils)' |
| 21 | @echo |
| 22 | @echo 'Configuration:' |
| 23 | @echo ' allnoconfig - disable all symbols in .config' |
| 24 | @echo ' allyesconfig - enable all symbols in .config (see defconfig)' |
| 25 | @echo ' config - text based configurator (of last resort)' |
| 26 | @echo ' defconfig - set .config to arch-specific defaults' |
| 27 | @echo ' menuconfig - interactive curses-based configurator' |
| 28 | @echo ' oldconfig - resolve any unresolved symbols in .config' |
| 29 | @echo ' silentoldconfig - resolve any unresolved symbols in .config, silently' |
| 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 ' check - run testsuite' |
| 49 | @echo ' test_compile - compile testsuite binaries' |
| 50 | @echo ' release - create a distribution tarball' |
| 51 | @echo |
| 52 | @echo 'Environment variables:' |
| 53 | @echo ' O=<abspath> - Use <abspath> as object directory' |
| 54 | @echo ' V="" - Quiet build (default)' |
| 55 | @echo ' V=1 - Brief build (show defines, ld flags)' |
| 56 | @echo ' V=2 - Very verbose build' |
| 57 | @echo ' CROSS_COMPILE= - Override CROSS_COMPILER_PREFIX from .config' |
| 58 | @echo ' ARCH= - Use given arch for config targets' |
| 59 | @echo ' SHELL= - Shell to use for make' |
| 60 | @echo ' BUILD_CFLAGS= - extra CFLAGS for compiling host binaries' |
| 61 | @echo ' BUILD_LFLAGS= - extra LDFLAGS for linking host binaries' |
| 62 | @echo ' CONFIG_SHELL= - Shell to use for menuconfig' |
| 63 | @echo |
| 64 | @echo ' PREFIX= - Prepended prefix' |
| 65 | @echo ' RUNTIME_PREFIX= - Prefix for the libdir containing shared objects' |
| 66 | @echo ' (usually "/")' |
| 67 | @echo ' DEVEL_PREFIX= - Prefix for the libdir containing static objects' |
| 68 | @echo ' and the include dir (usually "/usr")' |
| 69 | @echo ' MULTILIB_DIR= - Directory component for libraries (default "lib").' |
| 70 | @echo ' UCLIBC_EXTRA_CFLAGS - extra CFLAGS for compiling uClibc' |
| 71 | @echo ' UCLIBC_EXTRA_CPPFLAGS - extra CPPFLAGS for compiling uClibc' |
| 72 | |