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 DB3C6A04B5; Tue, 3 Dec 2019 11:11:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B5FF84C93; Tue, 3 Dec 2019 11:11:48 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 44A3937AF; Tue, 3 Dec 2019 11:11:46 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Dec 2019 02:11:45 -0800 X-IronPort-AV: E=Sophos;i="5.69,272,1571727600"; d="scan'208";a="204922147" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.46]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 03 Dec 2019 02:11:43 -0800 Date: Tue, 3 Dec 2019 10:11:40 +0000 From: Bruce Richardson To: Xiaolong Ye Cc: Ferruh Yigit , dev@dpdk.org, stable@dpdk.org, iryzhov@nfware.com Message-ID: <20191203101140.GB38@bricha3-MOBL.ger.corp.intel.com> References: <20191202061442.56964-1-xiaolong.ye@intel.com> <20191203052917.19820-1-xiaolong.ye@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191203052917.19820-1-xiaolong.ye@intel.com> User-Agent: Mutt/1.12.1 (2019-06-15) 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 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. /Bruce