drivers: remove warning with Meson 0.59

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>
This commit is contained in:
Jerin Jacob 2021-07-30 13:05:48 +05:30 committed by Thomas Monjalon
parent 5e184c4cc7
commit 1539acc20a
15 changed files with 15 additions and 15 deletions

View 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

View 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,

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)