drivers: remove warning with Meson 0.59
authorJerin Jacob <jerinj@marvell.com>
Fri, 30 Jul 2021 07:35:48 +0000 (13:05 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 27 Aug 2021 13:51:34 +0000 (15:51 +0200)
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.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
15 files changed:
drivers/common/sfc_efx/base/meson.build
drivers/meson.build
drivers/net/e1000/base/meson.build
drivers/net/fm10k/base/meson.build
drivers/net/hinic/base/meson.build
drivers/net/i40e/base/meson.build
drivers/net/ice/base/meson.build
drivers/net/igc/base/meson.build
drivers/net/ixgbe/base/meson.build
drivers/net/ngbe/base/meson.build
drivers/net/octeontx/base/meson.build
drivers/net/qede/base/meson.build
drivers/net/thunderx/base/meson.build
drivers/net/txgbe/base/meson.build
drivers/raw/ifpga/base/meson.build

index 9fba47b..ff7f33f 100644 (file)
@@ -86,7 +86,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
index bc6f4f5..d9e331e 100644 (file)
@@ -160,7 +160,7 @@ foreach subpath:subdirs
                 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],
                 output: out_filename,
index 317692d..528a33f 100644 (file)
@@ -35,4 +35,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)
index ca98d34..bd19df2 100644 (file)
@@ -25,4 +25,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)
index a00c90c..3aa53df 100644 (file)
@@ -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)
index 79a887a..d941086 100644 (file)
@@ -27,4 +27,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)
index 3305e5d..30e2518 100644 (file)
@@ -43,4 +43,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)
index 8affc72..f52421f 100644 (file)
@@ -16,4 +16,4 @@ base_lib = static_library('igc_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)
index 7d3cec0..22972c6 100644 (file)
@@ -31,4 +31,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)
index a1a9c2f..6081281 100644 (file)
@@ -18,4 +18,4 @@ c_args = cflags
 base_lib = static_library('ngbe_base', sources,
     dependencies: [static_rte_eal, static_rte_ethdev, static_rte_bus_pci],
     c_args: c_args)
-base_objs = base_lib.extract_all_objects()
+base_objs = base_lib.extract_all_objects(recursive: true)
index c86a726..8e5e8c1 100644 (file)
@@ -22,4 +22,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)
index 614a0c3..4ad177b 100644 (file)
@@ -54,4 +54,4 @@ endforeach
 base_lib = static_library('qede_base', sources,
     dependencies: [static_rte_net, static_rte_bus_pci],
     c_args: c_args)
-base_objs = base_lib.extract_all_objects()
+base_objs = base_lib.extract_all_objects(recursive: true)
index 704ee65..cec45d0 100644 (file)
@@ -13,4 +13,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)
index c6816b4..7a30191 100644 (file)
@@ -24,4 +24,4 @@ endforeach
 base_lib = static_library('txgbe_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)
index 8d27c60..db602ce 100644 (file)
@@ -40,4 +40,4 @@ ext_deps += rtdep
 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)