From patchwork Mon Sep 28 21:50:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Kozlyuk X-Patchwork-Id: 79065 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44EE1A04C0; Mon, 28 Sep 2020 23:53:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BFD8E1C238; Mon, 28 Sep 2020 23:51:50 +0200 (CEST) Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) by dpdk.org (Postfix) with ESMTP id DD2591D6F8 for ; Mon, 28 Sep 2020 23:51:40 +0200 (CEST) Received: by mail-lf1-f66.google.com with SMTP id q8so3077871lfb.6 for ; Mon, 28 Sep 2020 14:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gVHh4e1rv7kkUti5IJKW3G9YA0LjtnYjqK4i/gxn2hE=; b=B6216Q+jKIyPERF7PlqVv1U1SN3cnwzGCr0faiKQ4FobD2cKnzpu9OWFJOGxPF2MRn QQVFZ34lDgv6Ow2whvBdonVX5rvuevEdAwZ0fg65Sohqu/1aYmNZPL9kFGaeil2GmSUA fMDEf9oqIBdVAx8xFiRPezLe8kUCdfPKQQa7SzvYkDdYIpgQD9/mxisbUJg0Hd/Ufwqj jsww8PDW9He/c0deqZCVpmeKpbUZ95qvO9NycNuYnabozPp/Rrx3F3NjjL+VyuGmOEjv 9VwtYSFUGP7Fp9upz+iOuXS1tjogsLay3UDjU75PqPgD4eIOLr43VZ+h3UqHchaBfKPF xAcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gVHh4e1rv7kkUti5IJKW3G9YA0LjtnYjqK4i/gxn2hE=; b=dN4ezYITxImvRcc94Gd9ni3+cpbAztzWRIydaQBriY2iR+pNggtDsBTkqx7YTH1e9Y z8VYuc1OOyUgazMJOde0jqt3DJ1IyNw2gBZoj1B5k6hu8gAaoHX2WVQdwW6fhRSqC7Kj d4rk1ZkzCnf3yEx145Au345lp4uu9vlGn90DU/9Tar/i2+XUoonZK3coeQmVridDiMjL SkQ/PtKiyA91sfuNvl7EPb6tEMGmaoxrOoF11wNf5IlxXLB1TvrL/weMS4Qj/D9LrGYM p2d0FWSJy9eXeZHbzJsclldZeSsYROV0pgjhuC+B0+MWHm5UJ/X8XZDs7m1NDrePapaI tYqQ== X-Gm-Message-State: AOAM530sSFhV+P93nw72bXwlabKLIefMOVTaVbzKie5eMp6UHnMb8ihx MjAxnUS1GWvhLqglwKxWGwwPRyVSnh9vVqjv X-Google-Smtp-Source: ABdhPJzb6IawRLlS5wcVzSj2GggFjr+eaKJYYEnqbEY7DPMRsm4o4uCMQ47/KlpdXUFvTj6TOB9X4Q== X-Received: by 2002:a19:7f47:: with SMTP id a68mr88690lfd.264.1601329899300; Mon, 28 Sep 2020 14:51:39 -0700 (PDT) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id l11sm2954893lfk.113.2020.09.28.14.51.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 14:51:38 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: "Kinsella, Ray" , Khoa To , Stephen Hemminger , Ferruh Yigit , Dmitry Kozlyuk , Olivier Matz Date: Tue, 29 Sep 2020 00:50:52 +0300 Message-Id: <20200928215052.23627-8-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200928215052.23627-1-dmitry.kozliuk@gmail.com> References: <20200730210652.14568-1-dmitry.kozliuk@gmail.com> <20200928215052.23627-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 7/7] examples/cmdline: build on Windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Enable cmdline sample application as all dependencies are met. Signed-off-by: Dmitry Kozlyuk --- examples/cmdline/commands.c | 1 - examples/cmdline/main.c | 1 - examples/meson.build | 6 +++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/cmdline/commands.c b/examples/cmdline/commands.c index 0e2232f03..f43eacfba 100644 --- a/examples/cmdline/commands.c +++ b/examples/cmdline/commands.c @@ -11,7 +11,6 @@ #include #include #include -#include #ifdef RTE_EXEC_ENV_FREEBSD #include #endif diff --git a/examples/cmdline/main.c b/examples/cmdline/main.c index f2f2e5a2f..bb7954245 100644 --- a/examples/cmdline/main.c +++ b/examples/cmdline/main.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include diff --git a/examples/meson.build b/examples/meson.build index eb13e8210..2b8ebce3b 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -79,9 +79,9 @@ foreach example: examples ext_deps = [execinfo] includes = [include_directories(example)] - deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline'] - if is_windows - deps = ['eal'] # only supported lib on Windows currently + deps = ['eal', 'mempool', 'net', 'mbuf', 'cmdline'] + if not is_windows + deps += ['ethdev'] # not currently supported endif subdir(example)