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