X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl3fwd-power%2Fmeson.build;h=eb8aef306a5eccb8b4be026b72ae63952ca809aa;hb=18da3c854bb8105818dc23c36eecf3465596052a;hp=f633a0f175c96cda8d48f049af886f8c9fa5a75e;hpb=fa47405cc119846574a3b290032f5ac2ab66757f;p=dpdk.git diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build index f633a0f175..eb8aef306a 100644 --- a/examples/l3fwd-power/meson.build +++ b/examples/l3fwd-power/meson.build @@ -1,15 +1,18 @@ # SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2017 Intel Corporation +# 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 host_machine.system() != 'linux' - build = false +if not dpdk_conf.has('RTE_LIB_POWER') + build = false + subdir_done() endif -deps += ['power', 'timer', 'lpm', 'hash'] + +allow_experimental_apis = true +deps += ['power', 'timer', 'lpm', 'hash', 'metrics', 'telemetry'] sources = files( - 'main.c' + 'main.c', 'perf_core.c' )