From patchwork Fri Feb 5 14:54:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 10396 X-Patchwork-Delegate: thomas@monjalon.net 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 4D275C328; Fri, 5 Feb 2016 15:55:36 +0100 (CET) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 7D4D8C31A for ; Fri, 5 Feb 2016 15:55:33 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id p63so30068942wmp.1 for ; Fri, 05 Feb 2016 06:55:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AgTG19jo7LOQxqTvsSNcGqRP2g1M+0W6SHyB6QD+Gxo=; b=aD5wi9pB9D8ck0L5gT6rDtwSI4cnIt33e31qzMo8MFgDGnWIQATuVvcV1H85TTyogq ZPbbSsy11hfPKgadvzMOaQ1x43y7m/2TYj6zvI/aMDvBZl7huk0C7rLphCVVSsNdUmKI MPrlPbMuW/bqFKlXCUaDyGG+hCKHJcaeVjY0T+JIqO8NK8j373yB2tfHYGs4mtpEBWHm UQ7bCbKAqiywE2wR7BNglCnd6ezgL8/EGAK6QmYrom0rYhZiRpIqmbRbl/R8i4Jv2ph6 qOXHD+/O46Qe1OwenWDVMOIS7yiiHjElXDoymdMo/xE9TN1+T5Xo1WVDCrEo7dA1FRYi gJ9Q== 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=AgTG19jo7LOQxqTvsSNcGqRP2g1M+0W6SHyB6QD+Gxo=; b=ImCMwz89qfsFzY+tbI9Fi7IHT9a9AFNdaHiaRLz9IXjedc8A1AzBsJasc4rgH36hJh Kta3saNludUx0zapmMCdQbbsapt9GDCeR2Y6bh3nGb6OzgVBsn3NInTEwA3NJgPPhgkP iOQyRD5fSzJ3X5IH7c0syphoR1Suf+0Ng/fo8I13FMMdDaVCy/JGzdLHBwmoXJJQoOyI v7xBX3XFWNPfcvnDKm3QxsBNbLUxLgCX97dvJr0pZlq5/ntAsod713Tc8ZRGb5Vt1GCl J40VuEMwkbLhegFl5BvX+DfHzDKzEgIOxCu/0TEs8rxi9oEZ1VKQAtnkPyDuHu2BU7s8 wSFg== X-Gm-Message-State: AG10YOTzbjNNzvear7tDZ57MJx8T1zLBTAAHK0oLml8OOgYgi0e1zwmlM45swztKoRBfgZqT X-Received: by 10.28.134.147 with SMTP id i141mr17646140wmd.87.1454684133287; Fri, 05 Feb 2016 06:55:33 -0800 (PST) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id pu8sm16257933wjc.17.2016.02.05.06.55.32 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Feb 2016 06:55:32 -0800 (PST) From: Thomas Monjalon To: bruce.richardson@intel.com, remy.horton@intel.com Date: Fri, 5 Feb 2016 15:54:09 +0100 Message-Id: <1454684049-27195-4-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454684049-27195-1-git-send-email-thomas.monjalon@6wind.com> References: <1454684049-27195-1-git-send-email-thomas.monjalon@6wind.com> Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH 3/3] examples: fix build dependencies 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" When building for ARM some examples were failing to compile because of some dependencies disabled. Declaring these dependencies prevent from trying to compile some not supported examples. Signed-off-by: Thomas Monjalon --- examples/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index 1cb4785..1665df1 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -46,21 +46,25 @@ endif DIRS-y += ethtool DIRS-y += exception_path DIRS-y += helloworld -DIRS-y += ip_pipeline -DIRS-y += ip_reassembly +DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += ip_pipeline +ifeq ($(CONFIG_RTE_LIBRTE_LPM),y) +DIRS-$(CONFIG_RTE_IP_FRAG) += ip_reassembly DIRS-$(CONFIG_RTE_IP_FRAG) += ip_fragmentation +endif DIRS-y += ipv4_multicast DIRS-$(CONFIG_RTE_LIBRTE_KNI) += kni DIRS-y += l2fwd DIRS-$(CONFIG_RTE_LIBRTE_IVSHMEM) += l2fwd-ivshmem DIRS-$(CONFIG_RTE_LIBRTE_JOBSTATS) += l2fwd-jobstats DIRS-y += l2fwd-keepalive -DIRS-y += l3fwd +DIRS-$(CONFIG_RTE_LIBRTE_LPM) += l3fwd DIRS-$(CONFIG_RTE_LIBRTE_ACL) += l3fwd-acl +ifeq ($(CONFIG_RTE_LIBRTE_LPM),y) DIRS-$(CONFIG_RTE_LIBRTE_POWER) += l3fwd-power DIRS-y += l3fwd-vf +endif DIRS-y += link_status_interrupt -DIRS-y += load_balancer +DIRS-$(CONFIG_RTE_LIBRTE_LPM) += load_balancer DIRS-y += multi_process DIRS-y += netmap_compat/bridge DIRS-$(CONFIG_RTE_LIBRTE_REORDER) += packet_ordering