DPDK patches and discussions
 help / color / mirror / Atom feed
From: Dirk-Holger Lenz <dirk.lenz@ng4t.com>
To: dev@dpdk.org
Subject: [dpdk-dev] mk: RTE_BUILD_COMBINE_LIBS doesn't work properly anymore
Date: Wed, 10 Jun 2015 11:38:51 +0200	[thread overview]
Message-ID: <557805AB.5010008@ng4t.com> (raw)

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

             reply	other threads:[~2015-06-10  9:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-10  9:38 Dirk-Holger Lenz [this message]
2015-06-10  9:42 ` Gonzalez Monroy, Sergio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=557805AB.5010008@ng4t.com \
    --to=dirk.lenz@ng4t.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).