From patchwork Mon May 18 08:18:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Matz X-Patchwork-Id: 4769 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id F2A0EC34A; Mon, 18 May 2015 10:18:18 +0200 (CEST) Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 1A83CC338 for ; Mon, 18 May 2015 10:18:16 +0200 (CEST) Received: by wgbgq6 with SMTP id gq6so4202766wgb.3 for ; Mon, 18 May 2015 01:18:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=E/gIrlG6cbZV0iJsnrPSp5UrAxhDa+5shiNNaBjtzkc=; b=g4YuL6wPJrRe4Mg/XVpnE0kStAKevzGaF03zQCPv8kKZUpBgcaVuRiYYuzpxbDz2YV H10VOqsI9eZJe+foC8g9++0OlNYc+MGNlCeMlCgbdm2M7XViDqHt0VuOH3su7II648QA q/A88M5dN0bJGZ9RohERzAdXCKP7Xnqy6/Y66YzVB33gJ+fNVal2npuKNupnnwlaXxOs GdRLJ/mt2xyrAByJEwj+KYTdghMFAtd8P4eV/ZfNJOhJEOdOC5MLkwI5Ge5cvKL0h49Y EAThp8QvAgoKQyTV7gjcW2XD6IjT/JiFaFabUU28sHEEIWMH6Z+YjWM85WZ6MoWL70NR RikA== X-Gm-Message-State: ALoCoQmiMPQV+RLIMtxj1bfGW5z/WWzKlALK/AWvGkwS7diSYQK/ie+KHj1OMCLCo82qF8XKFRx7 X-Received: by 10.194.223.66 with SMTP id qs2mr42674061wjc.6.1431937095975; Mon, 18 May 2015 01:18:15 -0700 (PDT) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ck16sm7664735wjb.37.2015.05.18.01.18.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 May 2015 01:18:15 -0700 (PDT) From: Olivier Matz To: dev@dpdk.org Date: Mon, 18 May 2015 10:18:01 +0200 Message-Id: <1431937081-20083-5-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431937081-20083-1-git-send-email-olivier.matz@6wind.com> References: <1431937081-20083-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH 4/4] examples/mk: add dependencies for timer and vm_power_manager X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- examples/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index d549026..e659f6f 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