xref: /spdk/module/scheduler/Makefile (revision cdb0726b95631d46eaf4f2e39ddb6533f150fd27)
1#  SPDX-License-Identifier: BSD-3-Clause
2#  Copyright (c) Intel Corporation.
3#  All rights reserved.
4#
5
6SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
7include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
8
9DIRS-y = dynamic
10
11# When DPDK rte_power is missing, do not compile schedulers
12# and governors based on it.
13ifeq (y,$(DPDK_POWER))
14DIRS-y += dpdk_governor gscheduler
15else
16$(warning Skipping building dpdk_governor and gscheduler, due to missing rte_power)
17endif
18
19.PHONY: all clean $(DIRS-y)
20
21all: $(DIRS-y)
22clean: $(DIRS-y)
23
24include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
25