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 ' check - run testsuite'
50 @echo ' test_compile - compile testsuite binaries'
51 @echo ' release - create a distribution tarball'
53 @echo 'Environment variables:'
54 @echo ' O=<abspath> - Use <abspath> as object directory'
55 @echo ' V="" - Quiet build (default)'
56 @echo ' V=1 - Very verbose build (show full commands)'
57 @echo ' V=2 - Brief build (show defines, ld flags)'
58 @echo ' CROSS_COMPILE= - Override CROSS_COMPILER_PREFIX from .config'
59 @echo ' ARCH= - Use given arch for config targets'
60 @echo ' SHELL= - Shell to use for make'
61 @echo ' BUILD_CFLAGS= - extra CFLAGS for compiling host binaries'
62 @echo ' BUILD_LDFLAGS= - extra LDFLAGS for linking host binaries'
63 @echo ' CONFIG_SHELL= - Shell to use for menuconfig'
65 @echo ' PREFIX= - Prepended prefix'
66 @echo ' RUNTIME_PREFIX= - Prefix for the libdir containing shared objects'
67 @echo ' (usually "/")'
68 @echo ' DEVEL_PREFIX= - Prefix for the libdir containing static objects'
69 @echo ' and the include dir (usually "/usr")'
70 @echo ' MULTILIB_DIR= - Directory component for libraries (default "lib").'
71 @echo ' UCLIBC_EXTRA_CFLAGS - extra CFLAGS for compiling uClibc'
72 @echo ' UCLIBC_EXTRA_CPPFLAGS - extra CPPFLAGS for compiling uClibc'