examples/interrupt_tgt: Fix app compiling error without vhost.
Signed-off-by: yidong0635 <dongx.yi@intel.com> Change-Id: I64773ef2cab0d11d0438b217b597b371bfe6d043 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6088 Community-CI: Broadcom CI Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
813869d823
commit
bb15f82631
@ -37,7 +37,7 @@ include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|||||||
DIRS-y += accel bdev blob ioat nvme sock vmd nvmf
|
DIRS-y += accel bdev blob ioat nvme sock vmd nvmf
|
||||||
|
|
||||||
ifeq ($(OS),Linux)
|
ifeq ($(OS),Linux)
|
||||||
DIRS-y += interrupt_tgt
|
DIRS-$(CONFIG_VHOST) += interrupt_tgt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: all clean $(DIRS-y)
|
.PHONY: all clean $(DIRS-y)
|
||||||
|
@ -42,9 +42,7 @@ C_SRCS := interrupt_tgt.c
|
|||||||
SPDK_LIB_LIST = $(INTR_BLOCKDEV_MODULES_LIST) event_bdev conf
|
SPDK_LIB_LIST = $(INTR_BLOCKDEV_MODULES_LIST) event_bdev conf
|
||||||
|
|
||||||
SPDK_LIB_LIST += event_nbd
|
SPDK_LIB_LIST += event_nbd
|
||||||
ifeq ($(CONFIG_VHOST),y)
|
|
||||||
SPDK_LIB_LIST += event_vhost
|
SPDK_LIB_LIST += event_vhost
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(SPDK_ROOT_DIR)/lib/env_dpdk,$(CONFIG_ENV))
|
ifeq ($(SPDK_ROOT_DIR)/lib/env_dpdk,$(CONFIG_ENV))
|
||||||
SPDK_LIB_LIST += env_dpdk_rpc
|
SPDK_LIB_LIST += env_dpdk_rpc
|
||||||
|
Loading…
Reference in New Issue
Block a user