DPDK usage discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Alex Forster <aforster@linode.com>, users@dpdk.org
Subject: Re: [dpdk-users] Only building certain DPDK components?
Date: Tue, 14 Mar 2017 14:34:13 +0000	[thread overview]
Message-ID: <7262e094-041a-1285-bb5b-eb83b30e5e5b@intel.com> (raw)
In-Reply-To: <CA+nuf7-DRypohQrsEFdpKRNvCHvrTj7zux9ZGRMsHUs2+oRq7w@mail.gmail.com>

On 3/14/2017 2:18 PM, Alex Forster wrote:
> Hi all, my google-fu is failing me.
> 
> Is it possible (supported) in the current build system to skip building
> apps and tests, and to only build certain libs – skipping
> librte_cmdline/librte_cfgfile, for instance?

It is possible to use %_sub target to build specific component, like:
"make lib/librte_eal_sub" will only compile eal library.
This requires config done, and dependent libraries built in advance.
Can be used for all components, like "make drivers/net/null_sub"

A component can be excluded from build via config file:
"make T=... config" will create config file (build/.config by default)
it is possible to edit it and disable components, via setting "=n"

> 
> *Alex Forster*
> Network Engineer, Linode
> 

  reply	other threads:[~2017-03-14 14:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14 14:18 Alex Forster
2017-03-14 14:34 ` Ferruh Yigit [this message]
2017-03-14 15:05   ` Alex Forster

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=7262e094-041a-1285-bb5b-eb83b30e5e5b@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=aforster@linode.com \
    --cc=users@dpdk.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 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).