[dpdk-dev] [PATCH 0/3] make help

2013-05-07 Thread Thomas Monjalon
Let's add help for building DPDK. --- Thomas Monjalon (3): mk: rule showconfigs for configs listing doc: how to build mk: rule help doc/build-sdk-quick.txt | 22 ++ mk/rte.sdkconfig.mk |4 mk/rte.sdkdoc.mk|8 mk/rte.sdkroot.mk

[dpdk-dev] [PATCH 1/3] mk: rule showconfigs for configs listing

2013-05-07 Thread Thomas Monjalon
Allow to list configs in config/ directory with a simple make rule. Signed-off-by: Thomas Monjalon --- mk/rte.sdkconfig.mk |4 mk/rte.sdkroot.mk |4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mk/rte.sdkconfig.mk b/mk/rte.sdkconfig.mk index ed81c47..179089e

[dpdk-dev] [PATCH 2/3] doc: how to build

2013-05-07 Thread Thomas Monjalon
This is a cheat sheet to build DPDK and can be used for a "make help". It is explicitly described as a build help in order to concatenate it with other helps such as test commands. Signed-off-by: Thomas Monjalon --- doc/build-sdk-quick.txt | 22 ++ 1 file changed, 22 insert

[dpdk-dev] [PATCH 3/3] mk: rule help

2013-05-07 Thread Thomas Monjalon
The goal of this rule is to show which rules/options are available from a "make" command. Let's start by printing short doc about SDK building. The macro maketxt allow to interpret syntax "# make foo" while keeping indentation of the source document. Here, it is used to call "make showconfigs" to

[dpdk-dev] [PATCH] lib: set version 1.2.3r2 and more helper macros

2013-05-07 Thread Thomas Monjalon
Applications can test versions, for compatibility, this way: #if RTE_VERSION >= RTE_VERSION_NUM(1,2,3,4) Previous versions can be tested with: #ifndef RTE_VERSION_NUM RTE_VERSION was already defined for use with rte_config. It is moved in rte_version.h and updated to current versio