]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ice/base/meson.build
net/ice/base: clarify comments on checking PFC mode
[dpdk.git] / drivers / net / ice / base / meson.build
index 6c548a99775c453a0fea46f0d65d2a12b8cdfdcf..be9713dfa1fea79946e6f470cc0dbb84f4511012 100644 (file)
@@ -14,6 +14,7 @@ sources = [
         'ice_acl.c',
         'ice_acl_ctrl.c',
         'ice_vlan_mode.c',
+        'ice_ptp_hw.c',
 ]
 
 error_cflags = [
@@ -23,6 +24,11 @@ error_cflags = [
         '-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
@@ -38,4 +44,4 @@ endforeach
 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)