xref: /spdk/CONFIG (revision 55d9ff6a66c20569bb4cb5511cb879f6e5c07e82)
11010fb3aSDaniel Verkamp#
21010fb3aSDaniel Verkamp#  BSD LICENSE
31010fb3aSDaniel Verkamp#
4c02b1794SDaniel Verkamp#  Copyright (c) Intel Corporation.
51010fb3aSDaniel Verkamp#  All rights reserved.
61010fb3aSDaniel Verkamp#
71010fb3aSDaniel Verkamp#  Redistribution and use in source and binary forms, with or without
81010fb3aSDaniel Verkamp#  modification, are permitted provided that the following conditions
91010fb3aSDaniel Verkamp#  are met:
101010fb3aSDaniel Verkamp#
111010fb3aSDaniel Verkamp#    * Redistributions of source code must retain the above copyright
121010fb3aSDaniel Verkamp#      notice, this list of conditions and the following disclaimer.
131010fb3aSDaniel Verkamp#    * Redistributions in binary form must reproduce the above copyright
141010fb3aSDaniel Verkamp#      notice, this list of conditions and the following disclaimer in
151010fb3aSDaniel Verkamp#      the documentation and/or other materials provided with the
161010fb3aSDaniel Verkamp#      distribution.
171010fb3aSDaniel Verkamp#    * Neither the name of Intel Corporation nor the names of its
181010fb3aSDaniel Verkamp#      contributors may be used to endorse or promote products derived
191010fb3aSDaniel Verkamp#      from this software without specific prior written permission.
201010fb3aSDaniel Verkamp#
211010fb3aSDaniel Verkamp#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
221010fb3aSDaniel Verkamp#  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
231010fb3aSDaniel Verkamp#  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
241010fb3aSDaniel Verkamp#  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
251010fb3aSDaniel Verkamp#  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
261010fb3aSDaniel Verkamp#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
271010fb3aSDaniel Verkamp#  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
281010fb3aSDaniel Verkamp#  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
291010fb3aSDaniel Verkamp#  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
301010fb3aSDaniel Verkamp#  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
311010fb3aSDaniel Verkamp#  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
321010fb3aSDaniel Verkamp#
331010fb3aSDaniel Verkamp
341010fb3aSDaniel Verkamp# Build with debug logging. Turn off for performance testing and normal usage
358acae77eSDaniel VerkampCONFIG_DEBUG?=n
361010fb3aSDaniel Verkamp
37*55d9ff6aSDaniel Verkamp# Treat warnings as errors (fail the build on any warning).
38*55d9ff6aSDaniel VerkampCONFIG_WERROR?=n
39*55d9ff6aSDaniel Verkamp
40497d40b1SDaniel Verkamp# Build with code coverage instrumentation.
418925d9deSDaniel VerkampCONFIG_COVERAGE?=n
42497d40b1SDaniel Verkamp
434cb05719SDaniel Verkamp# Build with Address Sanitizer enabled
444cb05719SDaniel VerkampCONFIG_ADDRESS_SANITIZER?=n
454cb05719SDaniel Verkamp
461010fb3aSDaniel Verkamp# This directory should contain 'include' and 'lib' directories for your DPDK
471010fb3aSDaniel Verkamp# installation. Alternatively you can specify this on the command line
481010fb3aSDaniel Verkamp# with 'make DPDK_DIR=/path/to/dpdk'.
49d5ced366SDaniel VerkampCONFIG_DPDK_DIR?=/path/to/dpdk
501010fb3aSDaniel Verkamp
511010fb3aSDaniel Verkamp# Header file to use for NVMe implementation specific functions.
521010fb3aSDaniel Verkamp# Defaults to depending on DPDK.
53d5ced366SDaniel VerkampCONFIG_NVME_IMPL?=nvme_impl.h
54d4ab30baSDaniel Verkamp
55d4ab30baSDaniel Verkamp# Header file to use for IOAT implementation specific functions.
56d4ab30baSDaniel Verkamp# Defaults to depending on DPDK.
57d4ab30baSDaniel VerkampCONFIG_IOAT_IMPL?=ioat_impl.h
58ff612519SZiye Yang
59ff612519SZiye Yang# This item indicates using libpciaccess library or not. If enabled with y,
60ff612519SZiye Yang# libpciaccess library is used to map pci devices; else DPDK library is used to
61ff612519SZiye Yang# map pci devices.
62ff612519SZiye YangCONFIG_PCIACCESS?=y
63