X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fl3fwd-power%2Fmeson.build;h=d5a3d4bb2fb99301313c8fabf25d4cc94ba0c167;hb=db91b52bf767785a77255623829e7b6c66fa67b5;hp=61e8daa96fd59146f2dc7eb438a80b1136583c81;hpb=6c9457c27954f16d99f3798711eb253fbaf05fa3;p=dpdk.git diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build index 61e8daa96f..d5a3d4bb2f 100644 --- a/examples/l3fwd-power/meson.build +++ b/examples/l3fwd-power/meson.build @@ -1,12 +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' )