From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 7FB3E2C55 for ; Fri, 31 Aug 2018 12:15:25 +0200 (CEST) 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 fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Aug 2018 03:15:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,311,1531810800"; d="scan'208";a="69569376" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.107]) by orsmga008.jf.intel.com with SMTP; 31 Aug 2018 03:15:22 -0700 Received: by (sSMTP sendmail emulation); Fri, 31 Aug 2018 11:15:21 +0100 Date: Fri, 31 Aug 2018 11:15:21 +0100 From: Bruce Richardson To: Luca Boccassi Cc: dev@dpdk.org Message-ID: <20180831101520.GA19592@bricha3-MOBL.ger.corp.intel.com> References: <20180831092029.4887-1-bluca@debian.org> <20180831092029.4887-4-bluca@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180831092029.4887-4-bluca@debian.org> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH 4/4] build: install igb_uio kernel module when building with 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: , X-List-Received-Date: Fri, 31 Aug 2018 10:15:26 -0000 On Fri, Aug 31, 2018 at 10:20:29AM +0100, Luca Boccassi wrote: > Install in $kerneldir/../extra/dpdk. Usually $kerneldir should something > like: /lib/modules/$kver/build, so this directory will match the default > one used by legacy makefiles. > > Fixes: a52f4574f798 ("igb_uio: build with meson") > > Signed-off-by: Luca Boccassi > --- > kernel/linux/igb_uio/meson.build | 2 ++ > meson_options.txt | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/kernel/linux/igb_uio/meson.build b/kernel/linux/igb_uio/meson.build > index 71ed2e7a85..f5a9d5ccf3 100644 > --- a/kernel/linux/igb_uio/meson.build > +++ b/kernel/linux/igb_uio/meson.build > @@ -15,4 +15,6 @@ custom_target('igb_uio', > '/../../../lib/librte_eal/common/include', > 'modules'], > depends: mkfile, > + install: true, > + install_dir: kernel_dir + '/../extra/dpdk', > build_by_default: get_option('enable_kmods')) > diff --git a/meson_options.txt b/meson_options.txt > index c843278587..f452986da3 100644 > --- a/meson_options.txt > +++ b/meson_options.txt > @@ -7,7 +7,7 @@ option('examples', type: 'string', value: '', > option('include_subdir_arch', type: 'string', value: '', > description: 'subdirectory where to install arch-dependent headers') > option('kernel_dir', type: 'string', value: '', > - description: 'path to the kernel for building kernel modules') > + description: 'path to the kernel for building kernel modules, they will be installed in $prefix/$kernel_dir/../extra/dpdk') Will $prefix be used in the install path? I thought it would be $DEST_DIR?