From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk-Holger Lenz Subject: mk: RTE_BUILD_COMBINE_LIBS doesn't work properly anymore Date: Wed, 10 Jun 2015 11:38:51 +0200 Message-ID: <557805AB.5010008@ng4t.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: dev@dpdk.org Return-path: Received: from mail.ud15.udmedia.de (ud15.udmedia.de [194.117.254.55]) by dpdk.org (Postfix) with ESMTP id 650F51288 for ; Wed, 10 Jun 2015 11:38:52 +0200 (CEST) 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" 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