[dpdk-users] Only building certain DPDK components?
ferruh.yigit at intel.com
Tue Mar 14 15:34:13 CET 2017
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
More information about the users