2022-06-03 19:15:11 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-11-01 20:26:26 +00:00
|
|
|
# Copyright (C) 2015 Intel Corporation.
|
2021-07-26 06:04:09 +00:00
|
|
|
# All rights reserved.
|
2022-11-18 22:43:46 +00:00
|
|
|
# Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
2021-07-26 06:04:09 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
|
|
|
|
DIRS-y = poller_perf
|
|
|
|
|
2022-11-18 22:43:46 +00:00
|
|
|
# spdk_lock.c includes thread.c, which causes problems when registering the same
|
|
|
|
# tracepoint for "thread" in the program and shared library. It is sufficient
|
|
|
|
# to test this only on static builds.
|
|
|
|
ifneq ($(CONFIG_SHARED),y)
|
|
|
|
DIRS-y += lock
|
|
|
|
endif
|
|
|
|
|
2021-07-26 06:04:09 +00:00
|
|
|
.PHONY: all clean $(DIRS-y)
|
|
|
|
|
|
|
|
all: $(DIRS-y)
|
|
|
|
clean: $(DIRS-y)
|
|
|
|
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
|