6490d4ed8f4dfb032cb47a4427a0e4ce94bbba51
[dpdk.git] / drivers / net / txgbe / base / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2015-2020
3
4 sources = [
5         'txgbe_eeprom.c',
6         'txgbe_hw.c',
7         'txgbe_mbx.c',
8         'txgbe_mng.c',
9         'txgbe_phy.c',
10 ]
11
12 error_cflags = []
13
14 c_args = cflags
15 foreach flag: error_cflags
16         if cc.has_argument(flag)
17                 c_args += flag
18         endif
19 endforeach
20
21 base_lib = static_library('txgbe_base', sources,
22         dependencies: static_rte_eal,
23         c_args: c_args)
24 base_objs = base_lib.extract_all_objects()