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