It will be used for allocating buffers from accel domain and allocating bounce buffers to push/pull the data from memory domains for modules that don't support memory domains. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Idbe4d2129d0aff87d9e517214e9f81e8470c5088 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15745 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
36 lines
896 B
Makefile
36 lines
896 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (C) 2015 Intel Corporation.
|
|
# All rights reserved.
|
|
#
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
DIRS-y += bdev accel scheduler iscsi nvmf scsi vmd sock iobuf
|
|
|
|
ifeq ($(OS),Linux)
|
|
DIRS-y += nbd
|
|
endif
|
|
|
|
DIRS-$(CONFIG_VHOST) += vhost_blk vhost_scsi
|
|
DIRS-$(CONFIG_VFIO_USER) += vfu_tgt
|
|
|
|
# These dependencies are not based specifically on symbols, but rather
|
|
# the subsystem dependency tree defined within the event subsystem C files
|
|
# themselves. Should that tree change, these dependencies should change
|
|
# accordingly.
|
|
DEPDIRS-accel := iobuf
|
|
DEPDIRS-bdev := accel vmd sock iobuf
|
|
DEPDIRS-iscsi := scsi
|
|
DEPDIRS-nbd := bdev
|
|
DEPDIRS-nvmf := bdev
|
|
DEPDIRS-scsi := bdev
|
|
DEPDIRS-vhost_scsi := scsi
|
|
|
|
.PHONY: all clean $(DIRS-y)
|
|
|
|
all: $(DIRS-y)
|
|
clean: $(DIRS-y)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
|