mirror of https://github.com/F-Stack/f-stack.git
19 lines
465 B
Meson
19 lines
465 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2021 NXP
|
|
|
|
if not is_linux
|
|
build = false
|
|
reason = 'only supported on linux'
|
|
endif
|
|
|
|
build = dpdk_conf.has('RTE_MEMPOOL_DPAA2')
|
|
reason = 'missing dependency, DPDK DPAA2 mempool driver'
|
|
deps += ['dmadev', 'bus_fslmc', 'mempool_dpaa2', 'ring', 'kvargs']
|
|
sources = files('dpaa2_qdma.c')
|
|
|
|
if cc.has_argument('-Wno-pointer-arith')
|
|
cflags += '-Wno-pointer-arith'
|
|
endif
|
|
|
|
headers = files('rte_pmd_dpaa2_qdma.h')
|