X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl3fwd-power%2Fmeson.build;h=0f69bb782c5e2028759c1235ed640813ae05ed1d;hb=cf59165dcbadfa2a3401106a263fc8e88143e736;hp=cb50c7ab43ee614a23fb1c6c969d14a2b2872b54;hpb=8728ccf37615904cf23fb8763895b05c9a3c6b0c;p=dpdk.git diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build index cb50c7ab43..0f69bb782c 100644 --- a/examples/l3fwd-power/meson.build +++ b/examples/l3fwd-power/meson.build @@ -1,13 +1,19 @@ # 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_LIB_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', )