From: Shreyansh Jain Date: Thu, 26 Oct 2017 14:09:05 +0000 (+0530) Subject: crypto/dpaa_sec: fix shared build X-Git-Tag: spdx-start~1080 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=22f5f3cb6be49e6cb2dad707ae0edead66b79e6d;p=dpdk.git crypto/dpaa_sec: fix shared build Various symbols are being used by DPAA Crypto driver which were not exposed from DPAA bus during initial version. This breaks the shared build. This patch also adds the LDLIBS line required after (cbc12b0a9) patch. Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform") Signed-off-by: Shreyansh Jain Acked-by: Akhil Goyal --- diff --git a/drivers/bus/dpaa/rte_bus_dpaa_version.map b/drivers/bus/dpaa/rte_bus_dpaa_version.map index 64a05a9c81..fb9d5323d8 100644 --- a/drivers/bus/dpaa/rte_bus_dpaa_version.map +++ b/drivers/bus/dpaa/rte_bus_dpaa_version.map @@ -40,14 +40,23 @@ DPDK_17.11 { fman_ip_rev; netcfg_acquire; netcfg_release; + of_find_compatible_node; + of_get_property; + qm_channel_caam; qman_create_fq; qman_dequeue; qman_dqrr_consume; + qman_enqueue; qman_enqueue_multi; + qman_fq_fqid; + qman_fq_state; qman_global_init; qman_init_fq; + qman_poll_dqrr; + qman_query_fq_np; qman_set_vdq; qman_reserve_fqid_range; + qman_volatile_dequeue; rte_dpaa_driver_register; rte_dpaa_driver_unregister; rte_dpaa_mem_ptov; diff --git a/drivers/crypto/dpaa_sec/Makefile b/drivers/crypto/dpaa_sec/Makefile index 9a061b4699..17bc79c683 100644 --- a/drivers/crypto/dpaa_sec/Makefile +++ b/drivers/crypto/dpaa_sec/Makefile @@ -53,6 +53,8 @@ CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa_sec/ CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/ CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal +LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring +LDLIBS += -lrte_cryptodev # versioning export map EXPORT_MAP := rte_pmd_dpaa_sec_version.map