Tal Shnaiderman 5731efea6f drivers/crypto: move Windows build check
Remove the check and build failure from crypto/meson.build
in case building for Windows OS.

Add this check/failure in the meson.build file of each crypto PMD
that is not enforcing it to allow PMD support for Windows
per driver when applicable.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
2021-11-04 19:43:14 +01:00

35 lines
863 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Cavium, Inc
#
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'only supported on 64-bit Linux'
subdir_done()
endif
if is_windows
build = false
reason = 'not supported on Windows'
subdir_done()
endif
deps += ['bus_pci']
deps += ['bus_vdev']
deps += ['common_cpt']
deps += ['eventdev']
sources = files(
'otx_cryptodev.c',
'otx_cryptodev_capabilities.c',
'otx_cryptodev_hw_access.c',
'otx_cryptodev_mbox.c',
'otx_cryptodev_ops.c',
)
includes += include_directories('../../common/cpt')
includes += include_directories('../../common/octeontx')
includes += include_directories('../../event/octeontx')
includes += include_directories('../../mempool/octeontx')
includes += include_directories('../../net/octeontx')