mk/spdk.common.mk: Add the uring library support if configured.
Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-Id: Idb0e10743270867a451c7a34d0346bf22a7389be Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3231 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
d80c9f6257
commit
74ef0b3963
@ -153,6 +153,14 @@ ifeq ($(CONFIG_RDMA),y)
|
||||
SYS_LIBS += -libverbs -lrdmacm
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_URING),y)
|
||||
SYS_LIBS += -luring
|
||||
ifneq ($(strip $(CONFIG_URING_PATH)),)
|
||||
CFLAGS += -I$(CONFIG_URING_PATH)
|
||||
LDFLAGS += -L$(CONFIG_URING_PATH)
|
||||
endif
|
||||
endif
|
||||
|
||||
IPSEC_MB_DIR=$(SPDK_ROOT_DIR)/intel-ipsec-mb
|
||||
|
||||
ISAL_DIR=$(SPDK_ROOT_DIR)/isa-l
|
||||
|
Loading…
Reference in New Issue
Block a user