]>
Commit | Line | Data |
---|---|---|
7d68065a BRF |
1 | # Makefile.help for uClibc |
2 | # | |
3 | # Copyright (C) 2008 Erik Andersen <[email protected]> | |
4 | # | |
5 | # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. | |
6 | # | |
7 | ||
8 | help: | |
9 | @echo 'Cleaning:' | |
c14e3c99 | 10 | @echo ' clean - delete temporary object files' |
068f8b01 | 11 | @echo ' realclean - delete temporary object files, including dependencies' |
7d68065a BRF |
12 | @echo ' distclean - delete all non-source files (including .config)' |
13 | @echo | |
14 | @echo 'Build:' | |
15 | @echo ' all - libraries and generated headers' | |
5c425442 | 16 | @echo ' pregen - generate headers' |
673f4440 | 17 | @echo ' startfiles - build startfiles (crt)' |
819bedd5 | 18 | @echo ' utils - build target utilities' |
76023993 | 19 | @echo ' (ldd, ldconfig, locale, iconv)' |
819bedd5 | 20 | @echo ' hostutils - build host utilities (see utils)' |
7d68065a BRF |
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' | |
b9055a68 CA |
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 | ) | |
7d68065a BRF |
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' | |
673f4440 | 42 | @echo ' install_startfiles - install startfiles (crt)' |
5c425442 | 43 | @echo ' install_headers - install headers excluding generated ones' |
819bedd5 | 44 | @echo ' install_utils - install target utilities' |
34cbfc9b | 45 | @echo ' install_hostutils - install host utilities' |
7d68065a BRF |
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 | |
a1de41b0 | 52 | @echo 'Environment variables:' |
49d8a0e9 | 53 | @echo ' O=<abspath> - Use <abspath> as object directory' |
8a98dbf0 | 54 | @echo ' V="" - Quiet build (default)' |
9160ed20 | 55 | @echo ' V=1 - Brief build (show defines, ld flags)' |
a1de41b0 | 56 | @echo ' V=2 - Very verbose build' |
044843f0 | 57 | @echo ' CROSS_COMPILE= - Override CROSS_COMPILER_PREFIX from .config' |
fb1195ba | 58 | @echo ' ARCH= - Use given arch for config targets' |
c281901e | 59 | @echo ' SHELL= - Shell to use for make' |
f275e6c0 | 60 | @echo ' BUILD_CFLAGS= - extra CFLAGS for compiling host binaries' |
ed25cd80 | 61 | @echo ' BUILD_LDFLAGS= - extra LDFLAGS for linking host binaries' |
6ed6bdea | 62 | @echo ' CONFIG_SHELL= - Shell to use for menuconfig' |
64bbe93b BRF |
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")' | |
58a0daa6 | 69 | @echo ' MULTILIB_DIR= - Directory component for libraries (default "lib").' |
29db573e | 70 | @echo ' UCLIBC_EXTRA_CFLAGS - extra CFLAGS for compiling uClibc' |
23b99061 | 71 | @echo ' UCLIBC_EXTRA_CPPFLAGS - extra CPPFLAGS for compiling uClibc' |
64bbe93b | 72 |