From mboxrd@z Thu Jan 1 00:00:00 1970 From: Piotr Bartosiewicz Subject: Re: make install and RTE_KERNELDIR in dpdk 2.2 Date: Thu, 17 Dec 2015 12:11:08 +0100 Message-ID: <5672984C.5030504@atendesoftware.pl> References: <567171AD.1090207@atendesoftware.pl> <12409253.rEPUkvBaQv@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by dpdk.org (Postfix) with ESMTP id E411268A5 for ; Thu, 17 Dec 2015 12:11:10 +0100 (CET) Received: by mail-lf0-f49.google.com with SMTP id y184so49273214lfc.1 for ; Thu, 17 Dec 2015 03:11:10 -0800 (PST) In-Reply-To: <12409253.rEPUkvBaQv@xps13> 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" 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