From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9E4565AA0 for ; Wed, 10 Jun 2015 11:42:48 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 10 Jun 2015 02:42:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,586,1427785200"; d="scan'208";a="506018061" Received: from smonroyx-mobl.ger.corp.intel.com (HELO [10.237.220.108]) ([10.237.220.108]) by FMSMGA003.fm.intel.com with ESMTP; 10 Jun 2015 02:42:46 -0700 Message-ID: <55780696.8010902@intel.com> Date: Wed, 10 Jun 2015 10:42:46 +0100 From: "Gonzalez Monroy, Sergio" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Dirk-Holger Lenz References: <557805AB.5010008@ng4t.com> In-Reply-To: <557805AB.5010008@ng4t.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] mk: RTE_BUILD_COMBINE_LIBS doesn't work properly anymore X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 09:42:49 -0000 On 10/06/2015 10:38, Dirk-Holger Lenz wrote: > Hello, > since the hardware specific library functions were put into a separate > folder 'drivers' the feature to build a combined library doesn't generate > a combined library including these hardware specific functions anymore. > The reason for this is that the combined library is built before the > 'drivers' folder is built. > For me it worked changing in dpdk/mk/rte.sdkbuild.mk > line 96 from: > @if [ $@ = lib -a $(RTE_BUILD_COMBINE_LIBS) = y ]; then \ > to: > @if [ $@ = drivers -a $(RTE_BUILD_COMBINE_LIBS) = y ]; then \ > > here the context: > $(ROOTDIRS-y): > @[ -d $(BUILDDIR)/$@ ] || mkdir -p $(BUILDDIR)/$@ > @echo "== Build $@" > $(Q)$(MAKE) S=$@ -f $(RTE_SRCDIR)/$@/Makefile -C > $(BUILDDIR)/$@ all > @if [ $@ = drivers -a $(RTE_BUILD_COMBINE_LIBS) = y ]; then \ > $(MAKE) -f $(RTE_SDK)/lib/Makefile sharelib; \ > fi > Best regards > Dirk > Yes, that fixes it. There is already a patch for it that does exactly that :) (not merge yet though). http://dpdk.org/ml/archives/dev/2015-June/019040.html Sergio