[RFC,2/2] build: use Python pmdinfogen
diff mbox series

Message ID 20200622004503.29036-3-dmitry.kozliuk@gmail.com
State Superseded
Delegated to: Thomas Monjalon
Headers show
Series
  • pmdinfogen: rewrite in Python
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Dmitry Kozlyuk June 22, 2020, 12:45 a.m. UTC
* C pmdinfogen not removed.
* No Makefile support yet.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
 buildtools/meson.build | 3 +--
 drivers/meson.build    | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

Patch
diff mbox series

diff --git a/buildtools/meson.build b/buildtools/meson.build
index d5f8291be..1af835a9c 100644
--- a/buildtools/meson.build
+++ b/buildtools/meson.build
@@ -1,9 +1,8 @@ 
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017-2019 Intel Corporation
 
-subdir('pmdinfogen')
-
 pkgconf = find_program('pkg-config', 'pkgconf', required: false)
+pmdinfogen = find_program('pmdinfogen.py')
 pmdinfo = find_program('gen-pmdinfo-cfile.sh')
 list_dir_globs = find_program('list-dir-globs.py')
 check_symbols = find_program('check-symbols.sh')
diff --git a/drivers/meson.build b/drivers/meson.build
index cfb6a833c..be521398e 100644
--- a/drivers/meson.build
+++ b/drivers/meson.build
@@ -122,7 +122,7 @@  foreach class:dpdk_driver_classes
 					command: [pmdinfo, tmp_lib.full_path(),
 						'@OUTPUT@', pmdinfogen],
 					output: out_filename,
-					depends: [pmdinfogen, tmp_lib])
+					depends: [tmp_lib])
 
 			version_map = '@0@/@1@/@2@_version.map'.format(
 					meson.current_source_dir(),