From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: make install and RTE_KERNELDIR in dpdk 2.2 Date: Thu, 17 Dec 2015 12:18:30 +0100 Message-ID: <2000237.kJ38smCVSk@xps13> References: <567171AD.1090207@atendesoftware.pl> <12409253.rEPUkvBaQv@xps13> <5672984C.5030504@atendesoftware.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Piotr Bartosiewicz Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 03FD67E23 for ; Thu, 17 Dec 2015 12:19:47 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id p187so16321161wmp.1 for ; Thu, 17 Dec 2015 03:19:47 -0800 (PST) In-Reply-To: <5672984C.5030504@atendesoftware.pl> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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