DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Only building certain DPDK components?
@ 2017-03-14 14:18 Alex Forster
  2017-03-14 14:34 ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Forster @ 2017-03-14 14:18 UTC (permalink / raw)
  To: users

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?

*Alex Forster*
Network Engineer, Linode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] Only building certain DPDK components?
  2017-03-14 14:18 [dpdk-users] Only building certain DPDK components? Alex Forster
@ 2017-03-14 14:34 ` Ferruh Yigit
  2017-03-14 15:05   ` Alex Forster
  0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2017-03-14 14:34 UTC (permalink / raw)
  To: Alex Forster, users

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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] Only building certain DPDK components?
  2017-03-14 14:34 ` Ferruh Yigit
@ 2017-03-14 15:05   ` Alex Forster
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Forster @ 2017-03-14 15:05 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: users

On Tue, Mar 14, 2017 at 10:34 AM, Ferruh Yigit <ferruh.yigit@intel.com>
wrote:

> 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"
>

Thanks!

*Alex Forster*
Network Engineer, Linode

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-14 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14 14:18 [dpdk-users] Only building certain DPDK components? Alex Forster
2017-03-14 14:34 ` Ferruh Yigit
2017-03-14 15:05   ` Alex Forster

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).