]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/lib/librte_power/Makefile
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / lib / librte_power / Makefile
CommitLineData
11fdf7f2
TL
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2010-2014 Intel Corporation
3
4include $(RTE_SDK)/mk/rte.vars.mk
5
6# library name
7LIB = librte_power.a
8
9f95a23c 9CFLAGS += -DALLOW_EXPERIMENTAL_API
11fdf7f2 10CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -fno-strict-aliasing
9f95a23c 11LDLIBS += -lrte_eal -lrte_timer
11fdf7f2
TL
12
13EXPORT_MAP := rte_power_version.map
14
15LIBABIVER := 1
16
17# all source are stored in SRCS-y
18SRCS-$(CONFIG_RTE_LIBRTE_POWER) := rte_power.c power_acpi_cpufreq.c
19SRCS-$(CONFIG_RTE_LIBRTE_POWER) += power_kvm_vm.c guest_channel.c
9f95a23c
TL
20SRCS-$(CONFIG_RTE_LIBRTE_POWER) += rte_power_empty_poll.c
21SRCS-$(CONFIG_RTE_LIBRTE_POWER) += power_pstate_cpufreq.c
11fdf7f2
TL
22
23# install this header file
9f95a23c 24SYMLINK-$(CONFIG_RTE_LIBRTE_POWER)-include := rte_power.h rte_power_empty_poll.h
11fdf7f2
TL
25
26include $(RTE_SDK)/mk/rte.lib.mk