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>
This commit is contained in:
parent
ddcc44b5d3
commit
5731efea6f
@ -1,6 +1,12 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright(c) 2019 Arm Limited
|
||||
|
||||
if is_windows
|
||||
build = false
|
||||
reason = 'not supported on Windows'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
dep = dependency('libAArch64crypto', required: false, method: 'pkg-config')
|
||||
if not dep.found()
|
||||
build = false
|
||||
|
@ -3,6 +3,12 @@
|
||||
# All rights reserved.
|
||||
#
|
||||
|
||||
if is_windows
|
||||
build = false
|
||||
reason = 'not supported on Windows'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
deps += ['eal', 'bus_vdev']
|
||||
sources = files(
|
||||
'bcmfs_logs.c',
|
||||
|
@ -4,6 +4,7 @@
|
||||
if not is_linux
|
||||
build = false
|
||||
reason = 'only supported on Linux'
|
||||
subdir_done()
|
||||
endif
|
||||
dep = dependency('libcrypto', required: false, method: 'pkg-config')
|
||||
if not dep.found()
|
||||
|
@ -1,6 +1,12 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright(c) 2021 Intel Corporation
|
||||
|
||||
if is_windows
|
||||
build = false
|
||||
reason = 'not supported on Windows'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
IMB_required_ver = '1.0.0'
|
||||
lib = cc.find_library('IPSec_MB', required: false)
|
||||
if not lib.found()
|
||||
|
@ -1,9 +1,6 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright(c) 2017 Intel Corporation
|
||||
|
||||
if is_windows
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
drivers = [
|
||||
'armv8',
|
||||
|
@ -3,6 +3,12 @@
|
||||
# Copyright(c) 2018 Semihalf.
|
||||
# All rights reserved.
|
||||
|
||||
if is_windows
|
||||
build = false
|
||||
reason = 'not supported on Windows'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
dep = dependency('libmusdk', required: false, method: 'pkg-config')
|
||||
if not dep.found()
|
||||
build = false
|
||||
|
@ -1,5 +1,11 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright(c) 2017 Intel Corporation
|
||||
|
||||
if is_windows
|
||||
build = false
|
||||
reason = 'not supported on Windows'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
deps += 'bus_vdev'
|
||||
sources = files('null_crypto_pmd.c', 'null_crypto_pmd_ops.c')
|
||||
|
@ -8,6 +8,12 @@ if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
|
||||
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']
|
||||
|
@ -1,6 +1,12 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright(c) 2017 Intel Corporation
|
||||
|
||||
if is_windows
|
||||
build = false
|
||||
reason = 'not supported on Windows'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
dep = dependency('libcrypto', required: false, method: 'pkg-config')
|
||||
if not dep.found()
|
||||
build = false
|
||||
|
@ -1,6 +1,12 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright(c) 2017-2018 Intel Corporation
|
||||
|
||||
if is_windows
|
||||
build = false
|
||||
reason = 'not supported on Windows'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
# this does not build the QAT driver, instead that is done in the compression
|
||||
# driver which comes later. Here we just add our sources files to the list
|
||||
build = false
|
||||
|
@ -1,6 +1,12 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
|
||||
|
||||
if is_windows
|
||||
build = false
|
||||
reason = 'not supported on Windows'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
deps += ['bus_vdev', 'reorder']
|
||||
sources = files(
|
||||
'rte_cryptodev_scheduler.c',
|
||||
|
@ -1,6 +1,12 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright(c) 2018 HUAWEI TECHNOLOGIES CO., LTD.
|
||||
|
||||
if is_windows
|
||||
build = false
|
||||
reason = 'not supported on Windows'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
includes += include_directories('../../../lib/vhost')
|
||||
deps += 'bus_pci'
|
||||
sources = files(
|
||||
|
Loading…
Reference in New Issue
Block a user