git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: disable experimental API check internally
[dpdk.git]
/
drivers
/
net
/
dpaa2
/
meson.build
diff --git
a/drivers/net/dpaa2/meson.build
b/drivers/net/dpaa2/meson.build
index
c7c2df4
..
6dd0eb2
100644
(file)
--- a/
drivers/net/dpaa2/meson.build
+++ b/
drivers/net/dpaa2/meson.build
@@
-1,23
+1,27
@@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2018 NXP
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2018 NXP
-version = 2
-
-if host_machine.system() != 'linux'
- build = false
+if not is_linux
+ build = false
+ reason = 'only supported on linux'
endif
deps += ['mempool_dpaa2']
sources = files('base/dpaa2_hw_dpni.c',
endif
deps += ['mempool_dpaa2']
sources = files('base/dpaa2_hw_dpni.c',
+ 'dpaa2_mux.c',
'dpaa2_ethdev.c',
'dpaa2_ethdev.c',
+ 'dpaa2_flow.c',
'dpaa2_rxtx.c',
'dpaa2_rxtx.c',
+ 'dpaa2_sparser.c',
'mc/dpkg.c',
'mc/dpdmux.c',
'mc/dpni.c')
'mc/dpkg.c',
'mc/dpdmux.c',
'mc/dpni.c')
-includes += include_directories('base', 'mc')
+if dpdk_conf.has('RTE_LIBRTE_IEEE1588')
+ sources += files('mc/dprtc.c')
+ sources += files('dpaa2_ptp.c')
+endif
-# depends on fslmc bus which uses experimental API
-allow_experimental_apis = true
+includes += include_directories('base', 'mc')
install_headers('rte_pmd_dpaa2.h')
install_headers('rte_pmd_dpaa2.h')