2013-05-07 17:00:52 +02:00
|
|
|
Basic build
|
2017-08-04 11:39:02 +01:00
|
|
|
make defconfig && make
|
|
|
|
or
|
2019-03-06 16:22:42 +00:00
|
|
|
make config T=x86_64-native-linux-gcc && make
|
2013-05-07 17:00:52 +02:00
|
|
|
Build commands
|
2014-05-16 10:19:01 +02:00
|
|
|
config get configuration from target template (T=)
|
2017-08-04 11:39:02 +01:00
|
|
|
defconfig auto-select target template based on arch, OS, etc.
|
2014-05-16 10:19:01 +02:00
|
|
|
all same as build (default rule)
|
|
|
|
build build in a configured directory
|
|
|
|
clean remove files but keep configuration
|
2015-12-01 15:04:01 +01:00
|
|
|
install T= configure, build and install a target in DESTDIR
|
|
|
|
install install optionally staged in DESTDIR
|
2014-05-16 10:19:01 +02: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
|
2017-07-07 12:09:59 -05:00
|
|
|
tags|etags|gtags generate tags database for given targets (T=)
|
|
|
|
cscope generate cscope database for given targets (T=)
|
2013-05-07 17:00:52 +02:00
|
|
|
Build variables
|
|
|
|
EXTRA_CPPFLAGS preprocessor options
|
|
|
|
EXTRA_CFLAGS compiler options
|
|
|
|
EXTRA_LDFLAGS linker options
|
2015-05-14 09:21:32 -05:00
|
|
|
EXTRA_LDLIBS linker library options
|
2013-05-07 17:00:52 +02:00
|
|
|
RTE_KERNELDIR linux headers path
|
2015-02-12 17:18:20 +02:00
|
|
|
RTE_DEVEL_BUILD stricter options (default: y in git tree)
|
2013-01-30 16:32:15 +01:00
|
|
|
CROSS toolchain prefix
|
|
|
|
V verbose
|
|
|
|
D debug dependencies
|
2015-12-01 15:04:01 +01:00
|
|
|
O build directory (default: build/ - install T= default: ./)
|
2017-02-17 16:55:40 +01:00
|
|
|
DESTDIR staging install directory (default: empty)
|
|
|
|
prefix root install directory (default: /usr/local)
|
2015-12-01 08:36:00 +01:00
|
|
|
T target template - used with config or install
|
2013-05-07 17:00:52 +02:00
|
|
|
format: <arch-machine-execenv-toolchain>
|
|
|
|
templates in config/defconfig_*
|