mk/spdk.nvmecli.mk: Added rte_dmadev to linking
The new DPDK added rte_dmadev and some parts of code in SPDK use API that depends on it. Signed-off-by: Yuriy Umanets <yumanets@nvidia.com> Change-Id: I3285afba8a8b7438e9ee7295b8308dd826b47ad0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11619 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
f48130c97e
commit
96a58cd41f
@ -63,6 +63,9 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CONFIG_VHOST),y)
|
ifeq ($(CONFIG_VHOST),y)
|
||||||
DPDK_LIB_LIST += -lrte_vhost -lrte_net -lrte_cryptodev -lrte_hash
|
DPDK_LIB_LIST += -lrte_vhost -lrte_net -lrte_cryptodev -lrte_hash
|
||||||
|
ifneq (, $(wildcard $(DPDK_LIB_DIR)/librte_dmadev.*))
|
||||||
|
DPDK_LIB_LIST += -lrte_dmadev
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
override CFLAGS += -I$(SPDK_ROOT_DIR)/include
|
override CFLAGS += -I$(SPDK_ROOT_DIR)/include
|
||||||
|
Loading…
Reference in New Issue
Block a user