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/hns3: fix delay for waiting to stop Rx/Tx
[dpdk.git]
/
drivers
/
net
/
thunderx
/
meson.build
diff --git
a/drivers/net/thunderx/meson.build
b/drivers/net/thunderx/meson.build
index
69819a9
..
4bbcea7
100644
(file)
--- a/
drivers/net/thunderx/meson.build
+++ b/
drivers/net/thunderx/meson.build
@@
-1,20
+1,27
@@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Cavium, Inc
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Cavium, Inc
+if is_windows
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
+endif
+
subdir('base')
objs = [base_objs]
subdir('base')
objs = [base_objs]
-sources = files('nicvf_rxtx.c',
- 'nicvf_ethdev.c',
- 'nicvf_svf.c'
+sources = files(
+ 'nicvf_ethdev.c',
+ 'nicvf_rxtx.c',
+ 'nicvf_svf.c',
)
if cc.has_argument('-fno-prefetch-loop-arrays')
)
if cc.has_argument('-fno-prefetch-loop-arrays')
-
cflags += '-fno-prefetch-loop-arrays'
+ cflags += '-fno-prefetch-loop-arrays'
endif
if cc.has_argument('-Wno-maybe-uninitialized')
endif
if cc.has_argument('-Wno-maybe-uninitialized')
-
cflags += '-Wno-maybe-uninitialized'
+ cflags += '-Wno-maybe-uninitialized'
endif
includes += include_directories('base')
endif
includes += include_directories('base')