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/cnxk: enable VLAN processing in vector Tx
[dpdk.git]
/
drivers
/
net
/
fm10k
/
base
/
meson.build
diff --git
a/drivers/net/fm10k/base/meson.build
b/drivers/net/fm10k/base/meson.build
index
a8fc5fa
..
ca98d34
100644
(file)
--- a/
drivers/net/fm10k/base/meson.build
+++ b/
drivers/net/fm10k/base/meson.build
@@
-2,26
+2,27
@@
# Copyright(c) 2017 Intel Corporation
sources = [
# Copyright(c) 2017 Intel Corporation
sources = [
- 'fm10k_api.c',
- 'fm10k_common.c',
- 'fm10k_mbx.c',
- 'fm10k_pf.c',
- 'fm10k_tlv.c',
- 'fm10k_vf.c'
+
'fm10k_api.c',
+
'fm10k_common.c',
+
'fm10k_mbx.c',
+
'fm10k_pf.c',
+
'fm10k_tlv.c',
+ 'fm10k_vf.c',
]
error_cflags = ['-Wno-unused-parameter', '-Wno-unused-value',
]
error_cflags = ['-Wno-unused-parameter', '-Wno-unused-value',
- '-Wno-strict-aliasing', '-Wno-format-extra-args',
- '-Wno-unused-variable', '-Wno-missing-field-initializers'
+ '-Wno-strict-aliasing', '-Wno-format-extra-args',
+ '-Wno-unused-variable',
+ '-Wno-implicit-fallthrough'
]
c_args = cflags
foreach flag: error_cflags
]
c_args = cflags
foreach flag: error_cflags
-
if cc.has_argument(flag)
-
c_args += flag
-
endif
+ if cc.has_argument(flag)
+ c_args += flag
+ endif
endforeach
base_lib = static_library('fm10k_base', sources,
endforeach
base_lib = static_library('fm10k_base', sources,
-
dependencies: static_rte_eal,
-
c_args: c_args)
+ dependencies: static_rte_eal,
+ c_args: c_args)
base_objs = base_lib.extract_all_objects()
base_objs = base_lib.extract_all_objects()