2013-05-07 15:00:52 +00:00
|
|
|
Basic build
|
2014-05-14 14:58:08 +00:00
|
|
|
make config T=x86_64-native-linuxapp-gcc && make
|
2013-05-07 15:00:52 +00:00
|
|
|
Build commands
|
2014-05-16 08:19:01 +00:00
|
|
|
config get configuration from target template (T=)
|
|
|
|
all same as build (default rule)
|
|
|
|
build build in a configured directory
|
|
|
|
clean remove files but keep configuration
|
2015-12-01 14:04:01 +00:00
|
|
|
install T= configure, build and install a target in DESTDIR
|
|
|
|
install install optionally staged in DESTDIR
|
2014-05-16 08:19:01 +00:00
|
|
|
examples build examples for given targets (T=)
|
|
|
|
examples_clean clean examples for given targets (T=)
|
2017-02-16 14:57:46 +00:00
|
|
|
test compile tests and run basic unit tests
|
|
|
|
test-* run specific subset of unit tests
|
2013-05-07 15:00:52 +00:00
|
|
|
Build variables
|
|
|
|
EXTRA_CPPFLAGS preprocessor options
|
|
|
|
EXTRA_CFLAGS compiler options
|
|
|
|
EXTRA_LDFLAGS linker options
|
2015-05-14 14:21:32 +00:00
|
|
|
EXTRA_LDLIBS linker library options
|
2013-05-07 15:00:52 +00:00
|
|
|
RTE_KERNELDIR linux headers path
|
2015-02-12 15:18:20 +00:00
|
|
|
RTE_DEVEL_BUILD stricter options (default: y in git tree)
|
2013-01-30 15:32:15 +00:00
|
|
|
CROSS toolchain prefix
|
|
|
|
V verbose
|
|
|
|
D debug dependencies
|
2015-12-01 14:04:01 +00:00
|
|
|
O build directory (default: build/ - install T= default: ./)
|
2017-02-17 15:55:40 +00:00
|
|
|
DESTDIR staging install directory (default: empty)
|
|
|
|
prefix root install directory (default: /usr/local)
|
2015-12-01 07:36:00 +00:00
|
|
|
T target template - used with config or install
|
2013-05-07 15:00:52 +00:00
|
|
|
format: <arch-machine-execenv-toolchain>
|
|
|
|
templates in config/defconfig_*
|