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>
29 lines
652 B
Meson
29 lines
652 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2019 Intel Corporation
|
|
|
|
#
|
|
# Add the experimenatal APIs called from this PMD
|
|
# rte_eth_switch_domain_alloc()
|
|
# rte_eth_dev_create()
|
|
# rte_eth_dev_destroy()
|
|
# rte_eth_switch_domain_free()
|
|
#
|
|
|
|
dep = dependency('libfdt', required: false)
|
|
if not dep.found()
|
|
dep = cc.find_library('libfdt', required: false)
|
|
endif
|
|
if not dep.found()
|
|
build = false
|
|
reason = 'missing dependency, "libfdt"'
|
|
subdir_done()
|
|
endif
|
|
|
|
includes += include_directories('../../raw/ifpga')
|
|
|
|
sources += files('ipn3ke_ethdev.c',
|
|
'ipn3ke_representor.c',
|
|
'ipn3ke_tm.c',
|
|
'ipn3ke_flow.c')
|
|
deps += ['bus_ifpga', 'ethdev', 'sched']
|