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/txgbe: support VF multicast MAC filter
[dpdk.git]
/
drivers
/
net
/
octeontx2
/
meson.build
diff --git
a/drivers/net/octeontx2/meson.build
b/drivers/net/octeontx2/meson.build
index
599ade6
..
e2c139a
100644
(file)
--- a/
drivers/net/octeontx2/meson.build
+++ b/
drivers/net/octeontx2/meson.build
@@
-2,6
+2,18
@@
# Copyright(C) 2019 Marvell International Ltd.
#
# Copyright(C) 2019 Marvell International Ltd.
#
+if is_windows
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
+endif
+
+if not dpdk_conf.get('RTE_ARCH_64')
+ build = false
+ reason = 'only supported on 64-bit'
+ subdir_done()
+endif
+
sources = files('otx2_rx.c',
'otx2_tx.c',
'otx2_tm.c',
sources = files('otx2_rx.c',
'otx2_tx.c',
'otx2_tm.c',
@@
-29,11
+41,6
@@
deps += ['bus_pci', 'cryptodev', 'eventdev', 'security']
deps += ['common_octeontx2', 'mempool_octeontx2']
extra_flags = ['-flax-vector-conversions']
deps += ['common_octeontx2', 'mempool_octeontx2']
extra_flags = ['-flax-vector-conversions']
-# This integrated controller runs only on a arm64 machine, remove 32bit warnings
-if not dpdk_conf.get('RTE_ARCH_64')
- extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
-endif
-
foreach flag: extra_flags
if cc.has_argument(flag)
cflags += flag
foreach flag: extra_flags
if cc.has_argument(flag)
cflags += flag