[dpdk-dev] [PATCH] pkg: add dkms to build kernel module

Anders Roxell anders.roxell at linaro.org
Tue Mar 28 22:36:54 CEST 2017


On 2017-02-07 18:04, Thomas Monjalon wrote:
> Hi,

Hi,

I'm sorry for the extremely slow response.

> 
> So the idea is to package DPDK kernel modules with DKMS.
> And if we do not want to use DKMS, we just have to remove this part?
> Could we better identify the DKMS part to remove? Or add a variable to switch
> between the 2 modes?

Yes that makes sense.
I'll send a v2.

> 
> 2017-01-18 22:45, Anders Roxell:
> > +MAKE="source /usr/share/dpdk/buildtools/dpdk-sdk-env.sh; make MODULE_CFLAGS='-I/usr/include/dpdk -include /usr/include/dpdk/rte_config.h'"
> 
> What is dpdk-sdk-env.sh?

Its a file that sets up RTE_TARGET, RTE_SDK and RTE_INCLUDE, the file
will be sourced while building the modules with dkms.

Cheers,
Anders


More information about the dev mailing list