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
net/ionic: remove unused field from queue structure
[dpdk.git]
/
drivers
/
net
/
pfe
/
meson.build
diff --git
a/drivers/net/pfe/meson.build
b/drivers/net/pfe/meson.build
index
fa5dfad
..
da0787c
100644
(file)
--- a/
drivers/net/pfe/meson.build
+++ b/
drivers/net/pfe/meson.build
@@
-1,9
+1,19
@@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2019 NXP
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2019 NXP
-if
host_machine.system() != 'linux'
+if
not is_linux
build = false
build = false
+ reason = 'only supported on Linux'
endif
endif
-deps += ['
bus_dpaa
']
+deps += ['
common_dpaax
']
-sources = files('pfe_ethdev.c')
+sources = files('pfe_ethdev.c',
+ 'pfe_hal.c',
+ 'pfe_hif_lib.c',
+ 'pfe_hif.c')
+
+if cc.has_argument('-Wno-pointer-arith')
+ cflags += '-Wno-pointer-arith'
+endif
+
+includes += include_directories('base')