From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atendesoftware-pl.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=R6fblpdeU2vJFVrt2vYix3jCgTLILPAf40mtjWggEig=; b=oChh/EHYgzr61Z5w3U8x8OvU2/lpyEK0mntQ5NZBDxI5wvTaO2tVhq0lHvAW6FgZAq OKTpnDm/Kf5z/7eLlQ7INHyTRe5CB5CoSH3WBM5ymHn1khJrVZKoxTFQCpCmNQJ2/R2G L/fGdYNue7o+U5w2uUY6xJTHfeCnV0EcLAl9OCVgMT57foWkVT87r/4If1SzCCdYdCJW RKW5YSj0eH7+GRTXzf+o2LhuyeCc3U4626koiSAWAG7qwf6ADphNmcH57Xo0cBNtZ1Ns U0mbZPXLAv1KcysE3/zYY+9HlMT+AHkSdao2q6PLEPY0+tdWydM7nEnr6T/e1JoyDCl6 alLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=R6fblpdeU2vJFVrt2vYix3jCgTLILPAf40mtjWggEig=; b=X/MA4kaGwAc0Ld0yuYeonk1UAhrakHokDoqyCYL+I8GJITIjbAXzMK/8f0lZC2mzYe LRqt6Rs4zxqAjvTnDD1iHAO5DhXQNJPJgtun7GdWXgNRNkoG9JCUFmgKLoVUH2+0pIeP KVInJ15OX269YDmXQpXlrXfOCVZCayxVApVJ0eNg9p8HkVhYdPSJvGMow1xWVY4kSZ5q pryhHeg64OQ41i5mqI9VcAWvcybtuT+Cb0y/yVxqntZhO61qfpUL7PLUwi2mp9yJtfio C/JGr+s+t+Fri4IRy6rLn9OGLagiQuM/peg05b2nYTLPzfaT9L1SsBq06anoWU/PAZtc RrTw== X-Gm-Message-State: ALoCoQlyiFNcgaBP00cZ9vv03hHQ1DMfSM+6uxbIpQ2+345g7PWvN2AMRgwfBYS//+rgnLUmvZQBvobq+vIaWCu72GOsbDVwCw== X-Received: by 10.25.150.72 with SMTP id y69mr21107182lfd.91.1450350670444; Thu, 17 Dec 2015 03:11:10 -0800 (PST) Received: from [10.255.0.135] (fw-vrrp.atendesoftware.pl. [217.17.44.148]) by smtp.googlemail.com with ESMTPSA id kz5sm653558lbc.7.2015.12.17.03.11.09 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Dec 2015 03:11:09 -0800 (PST) To: Thomas Monjalon References: <567171AD.1090207@atendesoftware.pl> <12409253.rEPUkvBaQv@xps13> From: Piotr Bartosiewicz Message-ID: <5672984C.5030504@atendesoftware.pl> Date: Thu, 17 Dec 2015 12:11:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <12409253.rEPUkvBaQv@xps13> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] make install and RTE_KERNELDIR in dpdk 2.2 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2015 11:11:11 -0000 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