mk: add sensible default target with defconfig
[dpdk.git] / doc / build-sdk-quick.txt
1 Basic build
2         make defconfig && make
3         or
4         make config T=x86_64-native-linuxapp-gcc && make
5 Build commands
6         config           get configuration from target template (T=)
7         defconfig        auto-select target template based on arch, OS, etc.
8         all              same as build (default rule)
9         build            build in a configured directory
10         clean            remove files but keep configuration
11         install T=       configure, build and install a target in DESTDIR
12         install          install optionally staged in DESTDIR
13         examples         build examples for given targets (T=)
14         examples_clean   clean examples for given targets (T=)
15         test             compile tests and run basic unit tests
16         test-*           run specific subset of unit tests
17 Build variables
18         EXTRA_CPPFLAGS   preprocessor options
19         EXTRA_CFLAGS     compiler options
20         EXTRA_LDFLAGS    linker options
21         EXTRA_LDLIBS     linker library options
22         RTE_KERNELDIR    linux headers path
23         RTE_DEVEL_BUILD  stricter options (default: y in git tree)
24         CROSS     toolchain prefix
25         V         verbose
26         D         debug dependencies
27         O         build directory (default: build/ - install T= default: ./)
28         DESTDIR   staging install directory (default: empty)
29         prefix    root install directory (default: /usr/local)
30         T         target template - used with config or install
31                         format: <arch-machine-execenv-toolchain>
32                         templates in config/defconfig_*