numam-dpdk/doc/build-sdk-quick.txt
Olivier Matz 1fa0fd9d6b mk: allow to specify DESTDIR in build rule
This will install the binary sdk (bin + modules + libs + headers + mk)
in the specified directory.
This directory can be used as RTE_SDK by external applications.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-02-26 11:01:13 +01:00

23 lines
890 B
Plaintext

Basic build
make config T=x86_64-default-linuxapp-gcc && make
Build commands
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
Build variables
EXTRA_CPPFLAGS preprocessor options
EXTRA_CFLAGS compiler options
EXTRA_LDFLAGS linker options
RTE_KERNELDIR linux headers path
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
format: <arch-machine-execenv-toolchain>
templates in config/defconfig_*