mk: introduce new install syntax
[dpdk.git] / doc / build-sdk-quick.txt
1 Basic build
2         make config T=x86_64-native-linuxapp-gcc && make
3 Build commands
4         config           get configuration from target template (T=)
5         all              same as build (default rule)
6         build            build in a configured directory
7         clean            remove files but keep configuration
8         install T=       configure, build and install a target in DESTDIR
9         install          install optionally staged in DESTDIR
10         examples         build examples for given targets (T=)
11         examples_clean   clean examples for given targets (T=)
12 Build variables
13         EXTRA_CPPFLAGS   preprocessor options
14         EXTRA_CFLAGS     compiler options
15         EXTRA_LDFLAGS    linker options
16         EXTRA_LDLIBS     linker library options
17         RTE_KERNELDIR    linux headers path
18         CROSS     toolchain prefix
19         V         verbose
20         D         debug dependencies
21         O         build directory (default: build/ - install T= default: ./)
22         DESTDIR   staging install directory
23         prefix    root install directory
24         T         target template - used with config or install
25                         format: <arch-machine-execenv-toolchain>
26                         templates in config/defconfig_*