]> git.droids-corp.org - dpdk.git/commitdiff
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 9fba47b1cc1785210035008d8322cfcb6b695364..ff7f33fb448a818f57c730f9b76299fc7b2e5bc2 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 bc6f4f567fe268d4dfea7dd2c33b1582afed7d71..d9e331ec85cba8a0fa73c508706c72272513c2ed 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 317692dfab7d102983561699d202437f33a3099f..528a33f9580034238bcfd4925d43319150f7c1f6 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 ca98d34d4e7658c2daef9391f9110644f2c0de20..bd19df27f70a460411c46d65d8b782b8df753bc5 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 a00c90c14e6806d002fb8b06b23e1535bf5d058a..3aa53df881a2ec21f28386482f11fdc11bcc067a 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 79a887a2976514e1020b9b0b779a2fbd0a688a08..d94108629bd8bc7ba3989f18ddc1511fb30d1196 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 3305e5dd1822dca6b2ae11c3200e4e684c99ab45..30e251876d1b613a27694acdf46a2e06b32ab32b 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 8affc72e65ecd5deaec661725e85bba4f45b9aaf..f52421f7a97617b1e8e319cabb0681408620143e 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 7d3cec002d792502da66a68ab24bbefbfa3a35bb..22972c6b56595ad05ba5cddeb5a0a1ec4bfcfe37 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 a1a9c2ff65e2da393e316845158b4e1ff74f3be9..60812811352492bbc96e07c1db8a756d94508849 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 c86a7267044640cbe43136179b5f5be0d8d11490..8e5e8c1b555961942f5934af8b7dd39e37bdc024 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 614a0c38080787409da54c0d465854c90e2c401e..4ad177b478b740bfba6ea75b51b64342d1ae77ff 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 704ee65771110a4c2074fde299230f5e39b0a38d..cec45d0ae1c8870c4c7054d9799beffd0c01c512 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 c6816b4279c3e5f0006260077f1c933069a7fe72..7a3019147201f9be8ea05be762d92c0ccea7836b 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 8d27c602131764ea730959e914134a68507974f1..db602cee6970fb580ffd45f6184a1567ad2ca4d2 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)