acec04c4b2
Remove setting ALLOW_EXPERIMENTAL_API individually for each Makefile and meson.build. Instead, enable ALLOW_EXPERIMENTAL_API flag across app, lib and drivers. This changes reduces the clutter across the project while still maintaining the functionality of ALLOW_EXPERIMENTAL_API i.e. warning external applications about experimental API usage. Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Signed-off-by: David Marchand <david.marchand@redhat.com>
25 lines
545 B
Meson
25 lines
545 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2019 Arm Limited
|
|
|
|
path = get_option('armv8_crypto_dir')
|
|
if path == ''
|
|
build = false
|
|
reason = 'missing dependency, "armv8_crypto"'
|
|
subdir_done()
|
|
endif
|
|
|
|
inc_dir = path
|
|
|
|
lib = cc.find_library('libAArch64crypto', dirs: [path], required: false)
|
|
if not lib.found()
|
|
build = false
|
|
reason = 'missing dependency, "AArch64crypto"'
|
|
subdir_done()
|
|
else
|
|
ext_deps += lib
|
|
includes += include_directories(inc_dir)
|
|
endif
|
|
|
|
deps += ['bus_vdev']
|
|
sources = files('rte_armv8_pmd.c', 'rte_armv8_pmd_ops.c')
|