2013-05-07 17:00:52 +02:00
|
|
|
Basic build
|
2014-05-14 16:58:08 +02:00
|
|
|
make config T=x86_64-native-linuxapp-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=)
|
|
|
|
all same as build (default rule)
|
|
|
|
build build in a configured directory
|
|
|
|
clean remove files but keep configuration
|
|
|
|
install build many targets (wildcard allowed) and install in DESTDIR
|
|
|
|
uninstall remove all installed targets
|
|
|
|
examples build examples for given targets (T=)
|
|
|
|
examples_clean clean examples 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
|
|
|
|
RTE_KERNELDIR linux headers path
|
2013-01-30 16:32:15 +01:00
|
|
|
CROSS toolchain prefix
|
|
|
|
V verbose
|
|
|
|
D debug dependencies
|
|
|
|
O build directory (default: build/ - install default: ./)
|
|
|
|
DESTDIR second-stage install directory
|
|
|
|
T target template (install default: *) - used with config or install
|
2013-05-07 17:00:52 +02:00
|
|
|
format: <arch-machine-execenv-toolchain>
|
|
|
|
templates in config/defconfig_*
|