summaryrefslogtreecommitdiff
path: root/doc/build-sdk-quick.txt
diff options
context:
space:
mode:
authorOlivier Matz <olivier.matz@6wind.com>2014-05-16 10:19:01 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-05-16 16:02:55 +0200
commit36d9324ed0a195cc7b84583ad8570fdc92ba1c80 (patch)
treea068bad257fabcd91bdc907bdfaad5ca29683375 /doc/build-sdk-quick.txt
parentd88219f588082fcc5263623b8d5d521279bb7321 (diff)
downloaddpdk-36d9324ed0a195cc7b84583ad8570fdc92ba1c80.zip
dpdk-36d9324ed0a195cc7b84583ad8570fdc92ba1c80.tar.gz
dpdk-36d9324ed0a195cc7b84583ad8570fdc92ba1c80.tar.xz
mk: add "make examples" target in root makefile
It is now possible to build all projects from the examples/ directory using one command from root directory. Some illustration of what is possible: - build examples in the DPDK tree for one target # install the x86_64-default-linuxapp-gcc in # ${RTE_SDK}/x86_64-default-linuxapp-gcc directory user@droids:~/dpdk.org$ make install T=x86_64-default-linuxapp-gcc # build examples for this new installation in # ${RTE_SDK}/examples directory user@droids:~/dpdk.org$ make examples T=x86_64-default-linuxapp-gcc - build examples outside DPDK tree for several targets # install all targets matching x86_64-*-linuxapp-gcc in # ${RTE_SDK}/x86_64-*-linuxapp-gcc directories user@droids:~/dpdk.org$ make install T=x86_64-*-linuxapp-gcc # build examples for these installations in /tmp/foobar user@droids:~/dpdk.org$ make examples T=x86_64-*-linuxapp-gcc O=/tmp/foobar Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Diffstat (limited to 'doc/build-sdk-quick.txt')
-rw-r--r--doc/build-sdk-quick.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/build-sdk-quick.txt b/doc/build-sdk-quick.txt
index 8989a32..d768c44 100644
--- a/doc/build-sdk-quick.txt
+++ b/doc/build-sdk-quick.txt
@@ -1,12 +1,14 @@
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
+ 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=)
Build variables
EXTRA_CPPFLAGS preprocessor options
EXTRA_CFLAGS compiler options