4f299b7169
Some places were calling the meson function host_machine.system() instead of the variables is_windows and is_linux defined in config/meson.build. At the same time, the missing "Linux restriction" reason is added to pfe and octeontx2 crypto PMDs. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
15 lines
385 B
Meson
15 lines
385 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
if is_windows
|
|
subdir_done()
|
|
endif
|
|
|
|
pmdinfogen_inc = [global_inc]
|
|
pmdinfogen_inc += include_directories('../../lib/librte_eal/include')
|
|
pmdinfogen_inc += include_directories('../../lib/librte_pci')
|
|
pmdinfogen = executable('pmdinfogen',
|
|
'pmdinfogen.c',
|
|
include_directories: pmdinfogen_inc,
|
|
native: true)
|