16015fd65a
Samples apps that depend on the power library should not build if the power library is not present. So now the following apps will check to see if it's built, else skip building. * l3fwd-pwer * vm_power_manager * guest_cli Fixes:e013078857
("examples/power: support meson/ninja build") Fixes:89f0711f9d
("examples: build some samples with meson") Cc: stable@dpdk.org Signed-off-by: David Hunt <david.hunt@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
19 lines
478 B
Meson
19 lines
478 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 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'
|
|
|
|
if not dpdk_conf.has('RTE_LIBRTE_POWER')
|
|
build = false
|
|
subdir_done()
|
|
endif
|
|
|
|
allow_experimental_apis = true
|
|
deps += ['power', 'timer', 'lpm', 'hash', 'metrics']
|
|
sources = files(
|
|
'main.c', 'perf_core.c'
|
|
)
|