From patchwork Wed Oct 3 14:00:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Babu Radhakrishnan, AgalyaX" X-Patchwork-Id: 45966 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 [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 95C671B3E0; Wed, 3 Oct 2018 16:00:59 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 37D951B3B4 for ; Wed, 3 Oct 2018 16:00:58 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Oct 2018 07:00:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,336,1534834800"; d="scan'208";a="262523021" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga005.jf.intel.com with ESMTP; 03 Oct 2018 07:00:46 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w93E0j6Q008729; Wed, 3 Oct 2018 15:00:45 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w93E0VAG024316; Wed, 3 Oct 2018 15:00:31 +0100 Received: (from agalyabx@localhost) by wgcvswdev001.ir.intel.com with ? id w93E0VtX024312; Wed, 3 Oct 2018 15:00:31 +0100 From: Agalya Babu RadhaKrishnan To: dev@dpdk.org Cc: alejandro.lucero@netronome.com, allain.legacy@windriver.com, jasvinder.singh@intel.com, keith.wiles@intel.com, matan@mellanox.com, bruce.richardson@intel.com, reshma.pattan@intel.com, Agalya Babu RadhaKrishnan Date: Wed, 3 Oct 2018 15:00:20 +0100 Message-Id: <1538575221-23873-6-git-send-email-agalyax.babu.radhakrishnan@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1538054652-20820-1> References: <1538054652-20820-1> Subject: [dpdk-dev] [PATCH v2 5/6] net/tap: disable tap build in FREEBSD 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" Disabled tap build in FreeBSD because it is not supported Added changes to enable tap build if it is Linux OS and disable in FreeBSD. Signed-off-by: Agalya Babu RadhaKrishnan Acked-by: Keith Wiles --- drivers/net/tap/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/tap/meson.build b/drivers/net/tap/meson.build index 37f65b75c..5d30cd52d 100644 --- a/drivers/net/tap/meson.build +++ b/drivers/net/tap/meson.build @@ -1,6 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018 Luca Boccassi +if host_machine.system() != 'linux' + build = false +endif sources = files( 'rte_eth_tap.c', 'tap_bpf_api.c',