2022-06-03 19:15:11 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2021-08-06 09:17:16 +00:00
|
|
|
# Copyright (c) Intel Corporation.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
|
2021-09-20 16:11:09 +00:00
|
|
|
DIRS-y = dynamic
|
2021-08-06 09:17:16 +00:00
|
|
|
|
|
|
|
# Do not compile schedulers and governors based on DPDK env
|
|
|
|
# if non-DPDK env is used.
|
2022-06-02 07:42:58 +00:00
|
|
|
ifeq (y,$(DPDK_POWER))
|
2021-08-06 09:17:16 +00:00
|
|
|
DIRS-y += dpdk_governor gscheduler
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: all clean $(DIRS-y)
|
|
|
|
|
|
|
|
all: $(DIRS-y)
|
|
|
|
clean: $(DIRS-y)
|
|
|
|
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
|