4 make config T=x86_64-native-linux-gcc && make
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 tags|etags|gtags generate tags database for given targets (T=)
18 cscope generate cscope database for given targets (T=)
20 EXTRA_CPPFLAGS preprocessor options
21 EXTRA_CFLAGS compiler options
22 EXTRA_LDFLAGS linker options
23 EXTRA_LDLIBS linker library options
24 RTE_KERNELDIR linux headers path
25 RTE_DEVEL_BUILD stricter options (default: y in git tree)
26 CROSS toolchain prefix
29 O build directory (default: build/ - install T= default: ./)
30 DESTDIR staging install directory (default: empty)
31 prefix root install directory (default: /usr/local)
32 T target template - used with config or install
33 format: <arch-machine-execenv-toolchain>
34 templates in config/defconfig_*