This is in prep for adding a new compressDev accel_fw module that will contain all of the DPDK compressDev specifics on it, the vbdev will make calls to the accel_fw instead. As the accel_fw has SW based compression, we want the configure option to apply to building the vbdev module but not the accel_sw software implementation or the upcoming compressdev module. Renamed to "compress" as reduce is a term specific to the vbdev implementation of the compression to be provided by the accel_fw and thus the same reason why we leave the test flag called REDUCE because it's controlling tests for the reduce library as well as the vbdev module that is using reduce. The flag does not apply to the SW implementation of compression. This does not affect upcoming accel_fw compressdev module, that will have its own configure option. Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: If8ed3e48e1e3dabcaad1cd161289e78122cd9d58 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15179 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
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
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.lib_deps.mk
|
|
|
|
DIRS-y += bdev blob blobfs conf dma accel event json jsonrpc \
|
|
log lvol rpc sock thread trace util nvme vmd nvmf scsi \
|
|
ioat ut_mock iscsi notify init trace_parser
|
|
ifeq ($(OS),Linux)
|
|
DIRS-y += nbd ftl vfio_user
|
|
endif
|
|
|
|
DIRS-$(CONFIG_OCF) += env_ocf
|
|
DIRS-$(CONFIG_IDXD) += idxd
|
|
DIRS-$(CONFIG_VHOST) += vhost
|
|
DIRS-$(CONFIG_VIRTIO) += virtio
|
|
DIRS-$(CONFIG_VBDEV_COMPRESS) += reduce
|
|
DIRS-$(CONFIG_RDMA) += rdma
|
|
DIRS-$(CONFIG_VFIO_USER) += vfu_tgt
|
|
|
|
# If CONFIG_ENV is pointing at a directory in lib, build it.
|
|
# Out-of-tree env implementations must be built separately by the user.
|
|
ENV_NAME := $(notdir $(CONFIG_ENV))
|
|
ifeq ($(abspath $(CONFIG_ENV)),$(SPDK_ROOT_DIR)/lib/$(ENV_NAME))
|
|
DIRS-y += $(ENV_NAME)
|
|
endif
|
|
|
|
.PHONY: all clean $(DIRS-y)
|
|
|
|
all: $(DIRS-y)
|
|
clean: $(DIRS-y)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
|