2b82563e85ce21c06a91b76a6487b2ec41ccf4e5
[dpdk.git] / drivers / dma / dpaa2 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2021 NXP
3
4 if not is_linux
5     build = false
6     reason = 'only supported on linux'
7 endif
8
9 build = dpdk_conf.has('RTE_MEMPOOL_DPAA2')
10 reason = 'missing dependency, DPDK DPAA2 mempool driver'
11 deps += ['dmadev', 'bus_fslmc', 'mempool_dpaa2', 'ring', 'kvargs']
12 sources = files('dpaa2_qdma.c')
13
14 if cc.has_argument('-Wno-pointer-arith')
15     cflags += '-Wno-pointer-arith'
16 endif