This warning is returned regardless if the rte_power libs were present or not as the clean target always removes them prior this check. Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: I45bd350d434ec1fbb6504c7df05c4d27946d4f9b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13562 Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
27 lines
613 B
Makefile
27 lines
613 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (C) 2015 Intel Corporation.
|
|
# All rights reserved.
|
|
#
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
DIRS-y = dynamic
|
|
|
|
# When DPDK rte_power is missing, do not compile schedulers
|
|
# and governors based on it.
|
|
ifeq (y,$(DPDK_POWER))
|
|
DIRS-y += dpdk_governor gscheduler
|
|
else
|
|
ifneq ($(filter %clean%,$(MAKECMDGOALS)),)
|
|
$(warning Skipping building dpdk_governor and gscheduler, due to missing rte_power)
|
|
endif
|
|
endif
|
|
|
|
.PHONY: all clean $(DIRS-y)
|
|
|
|
all: $(DIRS-y)
|
|
clean: $(DIRS-y)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
|