]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd-power/meson.build
examples/l3fwd-power: support traffic pattern aware control
[dpdk.git] / examples / l3fwd-power / meson.build
index cb50c7ab43ee614a23fb1c6c969d14a2b2872b54..a3c5c2f14fef1eab4f494079ee8a8ca5f300e6c1 100644 (file)
@@ -1,13 +1,16 @@
 # 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 host_machine.system() != 'linux'
+       build = false
+endif
 allow_experimental_apis = true
+deps += ['power', 'timer', 'lpm', 'hash']
 sources = files(
-       'main.c'
+       'main.c', 'perf_core.c'
 )