[PATCH 04/10] net/intel: use common base code build handling
David Marchand
david.marchand at redhat.com
Wed Apr 2 15:05:07 CEST 2025
On Mon, Mar 31, 2025 at 6:10 PM Bruce Richardson
<bruce.richardson at intel.com> wrote:
> diff --git a/drivers/net/intel/ice/base/meson.build b/drivers/net/intel/ice/base/meson.build
> index e7ba9c34bc..f453005a1d 100644
> --- a/drivers/net/intel/ice/base/meson.build
> +++ b/drivers/net/intel/ice/base/meson.build
> @@ -1,7 +1,7 @@
> # SPDX-License-Identifier: BSD-3-Clause
> # Copyright(c) 2018-2021 Intel Corporation
>
> -sources = [
> +base_sources = files(
> 'ice_controlq.c',
> 'ice_common.c',
> 'ice_sched.c',
> @@ -29,7 +29,7 @@ sources = [
> 'ice_ddp.c',
> 'ice_fwlog.c',
> 'ice_vf_mbx.c',
> -]
> +)
>
> if is_ms_compiler
> error_cflags = [
> @@ -41,22 +41,14 @@ else
> '-Wno-unused-but-set-variable',
> '-Wno-unused-parameter',
> ]
> + # Bugzilla ID: 678
> + #if (toolchain == 'gcc' and cc.version().version_compare('>=11.0.0'))
> + # error_cflags += ['-Wno-array-bounds']
> + #endif
Why keep it commented?
> endif
>
> -# Bugzilla ID: 678
> -if (toolchain == 'gcc' and cc.version().version_compare('>=11.0.0'))
> - error_cflags += ['-Wno-array-bounds']
> -endif
> -
> -c_args = cflags
> -
--
David Marchand
More information about the dev
mailing list