X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl3fwd-power%2Fmeson.build;h=0f69bb782c5e2028759c1235ed640813ae05ed1d;hb=cf412ff7e978cacbb4228fb74248f16563c74861;hp=69251242b1940be942a2b7ebcd970f4cccbd88ff;hpb=4f49c9f5be981b85ea8b29928c96ff4f2e02e261;p=dpdk.git diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build index 69251242b1..0f69bb782c 100644 --- a/examples/l3fwd-power/meson.build +++ b/examples/l3fwd-power/meson.build @@ -1,16 +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' -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', )