xref: /dpdk/drivers/dma/hisilicon/meson.build (revision c201f3774e2e9127a0560607a06bf50f41cdc884)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2021 HiSilicon Limited
3
4if not is_linux
5    build = false
6    reason = 'only supported on Linux'
7    subdir_done()
8endif
9
10if (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 aarch64'
13    subdir_done()
14endif
15
16deps += ['bus_pci', 'dmadev']
17sources = files(
18        'hisi_dmadev.c',
19)
20
21require_iova_in_mbuf = false
22