From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v3 01/17] build: add initial infrastructure for meson & ninja builds Date: Wed, 20 Sep 2017 11:24:15 +0100 Message-ID: <20170920102414.GA5152@bricha3-MOBL3.ger.corp.intel.com> References: <20170912103809.140473-1-bruce.richardson@intel.com> <20170913141222.253688-1-bruce.richardson@intel.com> <20170913141222.253688-2-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, nhorman@tuxdriver.com, luca.boccassi@gmail.com, harry.van.haaren@intel.com, keith.wiles@intel.com To: "Timothy M. Redaelli" Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 0F279101B for ; Wed, 20 Sep 2017 12:24:19 +0200 (CEST) Content-Disposition: inline In-Reply-To: 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, Sep 20, 2017 at 12:10:19PM +0200, Timothy M. Redaelli wrote: > On 09/13/2017 04:12 PM, Bruce Richardson wrote: > [...] > > + > > +# for static libs, treat the drivers as regular libraries, otherwise > > +# for shared libs, put them in a driver folder > > +if get_option('default_library') == 'static' > > + driver_install_path = get_option('libdir') > > +else > > + driver_install_path = join_paths(get_option('datadir'), 'dpdk/drivers') > > +endif > > This is against hier, since: > "This directory contains subdirectories with specific application data, > that can be shared among different architectures of the same OS." > (from man 7 hier) > > Please consider to use a subdirectory of libdir like the actual dpdk > instead. Sure. Using "$libdir/dpdk/drivers" work well, or is there a better choice?