net/hns3: support mailbox
[dpdk.git] / drivers / net / hns3 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018-2019 Hisilicon Limited
3
4 if not is_linux
5         build = false
6         reason = 'only supported on Linux'
7         subdir_done()
8 endif
9
10 if arch_subdir != 'x86' and arch_subdir != 'arm' or not dpdk_conf.get('RTE_ARCH_64')
11         build = false
12         reason = 'only supported on x86_64 and arm64'
13         subdir_done()
14 endif
15
16 sources = files('hns3_cmd.c',
17         'hns3_dcb.c',
18         'hns3_ethdev.c',
19         'hns3_fdir.c',
20         'hns3_flow.c',
21         'hns3_mbx.c',
22         'hns3_rss.c',
23         )
24 deps += ['hash']