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 promiscuous and allmulticast
[dpdk.git]
/
drivers
/
net
/
nfb
/
meson.build
diff --git
a/drivers/net/nfb/meson.build
b/drivers/net/nfb/meson.build
index
4502c3f
..
f4a89b8
100644
(file)
--- a/
drivers/net/nfb/meson.build
+++ b/
drivers/net/nfb/meson.build
@@
-3,14
+3,15
@@
# Copyright(c) 2019 Netcope Technologies, a.s. <info@netcope.com>
# All rights reserved.
# Copyright(c) 2019 Netcope Technologies, a.s. <info@netcope.com>
# All rights reserved.
-dep = cc.find_library('nfb', required: false)
-reason = 'missing dependency, "libnfb"'
-
-build = dep.found() and cc.has_header('nfb/nfb.h', dependencies: dep)
-
-nc = dependency('netcope-common', required: false)
+if is_windows
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
+endif
+dep = dependency('netcope-common', required: false, method: 'pkg-config')
+reason = 'missing dependency, "libnfb"'
+build = dep.found()
ext_deps += dep
ext_deps += dep
-ext_deps += nc
sources = files('nfb_rx.c', 'nfb_tx.c', 'nfb_stats.c', 'nfb_ethdev.c', 'nfb_rxmode.c')
sources = files('nfb_rx.c', 'nfb_tx.c', 'nfb_stats.c', 'nfb_ethdev.c', 'nfb_rxmode.c')