From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CDB0DA04A4 for ; Tue, 1 Mar 2022 15:44:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7F9C426DE; Tue, 1 Mar 2022 15:44:41 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 0E92D426DE for ; Tue, 1 Mar 2022 15:44:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646145880; x=1677681880; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vN3mOD2sbK+9ogRiZ/WOqxfp8GrkvuGJ3Jvawsb1AVg=; b=Lb1eGmcvcydvkD93ZlnFn+6qO0zVj6d3kZNCQ44UmNBnoCEZdgQGnhw7 OKaQYVO2hmbASj4UDD3sxto7EsJVKEsgqWlSWo2lRor9wqMgZalD6xHrH 0ve47diZ35vUviqZ8zDp/KhZCEf0C/gbXoAOGVu5lmVNuJbt2k9RHKqIa wpnnyavtW11LSDhhRyTW1G6sO7coMiEAlMU/1HZ14aDg6GQRxH+W/YZHx YdtGyw09I7XMQXxCUiPeQdQtlMZrToKfIA/bg0KphN6+GrOGMWTRXU8RO KjZrjd/+47KS7ecz6/+0vYKYlhqIntMPz1+q6xdMotnugx7d9ZK2WBoK8 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="233760098" X-IronPort-AV: E=Sophos;i="5.90,146,1643702400"; d="scan'208";a="233760098" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2022 06:44:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,146,1643702400"; d="scan'208";a="641284277" Received: from silpixa00399126.ir.intel.com ([10.237.223.34]) by orsmga004.jf.intel.com with ESMTP; 01 Mar 2022 06:44:17 -0800 From: Bruce Richardson To: stable@dpdk.org Cc: christian.ehrhardt@canonical.com, Bruce Richardson , Jerin Jacob Subject: [PATCH 19.11 v2 5/5] drivers: remove warning with Meson 0.59 Date: Tue, 1 Mar 2022 14:44:03 +0000 Message-Id: <20220301144403.411190-6-bruce.richardson@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220301144403.411190-1-bruce.richardson@intel.com> References: <20220301140838.406891-1-bruce.richardson@intel.com> <20220301144403.411190-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Since meson 0.59.0 version, the extract_all_objects() API need to pass explicit boolean value. To remove the following warning[1], added explicit `true` for extract_all_objects() use in codebase whever there is no argument. [1] WARNING: extract_all_objects called without setting recursive keyword argument. Meson currently defaults to non-recursive to maintain backward compatibility but the default will be changed in the future. Note: This is a re-implementation for 19.11 of original commit: 1539acc20a63 ("drivers: remove warning with Meson 0.59") Signed-off-by: Jerin Jacob Signed-off-by: Bruce Richardson --- drivers/meson.build | 2 +- drivers/net/e1000/base/meson.build | 2 +- drivers/net/fm10k/base/meson.build | 2 +- drivers/net/hinic/base/meson.build | 2 +- drivers/net/i40e/base/meson.build | 2 +- drivers/net/iavf/base/meson.build | 2 +- drivers/net/ice/base/meson.build | 2 +- drivers/net/ixgbe/base/meson.build | 2 +- drivers/net/octeontx/base/meson.build | 2 +- drivers/net/qede/base/meson.build | 2 +- drivers/net/sfc/base/meson.build | 2 +- drivers/net/thunderx/base/meson.build | 2 +- drivers/raw/ifpga/base/meson.build | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/meson.build b/drivers/meson.build index 22cc049142..6544bea7ee 100644 --- a/drivers/meson.build +++ b/drivers/meson.build @@ -116,7 +116,7 @@ foreach class:dpdk_driver_classes include_directories: includes, dependencies: static_deps, c_args: cflags) - objs += tmp_lib.extract_all_objects() + objs += tmp_lib.extract_all_objects(recursive: true) sources = custom_target(out_filename, command: [pmdinfo, tmp_lib.full_path(), '@OUTPUT@', pmdinfogen], diff --git a/drivers/net/e1000/base/meson.build b/drivers/net/e1000/base/meson.build index f26f242987..ed00d37aed 100644 --- a/drivers/net/e1000/base/meson.build +++ b/drivers/net/e1000/base/meson.build @@ -37,4 +37,4 @@ endforeach base_lib = static_library('e1000_base', sources, dependencies: static_rte_eal, c_args: c_args) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) diff --git a/drivers/net/fm10k/base/meson.build b/drivers/net/fm10k/base/meson.build index 40d9b730a3..d77ab9252d 100644 --- a/drivers/net/fm10k/base/meson.build +++ b/drivers/net/fm10k/base/meson.build @@ -28,4 +28,4 @@ endforeach base_lib = static_library('fm10k_base', sources, dependencies: static_rte_eal, c_args: c_args) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) diff --git a/drivers/net/hinic/base/meson.build b/drivers/net/hinic/base/meson.build index 6cf947f841..227c589fcc 100644 --- a/drivers/net/hinic/base/meson.build +++ b/drivers/net/hinic/base/meson.build @@ -34,4 +34,4 @@ c_args = cflags base_lib = static_library('hinic_base', sources, dependencies: [static_rte_eal, static_rte_ethdev, static_rte_bus_pci, static_rte_hash], c_args: c_args) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) diff --git a/drivers/net/i40e/base/meson.build b/drivers/net/i40e/base/meson.build index bfc38ae1a0..03069e7e9b 100644 --- a/drivers/net/i40e/base/meson.build +++ b/drivers/net/i40e/base/meson.build @@ -30,4 +30,4 @@ endforeach base_lib = static_library('i40e_base', sources, dependencies: static_rte_eal, c_args: c_args) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) diff --git a/drivers/net/iavf/base/meson.build b/drivers/net/iavf/base/meson.build index bcb24b7399..857eed7eb4 100644 --- a/drivers/net/iavf/base/meson.build +++ b/drivers/net/iavf/base/meson.build @@ -20,4 +20,4 @@ endforeach base_lib = static_library('iavf_base', sources, dependencies: static_rte_eal, c_args: c_args) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) diff --git a/drivers/net/ice/base/meson.build b/drivers/net/ice/base/meson.build index 26c0f2ef62..3f50052ece 100644 --- a/drivers/net/ice/base/meson.build +++ b/drivers/net/ice/base/meson.build @@ -35,4 +35,4 @@ endforeach base_lib = static_library('ice_base', sources, dependencies: static_rte_eal, c_args: c_args) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) diff --git a/drivers/net/ixgbe/base/meson.build b/drivers/net/ixgbe/base/meson.build index 20677ab034..4d04e77471 100644 --- a/drivers/net/ixgbe/base/meson.build +++ b/drivers/net/ixgbe/base/meson.build @@ -34,4 +34,4 @@ endforeach base_lib = static_library('ixgbe_base', sources, dependencies: static_rte_eal, c_args: c_args) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) diff --git a/drivers/net/octeontx/base/meson.build b/drivers/net/octeontx/base/meson.build index e1060fc4ec..a3c3475994 100644 --- a/drivers/net/octeontx/base/meson.build +++ b/drivers/net/octeontx/base/meson.build @@ -25,4 +25,4 @@ base_lib = static_library('octeontx_base', sources, dependencies: static_objs, ) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) diff --git a/drivers/net/qede/base/meson.build b/drivers/net/qede/base/meson.build index 71b89737df..83446ee637 100644 --- a/drivers/net/qede/base/meson.build +++ b/drivers/net/qede/base/meson.build @@ -57,4 +57,4 @@ endforeach base_lib = static_library('qede_base', sources, dependencies: static_rte_net, c_args: c_args) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) diff --git a/drivers/net/sfc/base/meson.build b/drivers/net/sfc/base/meson.build index 074112f169..4e6b15e5e5 100644 --- a/drivers/net/sfc/base/meson.build +++ b/drivers/net/sfc/base/meson.build @@ -78,7 +78,7 @@ if build dependencies: static_rte_eal, c_args: c_args) - base_objs = base_lib.extract_all_objects() + base_objs = base_lib.extract_all_objects(recursive: true) else base_objs = [] endif diff --git a/drivers/net/thunderx/base/meson.build b/drivers/net/thunderx/base/meson.build index bf4e8608ad..1034531371 100644 --- a/drivers/net/thunderx/base/meson.build +++ b/drivers/net/thunderx/base/meson.build @@ -16,4 +16,4 @@ base_lib = static_library('nicvf_base', sources, dependencies: static_rte_ethdev ) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) diff --git a/drivers/raw/ifpga/base/meson.build b/drivers/raw/ifpga/base/meson.build index b13e13e894..55a9c29d2f 100644 --- a/drivers/raw/ifpga/base/meson.build +++ b/drivers/raw/ifpga/base/meson.build @@ -26,4 +26,4 @@ sources = [ base_lib = static_library('ifpga_rawdev_base', sources, dependencies: static_rte_eal, c_args: cflags) -base_objs = base_lib.extract_all_objects() +base_objs = base_lib.extract_all_objects(recursive: true) -- 2.32.0