[dpdk-dev] Any benefit of using DPDK's makefiles instead of using your own and linking against DPDK library
venky.venkatesan at intel.com
Tue Jan 14 14:22:59 CET 2014
One other thing to think about - as we add more functionality into DPDK (e.g. new libraries for other packet functions), we integrate them into the DPDK framework. If you extract compilation flags and setup your own makefile, you would have to do this re-integration every time you want to pick up a new release. The same applies to newer files added etc. etc. That is the downside.
From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon
Sent: Tuesday, January 14, 2014 3:38 AM
To: Daniel Kan
Cc: dev at dpdk.org
Subject: Re: [dpdk-dev] Any benefit of using DPDK's makefiles instead of using your own and linking against DPDK library
14/01/2014 08:02, Daniel Kan:
> I already have existing makefiles for my current application. I would
> like to integrate dpdk into the application. ’m wondering if there is
> any benefit to use dpdk’s makefiles instead of using your own makefile
> and linking against the library (e.g. libintel_dpdk.a). Thanks.
DPDK makefiles have 2 benefits:
- provide a framework
- automatically set CFLAGS and LDFLAGS according to your configuration
If you don't need a framework, I think it's better to extract compilation flags with something like pkg-config.
A patch for a such feature would be welcome :)
More information about the dev