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
/
mvneta
/
meson.build
diff --git
a/drivers/net/mvneta/meson.build
b/drivers/net/mvneta/meson.build
index
c887ddc
..
f4452b3
100644
(file)
--- a/
drivers/net/mvneta/meson.build
+++ b/
drivers/net/mvneta/meson.build
@@
-3,18
+3,24
@@
# Copyright(c) 2018 Semihalf.
# All rights reserved.
# Copyright(c) 2018 Semihalf.
# All rights reserved.
-dep = dependency('libmusdk', required: false)
+if is_windows
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
+endif
+
+dep = dependency('libmusdk', required: false, method: 'pkg-config')
if not dep.found()
if not dep.found()
-
build = false
-
reason = 'missing dependency, "libmusdk"'
-
subdir_done()
+ build = false
+ reason = 'missing dependency, "libmusdk"'
+ subdir_done()
endif
ext_deps += dep
sources = files(
endif
ext_deps += dep
sources = files(
- 'mvneta_ethdev.c',
- 'mvneta_rxtx.c'
+
'mvneta_ethdev.c',
+ 'mvneta_rxtx.c',
)
deps += ['cfgfile', 'common_mvep']
)
deps += ['cfgfile', 'common_mvep']