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: init boost TCAM table for parser
[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
6c548a9
..
a4ff05c
100644
(file)
--- a/
drivers/net/ice/base/meson.build
+++ b/
drivers/net/ice/base/meson.build
@@
-14,6
+14,12
@@
sources = [
'ice_acl.c',
'ice_acl_ctrl.c',
'ice_vlan_mode.c',
'ice_acl.c',
'ice_acl_ctrl.c',
'ice_vlan_mode.c',
+ 'ice_ptp_hw.c',
+ 'ice_parser.c',
+ 'ice_imem.c',
+ 'ice_metainit.c',
+ 'ice_pg_cam.c',
+ 'ice_bst_tcam.c',
]
error_cflags = [
]
error_cflags = [
@@
-23,6
+29,11
@@
error_cflags = [
'-Wno-unused-parameter',
]
'-Wno-unused-parameter',
]
+# Bugzilla ID: 678
+if (toolchain == 'gcc' and cc.version().version_compare('>=11.0.0'))
+ error_cflags += ['-Wno-array-bounds']
+endif
+
if is_windows and cc.get_id() != 'clang'
cflags += ['-fno-asynchronous-unwind-tables']
endif
if is_windows and cc.get_id() != 'clang'
cflags += ['-fno-asynchronous-unwind-tables']
endif
@@
-38,4
+49,4
@@
endforeach
base_lib = static_library('ice_base', sources,
dependencies: static_rte_eal,
c_args: c_args)
base_lib = static_library('ice_base', sources,
dependencies: static_rte_eal,
c_args: c_args)
-base_objs = base_lib.extract_all_objects()
+base_objs = base_lib.extract_all_objects(
recursive: true
)