2017-12-19 15:49:03 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2014 Intel Corporation
|
2013-06-03 00:00:00 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
# library name
|
|
|
|
LIB = librte_power.a
|
|
|
|
|
|
|
|
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -fno-strict-aliasing
|
2017-10-12 18:04:21 +02:00
|
|
|
LDLIBS += -lrte_eal
|
2013-06-03 00:00:00 +00:00
|
|
|
|
2015-02-02 12:40:20 -05:00
|
|
|
EXPORT_MAP := rte_power_version.map
|
|
|
|
|
2015-02-02 12:40:21 -05:00
|
|
|
LIBABIVER := 1
|
|
|
|
|
2013-06-03 00:00:00 +00:00
|
|
|
# all source are stored in SRCS-y
|
2017-12-12 14:03:26 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_POWER) := rte_power.c power_acpi_cpufreq.c
|
2017-12-12 14:03:27 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_POWER) += power_kvm_vm.c guest_channel.c
|
2013-06-03 00:00:00 +00:00
|
|
|
|
|
|
|
# install this header file
|
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_POWER)-include := rte_power.h
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|