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( 11 'base/fman/fman.c', 12 'base/fman/fman_hw.c', 13 'base/fman/netcfg_layer.c', 14 'base/qbman/bman.c', 15 'base/qbman/bman_driver.c', 16 'base/qbman/dpaa_alloc.c', 17 'base/qbman/dpaa_sys.c', 18 'base/qbman/process.c', 19 'base/qbman/qman.c', 20 'base/qbman/qman_driver.c', 21 'dpaa_bus.c', 22) 23 24if cc.has_argument('-Wno-cast-qual') 25 cflags += '-Wno-cast-qual' 26endif 27if cc.has_argument('-Wno-pointer-arith') 28 cflags += '-Wno-pointer-arith' 29endif 30 31includes += include_directories('include', 'base/qbman') 32