1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright (c) Intel Corporation. 3# All rights reserved. 4# 5 6SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..) 7include $(SPDK_ROOT_DIR)/mk/spdk.common.mk 8 9DIRS-y += delay error gpt lvol malloc null nvme passthru raid split zone_block 10 11DIRS-$(CONFIG_XNVME) += xnvme 12 13DIRS-$(CONFIG_CRYPTO) += crypto 14 15DIRS-$(CONFIG_OCF) += ocf 16 17DIRS-$(CONFIG_REDUCE) += compress 18 19DIRS-$(CONFIG_URING) += uring 20 21ifeq ($(OS),Linux) 22DIRS-y += aio 23DIRS-$(CONFIG_ISCSI_INITIATOR) += iscsi 24DIRS-$(CONFIG_VIRTIO) += virtio 25DIRS-$(CONFIG_PMDK) += pmem 26endif 27 28DIRS-$(CONFIG_RBD) += rbd 29 30.PHONY: all clean $(DIRS-y) 31 32all: $(DIRS-y) 33clean: $(DIRS-y) 34 35include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk 36