X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fl3fwd-power%2Fmeson.build;h=4cd694710d2fde967f2fff14e359e77a0610b1cd;hb=c5a4428a783d173721ad0ed5486d058976737af8;hp=cb50c7ab43ee614a23fb1c6c969d14a2b2872b54;hpb=8728ccf37615904cf23fb8763895b05c9a3c6b0c;p=dpdk.git diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build index cb50c7ab43..4cd694710d 100644 --- a/examples/l3fwd-power/meson.build +++ b/examples/l3fwd-power/meson.build @@ -1,13 +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' -deps += ['power', 'timer', 'lpm', 'hash'] +if not dpdk_conf.has('RTE_LIBRTE_POWER') + build = false + subdir_done() +endif + allow_experimental_apis = true +deps += ['power', 'timer', 'lpm', 'hash', 'metrics', 'telemetry'] sources = files( - 'main.c' + 'main.c', 'perf_core.c' )