From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3FACAA0613 for ; Wed, 25 Sep 2019 16:55:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 16DC21BF2C; Wed, 25 Sep 2019 16:55:39 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9BA9C1BF03; Wed, 25 Sep 2019 16:55:37 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2019 07:55:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,548,1559545200"; d="scan'208";a="390235741" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by fmsmga006.fm.intel.com with ESMTP; 25 Sep 2019 07:55:34 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: bluca@debian.org, thomas@monjalon.net, mb@smartsharesystems.com, techboard@dpdk.org, Bruce Richardson Date: Wed, 25 Sep 2019 15:55:28 +0100 Message-Id: <20190925145531.52705-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/3] RFC: Support disabling DPDK drivers in meson builds 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" Following on from the discussion about meson at userspace 2019, here is a patchset which allows a user to disable drivers in a DPDK build. This set also includes the changes necessary to recursively disable any drivers that depend upon the disabled one, e.g. disabling mempool/dpaa also disables net/dpaa and event/dpaa with suitable reasons provided in the output summary at the end of the meson configuration phase. A number of changes are made to the lib/meson.build file too, in order to keep the general logic flow between drivers/meson.build and lib/meson.build as similar as possible. Example of use: meson -Ddisable_drivers=mempool/dpaa,net/i40e build Bruce Richardson (3): build: align variable names between drivers and libs build: process dependencies before main build check build: support disabling drivers with meson drivers/meson.build | 45 +++++++++++++++++++++++++++------------------ lib/meson.build | 23 +++++++++++++---------- meson_options.txt | 2 ++ 3 files changed, 42 insertions(+), 28 deletions(-) -- 2.21.0