[dpdk-dev] [PATCH 0/5] examples: add a new makefile to build all examples

Olivier Matz olivier.matz at 6wind.com
Fri Apr 25 14:00:44 CEST 2014


This patch series adds a makefile to build all examples supported
by the configuration. It helps to check that all examples compile
after a dpdk modification.

After applying the patches, it is possible to build all examples by doing
the following:

  user at droids:~/dpdk.org$ cd examples
  user at droids:~/dpdk.org/examples$ make RTE_SDK=${PWD}/.. \
      RTE_TARGET=x86_64-default-linuxapp-gcc


Olivier Matz (5):
  mk: introduce rte.extsubdir.mk
  examples: use rte.extsubdir.mk to process subdirectories
  examples: add a makefile to build all examples
  examples: fix qos_sched makefile
  examples: fix netmap_compat example

 examples/Makefile                                | 68 ++++++++++++++++++++++++
 examples/l2fwd-ivshmem/Makefile                  |  9 +---
 examples/multi_process/Makefile                  | 16 +++---
 examples/multi_process/client_server_mp/Makefile | 15 +++---
 examples/netmap_compat/bridge/Makefile           |  5 +-
 examples/qos_sched/Makefile                      |  2 -
 examples/quota_watermark/Makefile                | 12 ++---
 mk/rte.extsubdir.mk                              | 49 +++++++++++++++++
 8 files changed, 138 insertions(+), 38 deletions(-)
 create mode 100644 examples/Makefile
 create mode 100644 mk/rte.extsubdir.mk

-- 
1.9.2



More information about the dev mailing list