All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shreyansh Jain <shreyansh.jain@nxp.com>
To: <dev@dpdk.org>
Cc: <olivier.matz@6wind.com>, <akhil.goyal@nxp.com>,
	<thomas@monjalon.net>, <ferruh.yigit@intel.com>,
	Shreyansh Jain <shreyansh.jain@nxp.com>, <nipun.gupta@nxp.com>
Subject: [PATCH 2/2] drivers: fix shared build error for dpaa2 event
Date: Thu, 26 Oct 2017 19:39:06 +0530	[thread overview]
Message-ID: <20171026140906.10347-2-shreyansh.jain@nxp.com> (raw)
In-Reply-To: <20171026140906.10347-1-shreyansh.jain@nxp.com>

Fixes: cbc12b0a96f5 ("mk: do not generate LDLIBS from directory dependencies")
Cc: olivier.matz@6wind.com
Fixes: b677d4c6d281 ("net/dpaa2: add API for event Rx adapter")
Cc: nipun.gupta@nxp.com

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
---
 * This change should have been originally part of cbc12b0a96 but was not
   caught in review.
 * Also, map file changes too should have been part of original event
   patches.

 drivers/event/dpaa2/Makefile                | 2 +-
 drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/event/dpaa2/Makefile b/drivers/event/dpaa2/Makefile
index b23c18e..d268e33 100644
--- a/drivers/event/dpaa2/Makefile
+++ b/drivers/event/dpaa2/Makefile
@@ -45,7 +45,7 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal
 CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2
 CFLAGS += -I$(RTE_SDK)/drivers/event/dpaa2
 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
-LDLIBS += -lrte_eal -lrte_eventdev -lrte_bus_fslmc
+LDLIBS += -lrte_eal -lrte_eventdev -lrte_bus_fslmc -lrte_pmd_dpaa2
 CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2
 CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2/mc
 
diff --git a/drivers/net/dpaa2/rte_pmd_dpaa2_version.map b/drivers/net/dpaa2/rte_pmd_dpaa2_version.map
index b741bc0..09f4364 100644
--- a/drivers/net/dpaa2/rte_pmd_dpaa2_version.map
+++ b/drivers/net/dpaa2/rte_pmd_dpaa2_version.map
@@ -8,4 +8,5 @@ DPDK_17.11 {
 
 	dpaa2_eth_eventq_attach;
 	dpaa2_eth_eventq_detach;
-};
+
+} DPDK_17.05;
-- 
2.9.3

  reply	other threads:[~2017-10-26 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26 14:09 [PATCH 1/2] drivers: fix shared build error for DPAA crypto Shreyansh Jain
2017-10-26 14:09 ` Shreyansh Jain [this message]
2017-10-26 14:10 ` Akhil Goyal
2017-10-26 21:06   ` Thomas Monjalon

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=20171026140906.10347-2-shreyansh.jain@nxp.com \
    --to=shreyansh.jain@nxp.com \
    --cc=akhil.goyal@nxp.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=nipun.gupta@nxp.com \
    --cc=olivier.matz@6wind.com \
    --cc=thomas@monjalon.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.