b5f752ea05d8d3808442dbf214ade6043537802e
[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          configure, build and install a target in DESTDIR
9         examples         build examples for given targets (T=)
10         examples_clean   clean examples for given targets (T=)
11 Build variables
12         EXTRA_CPPFLAGS   preprocessor options
13         EXTRA_CFLAGS     compiler options
14         EXTRA_LDFLAGS    linker options
15         EXTRA_LDLIBS     linker library options
16         RTE_KERNELDIR    linux headers path
17         CROSS     toolchain prefix
18         V         verbose
19         D         debug dependencies
20         O         build directory (default: build/ - install default: ./)
21         DESTDIR   second-stage install directory
22         T         target template - used with config or install
23                         format: <arch-machine-execenv-toolchain>
24                         templates in config/defconfig_*