net/hns3: add build and doc infrastructure
[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(
17         'hns3_ethdev.c',
18         )
19 deps += ['hash']