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/mlx5: fix LAG representor probing on PF1 PCI
[dpdk.git]
/
drivers
/
net
/
mvpp2
/
meson.build
diff --git
a/drivers/net/mvpp2/meson.build
b/drivers/net/mvpp2/meson.build
index
3015a55
..
c7da8cd
100644
(file)
--- a/
drivers/net/mvpp2/meson.build
+++ b/
drivers/net/mvpp2/meson.build
@@
-3,21
+3,27
@@
# 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(
- 'mrvl_ethdev.c',
- 'mrvl_flow.c',
- 'mrvl_qos.c',
- 'mrvl_mtr.c',
- 'mrvl_tm.c'
+
'mrvl_ethdev.c',
+
'mrvl_flow.c',
+
'mrvl_qos.c',
+
'mrvl_mtr.c',
+ 'mrvl_tm.c',
)
deps += ['cfgfile', 'common_mvep']
)
deps += ['cfgfile', 'common_mvep']