buildtools: make experimental symbol check lighter
[dpdk.git] / buildtools / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017-2019 Intel Corporation
3
4 subdir('pmdinfogen')
5
6 pmdinfo = find_program('gen-pmdinfo-cfile.sh')
7
8 # set up map-to-def script using python, either built-in or external
9 python3 = import('python').find_installation(required: false)
10 if python3.found()
11         map_to_def_cmd = [python3, files('map_to_def.py')]
12 else
13         map_to_def_cmd = ['meson', 'runpython', files('map_to_def.py')]
14 endif