DPDK patches and discussions
 help / color / mirror / Atom feed
From: Olivier MATZ <olivier.matz@6wind.com>
To: Keith Wiles <keith.wiles@intel.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] [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@intel.com>

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@intel.com>
> ---
>  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.

      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 Keith Wiles
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@6wind.com \
    --cc=dev@dpdk.org \
    --cc=keith.wiles@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).