Skip to contentSkip to conversation

crypto/mrvl: add missing library dependencies

PATCH Applied Tomasz Duszynski 2 participants 2 messages Mar 21, 2018 – Mar 26, 2018 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto/mrvl: add missing library dependencies

While trying to do a shared build one will get linkage error since a couple of library dependencies are missing from a makefile.

At some point there was a batch update of all PMDs but mrvl crypto was missed back then.

Necessary makefile changes were introduced in
commit cbc12b0a96f5 ("mk: do not generate LDLIBS from directory dependencies")

---
 drivers/crypto/mrvl/Makefile | 2 ++
 1 file changed, 2 insertions(+)
drivers/crypto/mrvl/Makefile +2 -0
index bc5c227..9870f02 100644
@@ -58,6 +58,8 @@ EXPORT_MAP := rte_pmd_mrvl_version.map
 
 # external library dependencies
 LDLIBS += -L$(LIBMUSDK_PATH)/lib -lmusdk
+LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
+LDLIBS += -lrte_cryptodev
 LDLIBS += -lrte_bus_vdev
 
 # library source files
Signature · 1 line
2.7.4
#1 lore raw
Quoted 15 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Tomasz Duszynski
Sent: Wednesday, March 21, 2018 9:45 AM
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]; De Lara Guarch, Pablo <[email protected]>; [email protected]; Tomasz Duszynski <[email protected]>
Subject: [dpdk-dev] [PATCH] crypto/mrvl: add missing library dependencies

While trying to do a shared build one will get linkage error since a couple of library dependencies are missing from a makefile.

Quoted 7 lines

At some point there was a batch update of all PMDs but mrvl crypto was missed back then.

Necessary makefile changes were introduced in commit cbc12b0a96f5 ("mk: do not generate LDLIBS from directory dependencies")

Applied to dpdk-next-crypto.
Thanks,

Pablo