From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A7521A04B5; Tue, 3 Dec 2019 13:37:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BE1292B8D; Tue, 3 Dec 2019 13:37:35 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1E11C91; Tue, 3 Dec 2019 13:37:33 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Dec 2019 04:37:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,273,1571727600"; d="scan'208";a="361174691" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by orsmga004.jf.intel.com with ESMTP; 03 Dec 2019 04:37:31 -0800 Date: Tue, 3 Dec 2019 20:33:22 +0800 From: Ye Xiaolong To: Bruce Richardson Cc: Ferruh Yigit , dev@dpdk.org, stable@dpdk.org, iryzhov@nfware.com Message-ID: <20191203123322.GA22356@intel.com> References: <20191202061442.56964-1-xiaolong.ye@intel.com> <20191203052917.19820-1-xiaolong.ye@intel.com> <20191203101140.GB38@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191203101140.GB38@bricha3-MOBL.ger.corp.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v2] kernel/linux: fix kernel dir for meson X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 12/03, Bruce Richardson wrote: >On Tue, Dec 03, 2019 at 01:29:17PM +0800, Xiaolong Ye wrote: >> kernel_dir option in meson build is equivalent to RTE_KERNELDIR in make >> system, for cross-compilation case, users would specify it as local >> kernel src dir like >> >> //target-arm_glibc/linux-arm/linux-4.19.81/ >> >> Current meson build would fail to compile kernel module if user specify >> kernel_dir as above, this patch fixes this issue. >> >> Fixes: 317832f97c16 ("kernel/linux: fix modules install path") >> Cc: stable@dpdk.org >> Cc: iryzhov@nfware.com >> >> Signed-off-by: Xiaolong Ye >> --- >> >> V2 changes: >> >> 1. handle both normal and cross-compilation cases >> >We need to handle both, but they need to be handled without breaking the >currently working case where we pass in /lib/modules/$(uname -r)/ as the >kerneldir path. So you mean we should allow user to specify both /lib/modules/$(uname -r) and /lib/modules/$(uname -r)/build as kernel_dir for normal case? Thanks, Xiaolong > >/Bruce