X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibrte_power%2FMakefile;h=ab771528fe69a6d6e080b217b307cc69128ce73d;hb=e6c6dc0f96c8;hp=9bec668ddc594873f07a25722de770acc8839be5;hpb=85d6815fa6d071afc323c3a0bdfe2d0769ec33d0;p=dpdk.git diff --git a/lib/librte_power/Makefile b/lib/librte_power/Makefile index 9bec668ddc..ab771528fe 100644 --- a/lib/librte_power/Makefile +++ b/lib/librte_power/Makefile @@ -6,6 +6,7 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name LIB = librte_power.a +CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -fno-strict-aliasing LDLIBS += -lrte_eal -lrte_timer @@ -17,6 +18,7 @@ LIBABIVER := 1 SRCS-$(CONFIG_RTE_LIBRTE_POWER) := rte_power.c power_acpi_cpufreq.c SRCS-$(CONFIG_RTE_LIBRTE_POWER) += power_kvm_vm.c guest_channel.c SRCS-$(CONFIG_RTE_LIBRTE_POWER) += rte_power_empty_poll.c +SRCS-$(CONFIG_RTE_LIBRTE_POWER) += power_pstate_cpufreq.c # install this header file SYMLINK-$(CONFIG_RTE_LIBRTE_POWER)-include := rte_power.h rte_power_empty_poll.h