9d03815f56
The power library is not built on non-Linux systems, so skip the distributor sample if it's not found, as it's a mandatory dependency. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com> Acked-by: David Hunt <david.hunt@intel.com> Acked-by: Luca Boccassi <bluca@debian.org>
16 lines
391 B
Meson
16 lines
391 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
# meson file, for building this example as part of a main DPDK build.
|
|
#
|
|
# To build this example as a standalone application with an already-installed
|
|
# DPDK instance, use 'make'
|
|
|
|
# require the power library
|
|
build = dpdk_conf.has('RTE_LIBRTE_POWER')
|
|
|
|
deps += ['distributor', 'power']
|
|
sources = files(
|
|
'main.c'
|
|
)
|