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
vdpa/ifc: set notify and vring relay thread names
[dpdk.git]
/
examples
/
ntb
/
meson.build
diff --git
a/examples/ntb/meson.build
b/examples/ntb/meson.build
index
9a6288f
..
37899df
100644
(file)
--- a/
examples/ntb/meson.build
+++ b/
examples/ntb/meson.build
@@
-6,11
+6,17
@@
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
-if host_machine.system() != 'linux'
- build = false
+allow_experimental_apis = true
+if not is_linux
+ build = false
+ subdir_done()
endif
endif
+
deps += 'rawdev'
cflags += ['-D_FILE_OFFSET_BITS=64']
sources = files(
deps += 'rawdev'
cflags += ['-D_FILE_OFFSET_BITS=64']
sources = files(
- 'ntb_fwd.c'
+ 'ntb_fwd.c',
)
)
+if dpdk_conf.has('RTE_RAW_NTB')
+ deps += 'raw_ntb'
+endif