From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: Olivier Matz <olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH v3 0/6] examples: add a new makefile to build all examples
Date: Fri, 16 May 2014 16:37:11 +0200 [thread overview]
Message-ID: <26928811.ytHVV3ep0X@xps13> (raw)
In-Reply-To: <1400228341-29334-1-git-send-email-olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-05-16 10:18, Olivier Matz:
> 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 for
> given targets, given the installation directory:
>
> # first, 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
>
> Or directly from examples directory:
>
> user@droids:~/dpdk.org$ cd examples
> user@droids:~/dpdk.org/examples$ make RTE_SDK=${PWD}/.. \
> RTE_TARGET=x86_64-default-linuxapp-gcc
>
>
> Changes included in v3:
> - use x86_64-default-linuxapp-gcc instead of x86_64-ivshmem-linuxapp-gcc
> for default RTE_TARGET of multi_process example (was a bad copy/paste).
> - replace ifndef by ?=
> - fix when O= is a relative directory
> - exit if the installation directory does not exist
>
> Changes included in v2:
> - do not build kni example if CONFIG_RTE_LIBRTE_KNI is not set
> - fix rte.extsubdir.mk when there are several levels of subdirectories
> - allow to build examples directly from dpdk root directory
> - explain in commit logs that it requires an install directory
>
> Olivier Matz (6):
> 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
> mk: add "make examples" target in root makefile
Acked-by: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
Applied for version 1.7.0.
--
Thomas
prev parent reply other threads:[~2014-05-16 14:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-16 8:18 [PATCH v3 0/6] examples: add a new makefile to build all examples Olivier Matz
[not found] ` <1400228341-29334-1-git-send-email-olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-05-16 8:18 ` [PATCH v3 1/6] mk: introduce rte.extsubdir.mk Olivier Matz
2014-05-16 8:18 ` [PATCH v3 2/6] examples: use rte.extsubdir.mk to process subdirectories Olivier Matz
2014-05-16 8:18 ` [PATCH v3 3/6] examples: add a makefile to build all examples Olivier Matz
2014-05-16 8:18 ` [PATCH v3 4/6] examples: fix qos_sched makefile Olivier Matz
2014-05-16 8:19 ` [PATCH v3 5/6] examples: fix netmap_compat example Olivier Matz
2014-05-16 8:19 ` [PATCH v3 6/6] mk: add "make examples" target in root makefile Olivier Matz
2014-05-16 14:37 ` Thomas Monjalon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26928811.ytHVV3ep0X@xps13 \
--to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.