1# 2# BSD LICENSE 3# 4# Copyright (c) Intel Corporation. 5# All rights reserved. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions 9# are met: 10# 11# * Redistributions of source code must retain the above copyright 12# notice, this list of conditions and the following disclaimer. 13# * Redistributions in binary form must reproduce the above copyright 14# notice, this list of conditions and the following disclaimer in 15# the documentation and/or other materials provided with the 16# distribution. 17# * Neither the name of Intel Corporation nor the names of its 18# contributors may be used to endorse or promote products derived 19# from this software without specific prior written permission. 20# 21# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32# 33 34# Installation prefix 35CONFIG_PREFIX="/usr/local" 36 37# Target architecture 38CONFIG_ARCH=native 39 40# Prefix for cross compilation 41CONFIG_CROSS_PREFIX= 42 43# Build with debug logging. Turn off for performance testing and normal usage 44CONFIG_DEBUG=n 45 46# Treat warnings as errors (fail the build on any warning). 47CONFIG_WERROR=n 48 49# Build with link-time optimization. 50CONFIG_LTO=n 51 52# Generate profile guided optimization data. 53CONFIG_PGO_CAPTURE=n 54 55# Use profile guided optimization data. 56CONFIG_PGO_USE=n 57 58# Build with code coverage instrumentation. 59CONFIG_COVERAGE=n 60 61# Build with Address Sanitizer enabled 62CONFIG_ASAN=n 63 64# Build with Undefined Behavior Sanitizer enabled 65CONFIG_UBSAN=n 66 67# Build with Thread Sanitizer enabled 68CONFIG_TSAN=n 69 70# Build functional tests 71CONFIG_TESTS=y 72 73# Build unit tests 74CONFIG_UNIT_TESTS=y 75 76# Build examples 77CONFIG_EXAMPLES=y 78 79# Directory that contains the desired SPDK environment library. 80# By default, this is implemented using DPDK. 81CONFIG_ENV= 82 83# This directory should contain 'include' and 'lib' directories for your DPDK 84# installation. 85CONFIG_DPDK_DIR= 86 87# Build SPDK FIO plugin. Requires CONFIG_FIO_SOURCE_DIR set to a valid 88# fio source code directory. 89CONFIG_FIO_PLUGIN=n 90 91# This directory should contain the source code directory for fio 92# which is required for building the SPDK FIO plugin. 93CONFIG_FIO_SOURCE_DIR=/usr/src/fio 94 95# Enable RDMA support for the NVMf target. 96# Requires ibverbs development libraries. 97CONFIG_RDMA=n 98CONFIG_RDMA_SEND_WITH_INVAL=n 99CONFIG_RDMA_SET_ACK_TIMEOUT=n 100CONFIG_RDMA_PROV=verbs 101 102# Enable NVMe Character Devices. 103CONFIG_NVME_CUSE=n 104 105# Enable FC support for the NVMf target. 106# Requires FC low level driver (from FC vendor) 107CONFIG_FC=n 108CONFIG_FC_PATH= 109 110# Build Ceph RBD support in bdev modules 111# Requires librbd development libraries 112CONFIG_RBD=n 113 114# Build vhost library. 115CONFIG_VHOST=y 116 117# Build vhost initiator (Virtio) driver. 118CONFIG_VIRTIO=y 119 120# Build NVMf custom vfio-user target. 121CONFIG_VFIO_USER=y 122 123# Build with PMDK backends 124CONFIG_PMDK=n 125CONFIG_PMDK_DIR= 126 127# Enable the dependencies for building the compress vbdev 128CONFIG_REDUCE=n 129 130# Requires libiscsi development libraries. 131CONFIG_ISCSI_INITIATOR=n 132 133# Enable the dependencies for building the crypto vbdev 134CONFIG_CRYPTO=n 135 136# Build spdk shared libraries in addition to the static ones. 137CONFIG_SHARED=n 138 139# Build with VTune suport. 140CONFIG_VTUNE=n 141CONFIG_VTUNE_DIR= 142 143# Build the dpdk igb_uio driver 144CONFIG_IGB_UIO_DRIVER=n 145 146# Build Intel IPSEC_MB library 147CONFIG_IPSEC_MB=n 148 149# Enable OCF module 150CONFIG_OCF=n 151CONFIG_OCF_PATH= 152CONFIG_CUSTOMOCF=n 153 154# Build ISA-L library 155CONFIG_ISAL=y 156 157# Build with IO_URING support 158CONFIG_URING=n 159 160# Path to custom built IO_URING library 161CONFIG_URING_PATH= 162 163# Build with FUSE support 164CONFIG_FUSE=n 165 166# Build with RAID5 support 167CONFIG_RAID5=n 168 169# Build with IDXD support 170CONFIG_IDXD=n 171