bf18b481196cec960f9bc102d4937c24df468945
[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          build many targets (wildcard allowed) and install in DESTDIR
9         uninstall        remove all installed targets
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 default: ./)
22         DESTDIR   second-stage install directory
23         T         target template (install default: *) - used with config or install
24                         format: <arch-machine-execenv-toolchain>
25                         templates in config/defconfig_*