diff options
Diffstat (limited to 'src/seastar/dpdk/drivers/net/ice/base/meson.build')
-rw-r--r-- | src/seastar/dpdk/drivers/net/ice/base/meson.build | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/seastar/dpdk/drivers/net/ice/base/meson.build b/src/seastar/dpdk/drivers/net/ice/base/meson.build new file mode 100644 index 000000000..624202567 --- /dev/null +++ b/src/seastar/dpdk/drivers/net/ice/base/meson.build @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Intel Corporation + +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', +] + +error_cflags = ['-Wno-unused-value', + '-Wno-unused-but-set-variable', + '-Wno-unused-variable', +] +c_args = cflags + +foreach flag: error_cflags + if cc.has_argument(flag) + c_args += flag + endif +endforeach + +base_lib = static_library('ice_base', sources, + dependencies: static_rte_eal, + c_args: c_args) +base_objs = base_lib.extract_all_objects() |