From: Bruce Richardson Subject: Re: [PATCH v2] build: clean up building kernel modules using meson Date: Wed, 4 Apr 2018 21:00:09 +0100 Message-ID: <20180404200009.GB41636@bricha3-MOBL.ger.corp.intel.com> References: <20180222173817.31872-1-bruce.richardson@intel.com> <20180404160452.149511-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: dev@dpdk.org, hemant.agrawal@nxp.com Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id DDA491C708 for ; Wed, 4 Apr 2018 22:00:14 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20180404160452.149511-1-bruce.richardson@intel.com> 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 Wed, Apr 04, 2018 at 05:04:52PM +0100, Bruce Richardson wrote: > The meson.build files for building the kernel modules directory could > be improved now that it is extracted from the EAL. For example, no > global processing is necessary inside the kernel folder, just need to > subdir to the appropriate bsd or linux folder to do the actual work. > > To avoid potential race conditions with the BSD module builds when > the kernel build system is creating the dev_if.h and other files, > we serialize the kernel module builds (all 2 of them!) by setting > up each module to depend on all the previous. > > Signed-off-by: Bruce Richardson > Tested-by: Hemant Agrawal > Applied to dpdk-next-build /Bruce