1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright 2018 NXP 3 4if not is_linux 5 build = false 6 reason = 'only supported on Linux' 7endif 8 9deps += ['common_dpaax', 'eventdev'] 10sources = files('base/fman/fman.c', 11 'base/fman/fman_hw.c', 12 'base/fman/netcfg_layer.c', 13 'base/qbman/bman.c', 14 'base/qbman/bman_driver.c', 15 'base/qbman/dpaa_alloc.c', 16 'base/qbman/dpaa_sys.c', 17 'base/qbman/process.c', 18 'base/qbman/qman.c', 19 'base/qbman/qman_driver.c', 20 'dpaa_bus.c') 21 22if cc.has_argument('-Wno-cast-qual') 23 cflags += '-Wno-cast-qual' 24endif 25if cc.has_argument('-Wno-pointer-arith') 26 cflags += '-Wno-pointer-arith' 27endif 28 29includes += include_directories('include', 'base/qbman') 30