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-08-06 09:17:16 +00:00
|
|
|
# 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
|
|
|
|
2022-06-09 09:21:16 +00:00
|
|
|
# When DPDK rte_power is missing, do not compile schedulers
|
|
|
|
# and governors based on it.
|
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
|
2022-06-09 09:21:16 +00:00
|
|
|
else
|
|
|
|
$(warning Skipping building dpdk_governor and gscheduler, due to missing rte_power)
|
2021-08-06 09:17:16 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: all clean $(DIRS-y)
|
|
|
|
|
|
|
|
all: $(DIRS-y)
|
|
|
|
clean: $(DIRS-y)
|
|
|
|
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
|