From: Bruce Richardson Subject: Re: [PATCH v2] build: clean up building kernel modules using meson Date: Wed, 4 Apr 2018 16:57:18 +0100 Message-ID: <20180404155717.GA40576@bricha3-MOBL.ger.corp.intel.com> References: <20180222173817.31872-1-bruce.richardson@intel.com> <20180404155332.87143-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: hemant.agrawal@nxp.com Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 5A26E1C7DC for ; Wed, 4 Apr 2018 17:57:23 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20180404155332.87143-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 04:53:32PM +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 > > --- > v2: serialize the BSD module builds to try and resolve the > warnings seen about bus_if.h/dev_if.h/etc. in some cases. > Issue reported by Hemant. > --- Hi Hemant, I haven't been able to reproduce reliably the issue you reported, but the above fixes what I *think* to be the issue causing the error print. If you get a chance, can you do a quick re-test and see if it re-occurs for you. If not, I'll apply this version - otherwise I might just apply V1, since the error itself appears harmless, as you say. /Bruce