From: Olivier Matz Date: Mon, 18 May 2015 08:18:01 +0000 (+0200) Subject: examples: add dependencies for timer and vm_power_manager X-Git-Tag: spdx-start~9178 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0453940b9a1b6158ca08c6146b0fcc4c9d8ff09b;p=dpdk.git examples: add dependencies for timer and vm_power_manager Do not compile these examples if the related dpdk option is not enabled, as it's done for other examples. It allows to build the examples directory with a reduced dpdk configuration. Signed-off-by: Olivier Matz --- diff --git a/examples/Makefile b/examples/Makefile index d5490266b2..e659f6f9a7 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -67,11 +67,11 @@ DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += qos_sched DIRS-y += quota_watermark DIRS-$(CONFIG_RTE_ETHDEV_RXTX_CALLBACKS) += rxtx_callbacks DIRS-y += skeleton -DIRS-y += timer +DIRS-$(CONFIG_RTE_LIBRTE_TIMER) += timer DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost DIRS-$(CONFIG_RTE_LIBRTE_XEN_DOM0) += vhost_xen DIRS-y += vmdq DIRS-y += vmdq_dcb -DIRS-y += vm_power_manager +DIRS-$(CONFIG_RTE_LIBRTE_POWER) += vm_power_manager include $(RTE_SDK)/mk/rte.extsubdir.mk