mk: add "make examples" target in root makefile
[dpdk.git] / doc / build-sdk-quick.txt
1 Basic build
2         make config T=x86_64-default-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         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 (install default: *) - used with config or install
23                         format: <arch-machine-execenv-toolchain>
24                         templates in config/defconfig_*