Commit ba74eaf4 authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

CONFIG: add CONFIG_VHOST option (on by default)



Change-Id: Ic493e5d4ebbd45370ddf0086cfe9e924d444c72f
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent b58a5d73
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -71,3 +71,6 @@ CONFIG_RDMA?=n
# Build Ceph RBD support in bdev modules
# Requires librbd development libraries
CONFIG_RBD?=n

# Build vhost library.
CONFIG_VHOST?=y
+2 −1
Original line number Diff line number Diff line
@@ -38,7 +38,8 @@ DIRS-y += trace
DIRS-y += nvmf_tgt
DIRS-y += iscsi_top
ifeq ($(OS),Linux)
DIRS-y += iscsi_tgt vhost
DIRS-y += iscsi_tgt
DIRS-$(CONFIG_VHOST) += vhost
endif

.PHONY: all clean $(DIRS-y)
+2 −1
Original line number Diff line number Diff line
@@ -37,7 +37,8 @@ include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
DIRS-y += bdev conf copy cunit event json jsonrpc \
          log env_dpdk net rpc trace util nvme nvmf scsi ioat
ifeq ($(OS),Linux)
DIRS-y += iscsi vhost
DIRS-y += iscsi
DIRS-$(CONFIG_VHOST) += vhost
endif