X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl3fwd-power%2Fmeson.build;h=d5a3d4bb2fb99301313c8fabf25d4cc94ba0c167;hb=b86ba6aa12a529e08d96bf8d7644725c800af6ca;hp=cb50c7ab43ee614a23fb1c6c969d14a2b2872b54;hpb=8728ccf37615904cf23fb8763895b05c9a3c6b0c;p=dpdk.git diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build index cb50c7ab43..d5a3d4bb2f 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'] sources = files( - 'main.c' + 'main.c', 'perf_core.c' )