From: Olivier MATZ <olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: Keith Wiles <keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH] Add support to read target/generic/rte.vars.mk file for external builds
Date: Mon, 16 Feb 2015 15:18:35 +0100 [thread overview]
Message-ID: <54E1FC3B.5080700@6wind.com> (raw)
In-Reply-To: <1423939927-37376-1-git-send-email-keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Hi Keith,
On 02/14/2015 07:52 PM, Keith Wiles wrote:
> The external build of applications does not import the target/generic/rte.vars.mk
> file, which is needed for locating DPDK headers and libraries.
>
> Signed-off-by: Keith Wiles <keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> ---
> mk/rte.extvars.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/mk/rte.extvars.mk b/mk/rte.extvars.mk
> index 49fc9f2..2811ff9 100644
> --- a/mk/rte.extvars.mk
> +++ b/mk/rte.extvars.mk
> @@ -82,3 +82,10 @@ RTE_MACHINE := $(CONFIG_RTE_MACHINE:"%"=%)
> RTE_EXEC_ENV := $(CONFIG_RTE_EXEC_ENV:"%"=%)
> RTE_TOOLCHAIN := $(CONFIG_RTE_TOOLCHAIN:"%"=%)
> RTE_MK_EXT := $(CONFIG_RTE_MK_EXT:"%"=%)
> +
> +ifneq ($(wildcard $(RTE_SDK)/mk/target/$(RTE_TARGET)/rte.vars.mk),)
> +include $(RTE_SDK)/mk/target/$(RTE_TARGET)/rte.vars.mk
> +else
> +include $(RTE_SDK)/mk/target/generic/rte.vars.mk
> +endif
> +
>
Same comment than for the other patch.
The external apps should include "rte.vars.mk" as in examples.
prev parent reply other threads:[~2015-02-16 14:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-14 18:52 [PATCH] Add support to read target/generic/rte.vars.mk file for external builds Keith Wiles
[not found] ` <1423939927-37376-1-git-send-email-keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-16 14:18 ` Olivier MATZ [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=54E1FC3B.5080700@6wind.com \
--to=olivier.matz-pdr9zngts4eavxtiumwx3w@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=keith.wiles-ral2JQCrhuEAvxtiuMwx3w@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.