From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 2/2] mk: move PMD libraries to applications Date: Fri, 10 Feb 2017 11:04:42 +0100 Message-ID: <3212772.meQXQKO1QH@xps13> References: <20170131121427.31279-1-ferruh.yigit@intel.com> <20170131150448.8294-1-ferruh.yigit@intel.com> <20170131150448.8294-2-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Ferruh Yigit Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 665E1DE0 for ; Fri, 10 Feb 2017 11:04:44 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id 196so63680543wmm.1 for ; Fri, 10 Feb 2017 02:04:44 -0800 (PST) In-Reply-To: <20170131150448.8294-2-ferruh.yigit@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" 2017-01-31 15:04, Ferruh Yigit: > Some PMDs provide device specific APIs. Bond and xenvirt are existing > samples for this. > > And since these are PMD libraries, there are two options on how to link > them for shared library build: > > 1- They can be linked to all applications by default, using common > rte.app.mk file. > > 2- They can be explicitly linked to applications that use device > specific API. > > Currently option one is in use, this patch switches to the option two. > > Moves library linking to the Makefile of application Makefile that uses > device specific API. > > This prevent these PMD libraries to be a dependency to applications > that don't use these device specific APIs. > > Signed-off-by: Ferruh Yigit Series applied, thanks