[dpdk-dev] make install and RTE_KERNELDIR in dpdk 2.2

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Dec 17 12:18:30 CET 2015


2015-12-17 12:11, Piotr Bartosiewicz:
> W dniu 17.12.2015 o 00:26, Thomas Monjalon pisze:
> > 2015-12-16 15:14, Piotr Bartosiewicz:
> >> A new 'make install' wrongly assumes that the output module name is
> >> always 'uname -r' even if RTE_KERNELDIR is passed.
> > No it does not assume anything, it is just a default value.
> > How can you find the directory based on RTE_KERNELDIR?
> >
> > You can set kerneldir=something-else on the "make install" command line.
> 
> OK, I understand kerneldir in general can't be guessed from RTE_KERNELDIR,
> but maybe there should be some hint in docs to pass kerneldir when 
> RTE_KERNELDIR is used.

Yes you are right, it can be better documented.

> In my case the working command is:
> make install T=... DESTDIR=... 
> RTE_KERNELDIR=/lib/modules/3.16.0-4-amd64/build 
> kerneldir=/lib/modules/3.16.0-4-amd64/extra/dpdk

Please, feel free to update the doc.
Thanks


More information about the dev mailing list