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/ice/base: fix inner L4 offset for GTPU dummy packet
[dpdk.git]
/
drivers
/
net
/
ice
/
base
/
meson.build
diff --git
a/drivers/net/ice/base/meson.build
b/drivers/net/ice/base/meson.build
index
6242025
..
6c548a9
100644
(file)
--- a/
drivers/net/ice/base/meson.build
+++ b/
drivers/net/ice/base/meson.build
@@
-1,31
+1,41
@@
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Intel Corporation
+# Copyright(c) 2018
-2021
Intel Corporation
sources = [
sources = [
- 'ice_controlq.c',
- 'ice_common.c',
- 'ice_sched.c',
- 'ice_switch.c',
- 'ice_nvm.c',
- 'ice_flex_pipe.c',
- 'ice_flow.c',
- 'ice_dcb.c',
- 'ice_fdir.c',
+ 'ice_controlq.c',
+ 'ice_common.c',
+ 'ice_sched.c',
+ 'ice_switch.c',
+ 'ice_nvm.c',
+ 'ice_flex_pipe.c',
+ 'ice_flow.c',
+ 'ice_dcb.c',
+ 'ice_fdir.c',
+ 'ice_acl.c',
+ 'ice_acl_ctrl.c',
+ 'ice_vlan_mode.c',
]
]
-error_cflags = ['-Wno-unused-value',
- '-Wno-unused-but-set-variable',
- '-Wno-unused-variable',
+error_cflags = [
+ '-Wno-unused-value',
+ '-Wno-unused-but-set-variable',
+ '-Wno-unused-variable',
+ '-Wno-unused-parameter',
]
]
+
+if is_windows and cc.get_id() != 'clang'
+ cflags += ['-fno-asynchronous-unwind-tables']
+endif
+
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('ice_base', sources,
endforeach
base_lib = static_library('ice_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()