From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] mk: fix compile error and ABI versioning for combined shared library Date: Thu, 3 Dec 2015 01:59:19 +0000 Message-ID: <20151203015919.GA23772@sivlogin002.ir.intel.com> References: <1449105754-17136-1-git-send-email-ferruh.yigit@intel.com> <1744460.N1LazHY3fl@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id EBD74568A for ; Thu, 3 Dec 2015 02:59:27 +0100 (CET) Content-Disposition: inline In-Reply-To: <1744460.N1LazHY3fl@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Dec 03, 2015 at 02:36:53AM +0100, Thomas Monjalon wrote: > Hi Ferruh, > > Thanks for working on it. > > 2015-12-03 01:22, Ferruh Yigit: > > +ifeq ($(COMBINED_BUILD),1) > > include $(RTE_SDK)/mk/rte.sharelib.mk > > +endif > [...] > > @if [ $@ = drivers -a $(CONFIG_RTE_BUILD_COMBINE_LIBS) = y ]; then \ > > - $(MAKE) -f $(RTE_SDK)/lib/Makefile sharelib; \ > > + COMBINED_BUILD=1 $(MAKE) -f $(RTE_SDK)/lib/Makefile sharelib; \ > > What is it fixing? > The badly named sharelib is for combined build only. lib/Makefile and drivers/net/Makefile includes sharelib.mk _always_, this flag is to include sharelib.mk only when we are compiling combined library. Previously this inclusion was not problem because there was not common variable, now we start using common CPU_LDFLAGS variable and sharedlib.mk shouldn't included when not compiling for combined lib. > > [...] > > +FILES=$(find $RTE_SDK -name "*.map" | grep -v build) > > The build dir is not always "build/" > Thanks, I will fix this and send a new patch, I assume I can rely on "*_version.map" naming convention.