Spdk/module/scheduler/Makefile

23 lines
468 B
Makefile
Raw Normal View History

# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) Intel Corporation.
# All rights reserved.
#
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
DIRS-y = dynamic
# Do not compile schedulers and governors based on DPDK env
# if non-DPDK env is used.
ifeq (y,$(DPDK_POWER))
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