1 # Makefile.help for uClibc
3 # Copyright (C) 2008 Erik Andersen <andersen@uclibc.org>
5 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
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)'
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)'
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 ' savedefconfig - Save current config (minimal config)'
31 @echo ' randconfig - generate a random .config'
32 @$(if $(arch-defconfigs), \
34 echo 'Architecture specific configs ($(ARCH))'; \
35 $(foreach c, $(arch-defconfigs), \
36 printf " %-21s - Build for %s\\n" $(c) $(subst _defconfig,,$(c));) \
40 @echo ' install - install both the runtime and the headers'
41 @echo ' install_runtime - install the libraries'
42 @echo ' install_dev - install all headers and static libs'
43 @echo ' install_startfiles - install startfiles (crt)'
44 @echo ' install_headers - install headers excluding generated ones'
45 @echo ' install_utils - install target utilities'
46 @echo ' install_hostutils - install host utilities'
49 @echo ' release - create a distribution tarball'
51 @echo 'Environment variables:'
52 @echo ' O=<abspath> - Use <abspath> as object directory'
53 @echo ' V="" - Quiet build (default)'
54 @echo ' V=1 - Very verbose build (show full commands)'
55 @echo ' V=2 - Brief build (show defines, ld flags)'
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 ' BUILD_CFLAGS= - extra CFLAGS for compiling host binaries'
60 @echo ' BUILD_LDFLAGS= - extra LDFLAGS for linking host binaries'
61 @echo ' CONFIG_SHELL= - Shell to use for menuconfig'
63 @echo ' PREFIX= - Prepended prefix'
64 @echo ' RUNTIME_PREFIX= - Prefix for the libdir containing shared objects'
65 @echo ' (usually "/")'
66 @echo ' DEVEL_PREFIX= - Prefix for the libdir containing static objects'
67 @echo ' and the include dir (usually "/usr")'
68 @echo ' MULTILIB_DIR= - Directory component for libraries (default "lib").'
69 @echo ' UCLIBC_EXTRA_CFLAGS - extra CFLAGS for compiling uClibc'
70 @echo ' UCLIBC_EXTRA_CPPFLAGS - extra CPPFLAGS for compiling uClibc'