8d4105254f4a15a6c1c2d288174e477f7486031c
[deb_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         test             compile tests and run basic unit tests
13         test-*           run specific subset of unit tests
14 Build variables
15         EXTRA_CPPFLAGS   preprocessor options
16         EXTRA_CFLAGS     compiler options
17         EXTRA_LDFLAGS    linker options
18         EXTRA_LDLIBS     linker library options
19         RTE_KERNELDIR    linux headers path
20         RTE_DEVEL_BUILD  stricter options (default: y in git tree)
21         CROSS     toolchain prefix
22         V         verbose
23         D         debug dependencies
24         O         build directory (default: build/ - install T= default: ./)
25         DESTDIR   staging install directory (default: empty)
26         prefix    root install directory (default: /usr/local)
27         T         target template - used with config or install
28                         format: <arch-machine-execenv-toolchain>
29                         templates in config/defconfig_*