b67dde5b19
Meson build currently tracks the dependencies between libraries, which can often make things easier, but has the side-effect of slowing down the initial meson run if too many duplicated dependencies are provided. Therefore, we remove dependencies from the dpaa items where other dependencies already depend on those. This provides a noticable speed-up in meson configuration runs when lots of sample apps are included in the build. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Tested-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
30 lines
653 B
Meson
30 lines
653 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2018 NXP
|
|
|
|
if host_machine.system() != 'linux'
|
|
build = false
|
|
endif
|
|
|
|
deps += ['eventdev']
|
|
sources = files('base/fman/fman.c',
|
|
'base/fman/fman_hw.c',
|
|
'base/fman/netcfg_layer.c',
|
|
'base/fman/of.c',
|
|
'base/qbman/bman.c',
|
|
'base/qbman/bman_driver.c',
|
|
'base/qbman/dpaa_alloc.c',
|
|
'base/qbman/dpaa_sys.c',
|
|
'base/qbman/process.c',
|
|
'base/qbman/qman.c',
|
|
'base/qbman/qman_driver.c',
|
|
'dpaa_bus.c')
|
|
|
|
allow_experimental_apis = true
|
|
|
|
if cc.has_argument('-Wno-cast-qual')
|
|
cflags += '-Wno-cast-qual'
|
|
endif
|
|
|
|
includes += include_directories('include', 'base/qbman')
|
|
cflags += ['-D_GNU_SOURCE']
|