patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: stable@dpdk.org
Cc: christian.ehrhardt@canonical.com,
	Bruce Richardson <bruce.richardson@intel.com>,
	Jerin Jacob <jerinj@marvell.com>
Subject: [PATCH 19.11 v2 5/5] drivers: remove warning with Meson 0.59
Date: Tue,  1 Mar 2022 14:44:03 +0000	[thread overview]
Message-ID: <20220301144403.411190-6-bruce.richardson@intel.com> (raw)
In-Reply-To: <20220301144403.411190-1-bruce.richardson@intel.com>

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 <jerinj@marvell.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 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


  parent reply	other threads:[~2022-03-01 14:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 14:08 [PATCH 19.11 0/4] Patch backports from main Bruce Richardson
2022-03-01 14:08 ` [PATCH 19.11 1/4] eventdev: fix C++ include Bruce Richardson
2022-03-01 14:08 ` [PATCH 19.11 2/4] eal: " Bruce Richardson
2022-03-01 14:08 ` [PATCH 19.11 3/4] build: remove deprecated Meson functions Bruce Richardson
2022-03-01 14:08 ` [PATCH 19.11 4/4] build: fix warnings when running external commands Bruce Richardson
2022-03-01 14:43 ` [PATCH 19.11 v2 0/5] Patch backports from main Bruce Richardson
2022-03-01 14:43   ` [PATCH 19.11 v2 1/5] eventdev: fix C++ include Bruce Richardson
2022-03-01 14:44   ` [PATCH 19.11 v2 2/5] eal: " Bruce Richardson
2022-03-01 14:44   ` [PATCH 19.11 v2 3/5] build: remove deprecated Meson functions Bruce Richardson
2022-03-01 14:44   ` [PATCH 19.11 v2 4/5] build: fix warnings when running external commands Bruce Richardson
2022-03-01 14:44   ` Bruce Richardson [this message]
2022-03-09  7:59   ` [PATCH 19.11 v2 0/5] Patch backports from main Christian Ehrhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220301144403.411190-6-bruce.richardson@intel.com \
    --to=bruce.richardson@intel.com \
    --cc=christian.ehrhardt@canonical.com \
    --cc=jerinj@marvell.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).